USB Libraries Help > USB Host Libraries > USB Audio v1.0 Host Client Driver Library > Files > usb_host_audio_v1_0.h
MPLAB Harmony USB Stack
usb_host_audio_v1_0.h

Microchip Technology Inc.

File Name

usb_host_audio_v1_0.h

Description

USB Host Audio v1.0 Class Driver Interface Definition 

This header file contains the function prototypes and definitions of the data types and constants that make up the interface to the USB Host Audio v1.0 Class Driver.

Enumerations
 
Name 
Description 
 
USB Host Audio v1.0 Class Driver audio result enumeration. 
 
Identifies the possible events that the Audio v1.0 stream can generate. 
 
USB Host Audio v1.0 stream result enumeration. 
 
Identifies the possible events that the Audio v1.0 Class Driver attach event handler can generate. 
 
USB Host Audio v1.0 Class Driver result enumeration. 
 
USB Host Audio v1.0 Class Driver stream direction. 
 
Identifies the possible events that the Audio v1.0 Stream can generate. 
 
Returns the type of the USB Host Audio v1.0 stream event handler. 
Functions
 
Name 
Description 
 
Schedules an Audio v1.0 control transfer. 
 
Gets the number of stream groups present in the attached Audio v1.0 Device. 
 
Schedules an audio stream disable request for the specified audio stream. 
 
Schedules an audio stream enable request for the specified audio stream. 
 
Registers an event handler with the Audio v1.0 Client Driver stream. 
 
Returns information about first audio stream in the specified audio stream group. 
 
Returns information about the next audio stream in the specified audio stream group. 
 
Schedules an audio stream read request for the specified audio stream. 
 
Schedules an audio stream set sampling rate request for the specified audio stream. 
 
Schedules an audio stream write request for the specified audio stream. 
 
Sets an attach/detach event handler. 
 
Retrieves the handle to the first audio control entity 
 
Retrieves the handle to the next audio control entity. 
 
Returns the device object handle for this Audio v1.0 Device. 
 
Retrieves the entity object for the entity ID. 
 
Registers an audio entity request callback function with the Audio v1.0 Client Driver. 
 
Returns the entity type of the audio control entity. 
 
Returns "true" if mute control exists for the specified channel of the feature unit. 
 
Schedules a get mute control request to the specified channel. 
 
Schedules a set mute control request to the specified channel. 
 
Returns the number of channels. 
 
Returns "true" if volume control exists for the specified channel of the feature unit. 
 
Schedules a get current volume control request to the specified channel. 
 
Schedules a control request to the Audio Device feature unit to get the range supported by the volume control on the specified channel. 
 
Schedules a set current volume control request to the specified channel. 
 
Schedules a control request to an Audio Device feature unit to get the number of sub-ranges supported by the volume control on the specified channel. 
 
Returns ID of the Feature Unit. 
 
Returns the ID of the unit or terminal to which this feature unit is connected. 
 
Closes the audio stream. 
 
Registers an event handler with the Audio v1.0 Client Driver stream. 
 
Returns the bit resolution of the specified streaming interface setting. 
 
Returns the number of channels of the specified streaming interface setting. 
 
Returns the direction of the specified streaming interface setting. 
 
Returns the format tag of the specified streaming interface setting. 
 
Gets the first streaming interface object from the attached Audio Device. 
 
Gets the next streaming interface object from the attached Audio Device. 
 
Returns the sampling frequencies supported by the specified streaming interface setting. 
 
Returns the sampling frequency type of the specified streaming interface setting. 
 
Schedules a SET_INTERFACE request to the specified audio stream. 
 
Gets the first streaming interface setting object within an audio streaming interface. 
 
Gets the next streaming interface setting object within an audio streaming interface. 
 
Returns the sub-frame size of the specified streaming interface setting. 
 
Returns the terminal link of the specified streaming interface setting. 
 
Opens the specified audio stream. 
 
Schedules an audio stream read request for the specified audio stream. 
 
Schedules an audio stream get sampling rate request for the specified audio stream. 
 
Schedules an audio stream set sampling rate request for the specified audio stream. 
 
Schedules an audio stream write request for the specified audio stream. 
 
Returns the associated terminal ID of the audio control terminal. 
 
Returns the terminal ID of the audio control entity. 
 
Returns a structure that describes the spatial location of the logical channels of in the terminal's output audio channel cluster. 
 
Returns the number of logical output channels in the terminal's output audio channel cluster. 
 
Returns the ID of the unit or terminal to which this terminal is connected. 
 
Returns the terminal type of the audio control entity. 
Macros
 
Name 
Description 
 
Sets an attach/detach event handler. 
 
Returns the device object handle for this Audio v1.0 Device. 
 
This is macro USB_HOST_AUDIO_V1_0_DIRECTION_IN. 
 
This is macro USB_HOST_AUDIO_V1_0_DIRECTION_OUT. 
 
Identifies the possible events that the Audio v1.0 Class Driver can generate. 
 
This is macro USB_HOST_AUDIO_V1_0_EVENT_ATTACH. 
 
This is macro USB_HOST_AUDIO_V1_0_EVENT_DETACH. 
 
USB HOST Audio Client Driver interface. 
 
Defines the type of the Audio v1.0 Host client object. 
 
USB Host Audio v1.0 Client Driver request handle. 
 
USB Host Audio v1.0 Client Driver invalid request handle. 
 
USB Host Audio v1.0 Class Driver stream direction. 
 
This is macro USB_HOST_AUDIO_V1_0_STREAM_EVENT_READ_COMPLETE_DATA. 
 
Returns the type of the USB Audio v1.0 Host Client Driver event handler. 
 
Returns the type of the USB Host Audio v1.0 stream event handler. 
 
USB Host Audio v1.0 class stream transfer event data. 
 
Defines the type of the Audio v1.0 Host stream handle. 
 
Defines the type of the Audio v1.0 Host stream invalid handle. 
 
USB Host Audio v1.0 Class Driver transfer handle. 
 
USB Host Audio v1.0 Class Driver invalid transfer handle definition. 
 
Closes the audio stream. 
 
Opens the specified audio stream. 
 
USB HOST Audio v1.0 Client Driver interface. 
 
USB Host Audio v1.0 Client Driver invalid request handle. 
 
This structure defines USB Host audio stream information structure. 
 
Defines Audio v1.0 Host stream invalid handle. 
 
USB Host Audio v1.0 Class Driver invalid stream data transfer handle. 
Structures
 
Name 
Description 
 
USB Host Audio v1.0 class stream control event data. 
 
USB Host Audio v1.0 class stream control event data. 
 
This is type USB_HOST_AUDIO_V1_0_STREAM_INFO. 
 
USB Host Audio v1.0 class stream control event data. 
 
USB Host Audio v1.0 class stream data transfer event data. 
 
USB Host Audio v1.0 class stream control event data. 
 
USB Host Audio v1.0 class stream control event data. 
 
USB Host Audio v1.0 class stream data transfer event data. 
Types
 
Name 
Description 
 
USB Host Audio v1.0 Client Driver attach event handler function pointer type. 
 
USB Host Audio v1.0 Class Driver control transfer complete callback function pointer type. 
 
USB Host Audio v1.0 Class Driver stream event handler function pointer type. 
 
Defines the type of the Audio v1.0 Host stream object. 
 
USB Host Audio v1.0 Client Driver attach event handler function pointer type. 
 
Defines the type of the Audio v1.0 Host control entity object. 
 
USB Host Audio v1.0 class driver control transfer complete callback function pointer type. 
 
Defines the type of the Audio v1.0 Host client object. 
 
USB Host Audio v1.0 Client Driver request handle. 
 
USB Host Audio v1.0 Class Driver stream event handler function pointer type. 
 
Defines the type of the Audio v1.0 Host stream handle. 
 
USB Host Audio v1.0 Class Driver stream data transfer handle. 
 
Defines the type of the Audio v1.0 Host streaming interface object. 
 
Defines the type of the Audio v1.0 Host streaming interface setting object.