About sound system

 Kirikiri's sound system can play Wave (PCM).
 Wave playback can be performed simultaneously, multiple streams can be played (playing long sounds while reading them little by little), and seamless loop playback using a sound loop information file (.sli file) that does not make you feel like a second stop (The sound loop information file is created with the loop tuner).

WaveSoundBuffer playable format

 WaveSoundBuffer can play standard uncompressed RIFF Wave format (extension is .wav, Windows standard format). The accepted formats are as follows.


 The formats playable by WaveSoundBuffer can be extended by plugins.

Handling 4ch and 6ch in WaveSoundBuffer

 WAVE_FORMAT_EXTENSIBLE has information on "Which channel is assigned to which speaker" in the data, but WAVE_FORMAT_PCM and WAVE_FORMAT_IEEE_FLOAT do not have this information. When Kirikiri handles 4ch or 6ch data with WAVE_FORMAT_PCM or WAVE_FORMAT_IEEE_FLOAT, it is interpreted as follows.

For 4ch
From the beginning of the channel, it is assumed that the data is for the front left, front right, rear left, and rear right speakers, respectively.
For 6ch
From the beginning of the channel, it is regarded as the data for the front left, front center, front right, back left, back right, and low frequency speakers, respectively.

The same rules apply when playing 4ch or 6ch sound with OggVorbis.