| | typedef struct
{
Uint8 mode ; /* Mode */
Uint8 channel ; /* PCM Channel Number */
Uint8 level ; /* 0 ~ 127 */
Sint8 pan ; /* -128 ~ +127 */
Uint16 pitch ;
Uint8 eflevelR ; /* Effect level for Right(mono) 0 ~ 7 */
Uint8 efselectR ; /* Effect select for Right(mono) 0 ~ 15 */
Uint8 eflevelL ; /* Effect level for Left 0 ~ 7 */
Uint8 efselectL ; /* Effect select for Left 0 ~ 15 */
} PCM ;
static PCM __jo_internal_pcm[JO_SOUND_MAX_CHANNEL] =
{
{(_Stereo | _PCM16Bit), 0, 127, 0, 0x0, 0, 0, 0, 0},
{(_Stereo | _PCM16Bit), 2, 127, 0, 0x0, 0, 0, 0, 0},
{(_Stereo | _PCM16Bit), 4, 127, 0, 0x0, 0, 0, 0, 0},
{(_Stereo | _PCM16Bit), 6, 127, 0, 0x0, 0, 0, 0, 0},
{(_Stereo | _PCM16Bit), 8, 127, 0, 0x0, 0, 0, 0, 0},
{(_Stereo | _PCM16Bit), 10, 127, 0, 0x0, 0, 0, 0, 0},
}; |