次の方法で共有


ISpeechBaseStream Format Property (SAPI 5.3)

Microsoft Speech API 5.3

Interface: ISpeechBaseStream

Format Property

The Format property gets and sets the cached wave format of the stream as an SpAudioFormat object.

Syntax

Set: ISpeechBaseStream.Format = SpAudioFormat
Get: SpAudioFormat = ISpeechBaseStream.Format

Parts

  • ISpeechBaseStream
    The owning object.
  • SpAudioFormat
    Set: An SpAudioFormat object that sets the wave format.
    Get: An SpAudioFormat object that gets the wave format.

Example

For an example of the use of the Format property, see the code example in the SpAudioFormat GetWaveFormatEx section.