Copyright © 2008-2019 MultiMedia Soft

SoundComposer.ItemSoundFileOriginalChannelsGet method

Previous pageReturn to chapter overviewNext page

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 SoundComposerMan class and the How to compose a sound tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function ItemSoundFileOriginalChannelsGet (

nUniqueId as Int32,

ByRef nChannels as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemSoundFileOriginalChannelsGet (

Int32 nUniqueId,

ref Int32 nChannels

);


 

[C++]

public: enumErrorCodes ItemSoundFileOriginalChannelsGet (

Int32 nUniqueId,

Int32 __gc  *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 (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.