Copyright © 2001-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]

control.SoundGenerator.StreamChannelIsEmpty (

nPlayer as Integer,

nChannel as Integer

) as enumBoolean


 

[C++]

BOOL control.SoundGenerator.StreamChannelIsEmpty (

short nPlayer,

short nChannel

);


 

Parameter

Description

 

 

nPlayer

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