HDAUDIO_CODEC_TRANSFER structure (hdaudio.h)

The HDAUDIO_CODEC_TRANSFER structure specifies a codec command and the response to that command.

Syntax

typedef struct _HDAUDIO_CODEC_TRANSFER {
  HDAUDIO_CODEC_COMMAND  Output;
  HDAUDIO_CODEC_RESPONSE Input;
} HDAUDIO_CODEC_TRANSFER, *PHDAUDIO_CODEC_TRANSFER;

Members

Output

Specifies a codec command for the HD Audio bus driver to output to a codec that is attached to the HD Audio controller. This member is a structure of type HDAUDIO_CODEC_COMMAND. Before calling the TransferCodecVerbs routine, the caller writes a codec command to this member.

Input

Specifies the response to the codec command. This member is a structure of type HDAUDIO_CODEC_RESPONSE. The HD Audio bus driver retrieves the response to the codec command that is contained in the Output member and writes the response into the Input member.

Remarks

This structure is used by the TransferCodecVerbs routine:

  • At entry, the Output member contains a codec command from the caller.
  • Upon return, the Input member contains the response to the codec command.

Requirements

Requirement Value
Header hdaudio.h (include Hdaudio.h)

See also

HDAUDIO_CODEC_COMMAND

HDAUDIO_CODEC_RESPONSE

TransferCodecVerbs