ITScriptableAudioFormat interface (tapi3if.h)

The ITScriptableAudioFormat interface is used by scriptable clients to get the audio format from, or set the audio format for, the track. The interface provides properties for each member from the WAVEFORMATEX structure.

The ITFileTrack::get_AudioFormatForScripting and ITFileTrack::get_EmptyAudioFormatForScripting methods create the ITScriptableAudioFormat interface.

Inheritance

The ITScriptableAudioFormat interface inherits from the IDispatch interface. ITScriptableAudioFormat also has these types of members:

Methods

The ITScriptableAudioFormat interface has these methods.

 
ITScriptableAudioFormat::get_AvgBytesPerSec

The get_AvgBytesPerSec method returns the value for the nAvgBytesPerSec member in the WAVEFORMATEX structure.
ITScriptableAudioFormat::get_BitsPerSample

The get_BitsPerSample method returns the value for the wBitsPerSample member in the WAVEFORMATEX structure.
ITScriptableAudioFormat::get_BlockAlign

The get_BlockAlign method returns the value for the nBlockAlign member in the WAVEFORMATEX structure.
ITScriptableAudioFormat::get_Channels

The get_Channels method returns the value for the nChannels member in the WAVEFORMATEX structure.
ITScriptableAudioFormat::get_FormatTag

The get_FormatTag method returns the value for the wFormatTag member in the WAVEFORMATEX structure.
ITScriptableAudioFormat::get_SamplesPerSec

The get_SamplesPerSec method returns the value for the nSamplesPerSec member in the WAVEFORMATEX structure.
ITScriptableAudioFormat::put_AvgBytesPerSec

The put_AvgBytesPerSec method sets the nAvgBytesPerSec member in the WAVEFORMATEX structure.
ITScriptableAudioFormat::put_BitsPerSample

The put_BitsPerSample method sets the wBitsPerSample member in the WAVEFORMATEX structure.
ITScriptableAudioFormat::put_BlockAlign

The put_BlockAlign method sets the nBlockAlign member in the WAVEFORMATEX structure.
ITScriptableAudioFormat::put_Channels

The put_Channels method sets the nChannels member in the WAVEFORMATEX structure.
ITScriptableAudioFormat::put_FormatTag

The put_FormatTag method sets the wFormatTag member in the WAVEFORMATEX structure.
ITScriptableAudioFormat::put_SamplesPerSec

The put_SamplesPerSec method sets the nSamplesPerSec member in the WAVEFORMATEX structure.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)