AudioChannelRenderMode
property AudioChannelRenderMode: TAudioChannelRenderMode read GetAudioChannelRenderMode write SetAudioChannelRenderMode default DEF_AudioChannelRenderMode;
__property TAudioChannelRenderMode AudioChannelRenderMode = {read=GetAudioChannelRenderMode, write=SetAudioChannelRenderMode, default=0};
public TAudioChannelRenderMode AudioChannelRenderMode { get; set; }
Public Property AudioChannelRenderMode As TAudioChannelRenderMode
TAudioChannelRenderMode GetAudioChannelRenderMode ();
void SetAudioChannelRenderMode (TAudioChannelRenderMode Value);
Specifies how the right and left audio channels of the current audio stream are rendered. This property must be set before invoking OpenPlayer, StartPreview, StartRecording, etc. to be taken into account. Possible values:
-
acrm_Normal (default): normal rendering of the left and right audio channels
-
acrm_RenderLeft: the left channel is converted to "mono" and rendered on both sides (the right channel is discarded)
-
acrm_RenderRight: the right channel is converted to "mono" and rendered on both sides (the left channel is discarded)
-
acrm_MuteLeft: the left channel is muted
-
acrm_MuteRight: the right channel is muted
-
acrm_Mute_All: both channels are muted
-
acrm_MixLeftAndRight: the left and right channels are mixed
-
acrm_PassThru: like acrm_Normal, but activates the AudioChannelRenderMode processing
Use acrm_PassThru to activate the AudioChannelRenderMode processing without modifying the audio samples immediately (e.g. to be able to mute the audio later with acrm_Mute_All): if the preview, recording or playback starts with AudioChannelRenderMode = acrm_Normal, the AudioChannelRenderMode feature is disabled.