mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
audio: add comments
This commit is contained in:
parent
46b0563ddd
commit
017ad69e93
@ -274,7 +274,7 @@ type Player struct {
|
||||
|
||||
// NewPlayer creates a new player with the given stream.
|
||||
//
|
||||
// src's format must be linear PCM (16bits little endian, 2 channel stereo)
|
||||
// src's format must be linear PCM (signed 16bits little endian, 2 channel stereo)
|
||||
// without a header (e.g. RIFF header).
|
||||
// The sample rate must be same as that of the audio context.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user