IMVSCTVAudio
The IMVSCTVAudio interface contains methods and properties to configure the a TV audio device.
Methods:
| GetAvailableTVAudioModes | The GetAvailableTVAudioModes method retrieves a bitmask of the possible modes. |
| GetHardwareSupportedTVAudioModes | The GetHardwareSupportedTVAudioModes method retrieves a bitmask of the formats available in the hardware. |
| GetTVAudioMode | The GetTVAudioMode method retrieves the current TV audio mode. |
| IsTVAudioAvailable | Check if a TV audio device is available. |
| SetTVAudioMode | The SetTVAudioMode method sets the current TV audio mode. |
| TVAudioRegisterNotificationCallBack | The TVAudioRegisterNotificationCallBack method enables an object that implements the IAMTunerNotification interface to receive event notifications when the tuner changes state. This method is not implemented. |
| TVAudioUnRegisterNotificationCallBack | The TVAudioUnRegisterNotificationCallBack method unregisters an object for event notifications. This method is not implemented. |
Typelib: MV SmartControl
| Mode | Value | Description |
| MV_TVAUDIO_MODE_MONO |
1 |
Specifies the audio is in mono. |
| AMTVAUDIO_MODE_STEREO |
2 |
Specifies the audio is in stereo. |
| AMTVAUDIO_MODE_LANG_A |
16 |
Specifies the audio is an additional language. When using bilingual TV Audio in a specific country/region it is defined as main multilingual audio program. |
| AMTVAUDIO_MODE_LANG_B |
32 |
Specifies the audio is an additional language. When using bilingual TV Audio in a specific country/region it is defined as secondary multilingual audio program. |
| AMTVAUDIO_MODE_LANG_C |
64 |
Specifies the audio is an additional language. When using bilingual TV Audio in a specific country/region it is defined as either a third language, or the main multilingual audio program plus the secondary multilingual audio program. For example, use this element to get English from one speaker and Japanese from the other speaker. |
Method IMVSCTVAudio::GetAvailableTVAudioModes
Declaration: Function GetAvailableTVAudioModes(SourceFilter As String) As LongThe GetAvailableTVAudioModes method retrieves a bitmask of the possible modes.
Parameter:
C Prototype:
SourceFilter Name of the source filter. HRESULT GetAvailableTVAudioModes(BSTR SourceFilter, LONG* value);
Method IMVSCTVAudio::GetHardwareSupportedTVAudioModes
Declaration: Function GetHardwareSupportedTVAudioModes(SourceFilter As String) As LongThe GetHardwareSupportedTVAudioModes method retrieves a bitmask of the formats available in the hardware.
Parameter:
C Prototype:
SourceFilter Name of the source filter. HRESULT GetHardwareSupportedTVAudioModes(BSTR SourceFilter, LONG* value);
Method IMVSCTVAudio::GetTVAudioMode
Declaration: Function GetTVAudioMode(SourceFilter As String) As LongThe GetTVAudioMode method retrieves the current TV audio mode.
Parameter:
C Prototype:
SourceFilter Name of the source filter. HRESULT GetTVAudioMode(BSTR SourceFilter, LONG* value);
Method IMVSCTVAudio::IsTVAudioAvailable
Declaration: Function IsTVAudioAvailable(SourceFilter As String) As BooleanCheck if a TV audio device is available.
Parameter:
C Prototype:
SourceFilter Name of the source filter. HRESULT IsTVAudioAvailable(BSTR SourceFilter, VARIANT_BOOL* value);
Method IMVSCTVAudio::SetTVAudioMode
Declaration: Sub SetTVAudioMode(SourceFilter As String, Mode As Long)The SetTVAudioMode method sets the current TV audio mode.
Parameter:
C Prototype:
SourceFilter Name of the source filter. Mode The new audio mode. HRESULT SetTVAudioMode(BSTR SourceFilter, LONG Mode);
Method IMVSCTVAudio::TVAudioRegisterNotificationCallBack
Declaration: Sub TVAudioRegisterNotificationCallBack(SourceFilter As String, UnkNotify As Unknown, Events As Long)The TVAudioRegisterNotificationCallBack method enables an object that implements the IAMTunerNotification interface to receive event notifications when the tuner changes state. This method is not implemented.
Parameter:
C Prototype:
SourceFilter Name of the source filter. UnkNotify Pointer to the IUnknown pointer of a IAMTunerNotification interface that will receive the event notifications. Events Flag indicating that an event has occurred. HRESULT TVAudioRegisterNotificationCallBack(BSTR SourceFilter, UNKNOWN UnkNotify, LONG Events);
Method IMVSCTVAudio::TVAudioUnRegisterNotificationCallBack
Declaration: Sub TVAudioUnRegisterNotificationCallBack(SourceFilter As String, UnkNotify As Unknown)The TVAudioUnRegisterNotificationCallBack method unregisters an object for event notifications. This method is not implemented.
Parameter:
C Prototype:
SourceFilter Name of the source filter. UnkNotify Pointer to the IUnknown pointer of a IAMTunerNotification interface that will receive the event notifications. HRESULT TVAudioUnRegisterNotificationCallBack(BSTR SourceFilter, UNKNOWN UnkNotify);