SoundComposer.ItemSoundFileOriginalChannelsGet method |
|
Remarks
Obtains the original number of channels of the sound file item previously added to the stream.
For further details about sound composing see the the SoundComposer object and the How to compose a sound tutorial.
Syntax
[Visual Basic] control.SoundComposer.ItemSoundFileOriginalChannelsGet ( nUniqueId as Long, ByRef nChannels as Long ) as enumErrorCodes |
[C++] short control.SoundComposer.ItemSoundFileOriginalChannelsGet ( long nUniqueId, long *nChannels ); |
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. |
nChannels |
Reference that, on return from the method call, will contain the original number of channels of the audio file |
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 |