Copyright © 2008-2019 MultiMedia Soft

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 object and the How to generate wave tones, noises, DTMF tones and text to speech tutorial.

For further details about sound composing see the SoundComposerMan object and the How to compose a sound 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.