Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I want to be able to play two different sounds on the left and right channels of headset. How can I achieve this using irrklang? |
||||
|
Use setPan() for the sound, set it to -1 for left and 1 for right. |
||||
|
This statement does not work: if( currentlyPlayingSound != null ) currentlyPlayingSound.Pan = ( BothChannels.Checked ? 0.0f : ( RightChannel.Checked ? 1.0f : -1.0f ) ); What is wrong? ![]() |
|