SoundComposer.ItemSoundFileDownmixToMonoSet method |
|
Remarks
Specifies if downmix will occur in order to store a stereo sound file into a mono channel of the stream. The current setting can be obtained through the SoundComposer.ItemSoundFileDownmixToMonoGet method.
For further details about sound composing see the the SoundComposer object and the How to compose a sound tutorial.
Syntax
[Visual Basic] control.SoundComposer.ItemSoundFileDownmixToMonoSet ( nUniqueId as Long, bDownMixToMono as enumBoolean ) as enumErrorCodes |
[C++] short control.SoundComposer.ItemSoundFileDownmixToMonoSet ( long nUniqueId, short bDownMixToMono ); |
Parameter |
Description |
||||||
|
|
||||||
nUniqueId |
The unique identifier of the sound file item previously returned by the call to one of the following methods: SoundComposer.ItemSoundFileAdd, SoundComposer.ItemSoundFileMemoryAdd, SoundComposer.ItemSoundFileRawAdd, SoundComposer.ItemSoundFileMemoryRawAdd, SoundComposer.ItemSoundFileFromEditorAdd,or SoundComposer.ItemSoundFileFromRecorderAdd. |
||||||
bDownMixToMono |
Boolean flag specifying if there is the need of a downmix in order to store a stereo sound file into a mono channel of the stream. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |