|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <ntddk.h>#include <portcls.h>#include <ksmedia.h>#include <hubbusif.h>#include <usbbusif.h>#include <usbioctl.h>#include <usb.h>#include <usbdlib.h>#include <debug.h>#include <pshpack1.h>#include <poppack.h>

Go to the source code of this file.
Classes | |
| struct | USB_AUDIO_CONTROL_INTERFACE_HEADER_DESCRIPTOR |
| struct | USB_AUDIO_CONTROL_OUTPUT_TERMINAL_DESCRIPTOR |
| struct | USB_AUDIO_CONTROL_INPUT_TERMINAL_DESCRIPTOR |
| struct | USB_AUDIO_CONTROL_FEATURE_UNIT_DESCRIPTOR |
| struct | USB_AUDIO_CONTROL_MIXER_UNIT_DESCRIPTOR |
| struct | USB_AUDIO_CONTROL_SELECTOR_UNIT_DESCRIPTOR |
| struct | USB_AUDIO_STREAMING_INTERFACE_DESCRIPTOR |
| struct | USB_AUDIO_STREAMING_FORMAT_TYPE_DESCRIPTOR |
| struct | NODE_CONTEXT |
| struct | __DEVICE_EXTENSION__ |
| struct | FILTER_CONTEXT |
| struct | PIN_CONTEXT |
Definition at line 52 of file usbaudio.h.
Definition at line 38 of file usbaudio.h.
Definition at line 60 of file usbaudio.h.
Definition at line 47 of file usbaudio.h.
| #define USB_AUDIO_ARRAY_MICROPHONE_TERMINAL_TYPE (0x0205) |
Definition at line 23 of file usbaudio.h.
| #define USB_AUDIO_ARRAY_PROCESSING_MICROPHONE_TERMINAL_TYPE (0x0206) |
Definition at line 24 of file usbaudio.h.
| #define USB_AUDIO_COMMUNICATION_SPEAKER_TERMINAL_TYPE (0x0306) |
Definition at line 31 of file usbaudio.h.
| #define USB_AUDIO_CONTROL_TERMINAL_DESCRIPTOR_TYPE (0x24) |
Definition at line 14 of file usbaudio.h.
| #define USB_AUDIO_DESKTOP_MICROPHONE_TERMINAL_TYPE (0x0202) |
Definition at line 20 of file usbaudio.h.
| #define USB_AUDIO_DESKTOP_SPEAKER_TERMINAL_TYPE (0x0304) |
Definition at line 29 of file usbaudio.h.
| #define USB_AUDIO_HMDA_TERMINAL_TYPE (0x0303) |
Definition at line 28 of file usbaudio.h.
| #define USB_AUDIO_INPUT_TERMINAL (0x02) |
Definition at line 35 of file usbaudio.h.
| #define USB_AUDIO_MICROPHONE_TERMINAL_TYPE (0x0201) |
Definition at line 19 of file usbaudio.h.
| #define USB_AUDIO_OMMNI_MICROPHONE_TERMINAL_TYPE (0x0204) |
Definition at line 22 of file usbaudio.h.
| #define USB_AUDIO_OUTPUT_TERMINAL (0x03) |
Definition at line 36 of file usbaudio.h.
| #define USB_AUDIO_PERSONAL_MICROPHONE_TERMINAL_TYPE (0x0203) |
Definition at line 21 of file usbaudio.h.
| #define USB_AUDIO_ROOM_SPEAKER_TERMINAL_TYPE (0x0305) |
Definition at line 30 of file usbaudio.h.
| #define USB_AUDIO_SPEAKER_TERMINAL_TYPE (0x0301) |
Definition at line 26 of file usbaudio.h.
| #define USB_AUDIO_STREAMING_TERMINAL_TYPE (0x0101) |
Definition at line 17 of file usbaudio.h.
| #define USB_AUDIO_SUBWOOFER_TERMINAL_TYPE (0x0307) |
Definition at line 32 of file usbaudio.h.
| #define USB_AUDIO_UNDEFINED_TERMINAL_TYPE (0xFFFF) |
Definition at line 33 of file usbaudio.h.
| #define USB_HEADPHONES_SPEAKER_TERMINAL_TYPE (0x0302) |
Definition at line 27 of file usbaudio.h.
| #define USBAUDIO_TAG 'AbsU' |
Definition at line 13 of file usbaudio.h.
| typedef struct __DEVICE_EXTENSION__ * PDEVICE_EXTENSION |
| typedef struct FILTER_CONTEXT * PFILTER_CONTEXT |
| typedef struct NODE_CONTEXT * PNODE_CONTEXT |
| typedef struct PIN_CONTEXT * PPIN_CONTEXT |
| typedef struct USB_AUDIO_CONTROL_FEATURE_UNIT_DESCRIPTOR * PUSB_AUDIO_CONTROL_FEATURE_UNIT_DESCRIPTOR |
| typedef struct USB_AUDIO_CONTROL_INPUT_TERMINAL_DESCRIPTOR * PUSB_AUDIO_CONTROL_INPUT_TERMINAL_DESCRIPTOR |
| typedef struct USB_AUDIO_CONTROL_INTERFACE_HEADER_DESCRIPTOR * PUSB_AUDIO_CONTROL_INTERFACE_HEADER_DESCRIPTOR |
| typedef struct USB_AUDIO_CONTROL_OUTPUT_TERMINAL_DESCRIPTOR * PUSB_AUDIO_CONTROL_OUTPUT_TERMINAL_DESCRIPTOR |
| typedef struct USB_AUDIO_CONTROL_SELECTOR_UNIT_DESCRIPTOR * PUSB_AUDIO_CONTROL_SELECTOR_UNIT_DESCRIPTOR |
| typedef struct USB_AUDIO_STREAMING_FORMAT_TYPE_DESCRIPTOR * PUSB_AUDIO_STREAMING_FORMAT_TYPE_DESCRIPTOR |
Definition at line 45 of file hid.c.
Referenced by BuildUSBAudioFilterTopology(), FilterAudioVolumeHandler(), HidParser_AddCollection(), HidParser_AddReportToCollection(), HidParser_AllocateCollection(), HidParser_AllocateReport(), HidParser_BuildContext(), HidParser_GetCollectionDescription(), HidParser_ParseReportDescriptor(), HidParser_ReserveReportItems(), InitCapturePin(), InitStreamPin(), RenderInitializeUrbAndIrp(), UsbAudioAllocCaptureUrbIso(), USBAudioCreateFilterContext(), USBAudioFilterCreate(), UsbAudioGetDataRanges(), USBAudioGetDescriptor(), UsbAudioGetSetProperty(), USBAudioPinBuildDescriptors(), USBAudioPinCreate(), USBAudioPnPStart(), USBAudioSelectAudioStreamingInterface(), USBAudioSelectConfiguration(), UsbAudioSetFormat(), and USBAudioStartDevice().
| VOID NTAPI CountTerminalUnits | ( | IN PUSB_CONFIGURATION_DESCRIPTOR | ConfigurationDescriptor, |
| OUT PULONG | NonStreamingTerminalDescriptorCount, | ||
| OUT PULONG | TotalTerminalDescriptorCount | ||
| ) |
Definition at line 970 of file filter.c.
Referenced by BuildUSBAudioFilterTopology(), and USBAudioPinBuildDescriptors().
Definition at line 53 of file hid.c.
Referenced by FilterAudioVolumeHandler(), HidParser_AddCollection(), HidParser_AddReportToCollection(), HidParser_FreeCollectionDescription(), HidParser_GetCollectionDescription(), HidParser_GetReport(), HidParser_ParseReportDescriptor(), USBAudioCreateFilterContext(), USBAudioGetDescriptor(), UsbAudioGetSetProperty(), USBAudioInitComponentId(), UsbAudioRenderComplete(), USBAudioSelectAudioStreamingInterface(), USBAudioSelectConfiguration(), UsbAudioSetFormat(), and USBAudioStartDevice().
| NTSTATUS SubmitUrbSync | ( | IN PDEVICE_OBJECT | Device, |
| IN PURB | Urb | ||
| ) |
Definition at line 37 of file usbaudio.c.
Referenced by USBAudioGetDescriptor(), UsbAudioGetSetProperty(), USBAudioSelectAudioStreamingInterface(), USBAudioSelectConfiguration(), UsbAudioSetFormat(), and USBAudioStartDevice().
Definition at line 287 of file usbaudio.c.
| NTSTATUS NTAPI UsbAudioCaptureComplete | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp, | ||
| IN PVOID | Context | ||
| ) |
Definition at line 909 of file pin.c.
Referenced by CaptureInitializeUrbAndIrp(), and InitCapturePin().
Definition at line 1525 of file filter.c.
Referenced by USBAudioPnPStart().
| PUSB_AUDIO_CONTROL_INPUT_TERMINAL_DESCRIPTOR UsbAudioGetStreamingTerminalDescriptorByIndex | ( | IN PUSB_CONFIGURATION_DESCRIPTOR | ConfigurationDescriptor, |
| IN ULONG | Index | ||
| ) |
Definition at line 1063 of file filter.c.
Referenced by USBAudioPinBuildDescriptors(), and USBAudioSelectAudioStreamingInterface().
Definition at line 764 of file pin.c.
| NTSTATUS NTAPI UsbAudioPinDataIntersect | ( | _In_ PVOID | Context, |
| _In_ PIRP | Irp, | ||
| _In_ PKSP_PIN | Pin, | ||
| _In_ PKSDATARANGE | DataRange, | ||
| _In_ PKSDATARANGE | MatchingDataRange, | ||
| _In_ ULONG | DataBufferSize, | ||
| _Out_ PVOID | Data, | ||
| _Out_ PULONG | DataSize | ||
| ) |
Definition at line 1416 of file pin.c.
Referenced by USBAudioPinBuildDescriptors().
| NTSTATUS NTAPI USBAudioPinSetDataFormat | ( | _In_ PKSPIN | Pin, |
| _In_opt_ PKSDATAFORMAT | OldFormat, | ||
| _In_opt_ PKSMULTIPLE_ITEM | OldAttributeList, | ||
| _In_ const KSDATARANGE * | DataRange, | ||
| _In_opt_ const KSATTRIBUTE_LIST * | AttributeRange | ||
| ) |
| NTSTATUS NTAPI USBAudioPinSetDeviceState | ( | _In_ PKSPIN | Pin, |
| _In_ KSSTATE | ToState, | ||
| _In_ KSSTATE | FromState | ||
| ) |
Definition at line 1392 of file pin.c.
Definition at line 377 of file usbaudio.c.
Definition at line 347 of file usbaudio.c.
| NTSTATUS NTAPI USBAudioPnPQueryCapabilities | ( | _In_ PKSDEVICE | Device, |
| _In_ PIRP | Irp, | ||
| _Inout_ PDEVICE_CAPABILITIES | Capabilities | ||
| ) |
Definition at line 396 of file usbaudio.c.
| NTSTATUS NTAPI USBAudioPnPQueryPower | ( | _In_ PKSDEVICE | Device, |
| _In_ PIRP | Irp, | ||
| _In_ DEVICE_POWER_STATE | DeviceTo, | ||
| _In_ DEVICE_POWER_STATE | DeviceFrom, | ||
| _In_ SYSTEM_POWER_STATE | SystemTo, | ||
| _In_ SYSTEM_POWER_STATE | SystemFrom, | ||
| _In_ POWER_ACTION | Action | ||
| ) |
Definition at line 418 of file usbaudio.c.
Definition at line 366 of file usbaudio.c.
Definition at line 337 of file usbaudio.c.
Definition at line 386 of file usbaudio.c.
| VOID NTAPI USBAudioPnPSetPower | ( | _In_ PKSDEVICE | Device, |
| _In_ PIRP | Irp, | ||
| _In_ DEVICE_POWER_STATE | To, | ||
| _In_ DEVICE_POWER_STATE | From | ||
| ) |
Definition at line 433 of file usbaudio.c.
| NTSTATUS NTAPI USBAudioPnPStart | ( | _In_ PKSDEVICE | Device, |
| _In_ PIRP | Irp, | ||
| _In_opt_ PCM_RESOURCE_LIST | TranslatedResourceList, | ||
| _In_opt_ PCM_RESOURCE_LIST | UntranslatedResourceList | ||
| ) |
Definition at line 297 of file usbaudio.c.
Definition at line 356 of file usbaudio.c.
Definition at line 408 of file usbaudio.c.
| NTSTATUS NTAPI UsbAudioRenderComplete | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PIRP | Irp, | ||
| IN PVOID | Context | ||
| ) |
Definition at line 853 of file pin.c.
Referenced by InitStreamPin(), and RenderInitializeUrbAndIrp().