Copyright © 2011-2019 MultiMedia Soft

GetChannels method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the number of channels of the sound under editing.

 

 

Syntax

 

[Visual Basic]

Public Function GetChannels (

) as Int32


 

[C#]

public Int32 GetChannels (

);


 

[C++]

public: Int32 GetChannels (

);


 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

> 0

The number of channels, 1 for Mono or 2 for Stereo