EnableAudioCompression Property
EnableAudioCompression Property
Gets and sets a value that specifies whether multimodal clients can use Compressed Cepstral format for incoming audio streams.
obj.EnableAudioCompression = boolean
| Part | Description |
|---|---|
| obj | An instance of the SES class. |
| boolean | A Boolean expression specifying whether Compressed Cepstral is accepted for incoming audio streams from the multimodal client. |
Qualifiers
| Qualifier | Value | Description |
|---|---|---|
| Registry | True | If True, this property value is read from the Registry. |
| Restart | False | If False, changes to this property take effect without requiring the service to restart. |
| DefaultValue | True | Default value for this property. |
Remarks
To receive incoming audio streams in a human-comprehensible format, for example if an application developer needs to listen to logged audio, set EnableAudioCompression to false.
This property is exposed in the Microsoft Speech Server (MSS) snap-in for Microsoft Management Console (MMC).
Windows Management Instrumentation (WMI) Script Example
myComputer = "localhost"
' Use a Locator object to connect to WMI.
Set locator = CreateObject("WbemScripting.SWbemLocator")
Set namespace = locator.ConnectServer(myComputer, "root/MSS")
' Get the SES instance.
Set ss=namespace.Get("SES=@")
' Display the current value.
WScript.Echo ss.EnableAudioCompression
' Set the property value.
ss.EnableAudioCompression = True
' Update the class instance in WMI.
ss.Put_
