Home > General > Audio effects - mute one of channels

Audio effects - mute one of channels

Mute right channel        
MediaPlayer1.Audio_Effects_Enabled = true;
MediaPlayer1.Audio_Effects_Clear(-1);
MediaPlayer1.Audio_Effects_Add(-1, VFAudioEffectType.Amplify, true);
MediaPlayer1.Audio_Effects_SetCurrentChannel(-1, 0, 0);  
MediaPlayer1.Audio_Effects_Amplify(-1, 0, 0, true);
Mute left channel         
MediaPlayer1.Audio_Effects_Enabled = true;
MediaPlayer1.Audio_Effects_Clear(-1);
MediaPlayer1.Audio_Effects_Add(-1, VFAudioEffectType.Amplify, true);
MediaPlayer1.Audio_Effects_SetCurrentChannel(-1, 0, 1);  
MediaPlayer1.Audio_Effects_Amplify(-1, 0, 0, true);
Mute channel 3 in multichannel audio         
MediaPlayer1.Audio_Effects_Enabled = true;
MediaPlayer1.Audio_Effects_Clear(-1);
MediaPlayer1.Audio_Effects_Add(-1, VFAudioEffectType.Amplify, true);
MediaPlayer1.Audio_Effects_SetCurrentChannel(-1, 0, 2);  
MediaPlayer1.Audio_Effects_Amplify(-1, 0, 0, true);