Copyright © 2005-2018 MultiMedia Soft

SoundGenerator.SpeechVoicesNumGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the number of Speech API voices installed inside the system.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function SpeechVoicesNumGet (

ByRef nVoices as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes SpeechVoicesNumGet (

ref Int32 nVoices

);


 

[C++]

public: enumErrorCodes SpeechVoicesNumGet (

Int32 __gc  *nVoices

);


 

Parameter

Description

 

 

nVoices

Reference that, on return from the method call, will contain the number of voices installed inside the system.

 

 

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.