次の方法で共有


AVC_VCR_CMD_ANALOG_AUDIO_OUTPUT_MODE (Windows CE 5.0)

Send Feedback

This command permits the caller to query the current output mode output by the VCR subunit on its source plugs and permits the caller to configure the VCR subunit to output a specific audio source on its source plugs. This is useful in selecting secondary audio channels or controlling the monaural/stereo configuration.

Parameters

  • Command
    This must be set to AVC_VCR_CMD_ANALOG_AUDIO_OUTPUT_MODE.
  • CommandType
    If the caller wants to query the current setting, this field must be set to AVC_VCR_CommandType_Status. If the caller wants to set the VCR subunit to output a specific mode, this field must be set to AVC_VCR_CommandType_Control.
  • u.AudioOutputMode.AnalogAudioMode
    If the caller is querying the current setting, this field need not be initialized. If the caller is attempting to configure the VCR subunit to output a specific audio mode, the caller must set this field to one of the following modes:
    • ANALOG_AUDIO_MODE_Monaural
    • ANALOG_AUDIO_MODE_Right
    • ANALOG_AUDIO_MODE_Left
    • ANALOG_AUDIO_MODE_Stereo
    • ANALOG_AUDIO_MODE_Secondary
    • ANALOG_AUDIO_MODE_Main

Return Values

  • ResponseCode
    The VCR subunit will return a specific value in this field, depending on the requested action and the capabilities of the subunits. A successful query may result in a value of AVC_RESPONSE_STABLE, while a successful control attempt will result in a value of AVC_RESPONSE_ACCEPTED. Other values are possible and are discussed in the description of IOCTL_VCR_AVCCMD.
  • u.AudioOutputMode.AnalogAudioMode
    If the caller was attempting to query the current setting, and the query operation was successful, this field will contain the current setting, which should be one of the modes listed above.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Avc_vcr.h.

See Also

IOCTL_VCR_AVCCMD

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.