Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ISpTTSEngineSite::GetVolume (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpTTSEngineSite::GetVolume

ISpTTSEngineSite::GetVolume retrieves the base output volume level the engine should use during synthesis.

HRESULT GetVolume(
  USHORT* pusVolume
);

Parameters

pusVolume
[out] Pointer to a USHORT which specifies the baseline volume level.

Return values

ValueDescription
S_OKFunction completed successfully.
E POINTERpusVolume is invalid.

Remarks

This function should be called when a call to GetActions returns SPVES_VOLUME. The retrieved value establishes a baseline volume. Additional volume adjustments in the XML state should be combined with this value to determine the actual absolute volume level.

Show:
© 2015 Microsoft