Copyright © 2005-2019 MultiMedia Soft

SoundGenerator.StreamChannelIsEmpty method

Previous pageReturn to chapter overviewNext page

Remarks

 

Determines if the given channel of the audio stream, previously created through the SoundGenerator.StreamCreateMultiChannelEmpty method, is empty,

 

For further details about sound generation see the SoundGenerator object and the How to generate wave tones, noises, DTMF tones and text to speech tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function StreamChannelIsEmpty (

nPlayerIndex as Int16,

nChannel as Int16

) as bool


 

[C#]

public bool StreamChannelIsEmpty (

Int16 nPlayerIndex,

Int16 nChannel

);


 

[C++]

public: bool StreamChannelIsEmpty (

Int16 nPlayerIndex,

Int16 nChannel

);


 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

nChannel

Channel of the audio stream: can be a value between 0 and the number of channels of the audio stream created through the SoundGenerator.StreamCreateMultiChannelEmpty method.

 

 

Return value

 

Value

Meaning

 

 

false

The channel is not empty

true

The channel is empty