| DemoGL::Reference::Functions::DEMOGL_SoundSystemSetChannelAttributes |
int DEMOGL_SoundSystemSetChannelAttributes( const int iChannelCodeID, const int iVolume, const int iPan, const int iFrequency, const int iWhat );
| iWhat value | Description |
| DGL_SS_SA_FREQUENCY | Set frequency with the value in iFrequency |
| DGL_SS_SA_VOLUME | Set volume with the value in iVolume |
| DGL_SS_SA_PAN | Set panning with the value in iPan |
// Set frequency of channel with id iChannelCodeID to frequency 44100hz and pan // to the total right. iResult = DEMOGL_SoundSystemSetChannelAttributes( iChannelCodeID, -1, 100, 44100, DGL_SS_SA_FREQUENCY | DGL_SS_SA_PAN);
Last changed on 18-jan-2001
©1999-2001 Solutions Design