With following code i can play a sound. But i want to specify the channel.I have try channel 1,2,3,45,44…but i can not play a sound in a specified channel, why?With FSOUND_FREE it works
FSOUND_SetBufferSize(100); /* This is nescessary to get FX to work on output buffer /
FSOUND_Init(44100, 16, FSOUND_INIT_ENABLESYSTEMCHANNELFX);
/ PCM,44,100 Hz, 16 Bit, Stereo */
samp1 = FSOUND_Sample_Load(FSOUND_FREE, “d:/jukebox/sounds/” + listView->currentItem()->text( 1) + “/” + ( listView->currentItem() )->text( 0 ) + “”, FSOUND_HW2D, 0, 0);
- raphaelf asked 11 years ago
thx for the answer. I dont have understand exactly what i should do to can play a ong in a specified channel. How should i get the channels with this function:?
signed char F_API FSOUND_GetNumHWChannels(
I want to play a song under windows. I have programmed a mp3 player(software).Why could i not play a song on channel 1?
Please login first to submit.