dxd - dynax driver framework 2.7.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::usb::audio::descriptor::interface Union Reference

USB audio class interface descriptors. More...

#include <dx_usb_audio.h>

Collaboration diagram for dx::usb::audio::descriptor::interface:

Classes

union  control
 USB audio class control interface descriptors. More...
struct  head
union  midi
union  streaming
 USB audio class streaming interface descriptors. More...

Static Public Member Functions

template<typename desc_t, typename array_t>
static uint32_t entries (const desc_t &desc, const array_t *array) noexcept
 number of array's elements covered by desc.bLength, clamped to sizeof(interface) - the storage any interface descriptor is copied into - since bLength is device-supplied and untrusted

Public Attributes

union dx_packed dx::usb::audio::descriptor::interface::control control
dx::usb::audio::descriptor::interface::head head
union dx_packed dx::usb::audio::descriptor::interface::midi midi
union dx_packed dx::usb::audio::descriptor::interface::streaming streaming

Detailed Description

USB audio class interface descriptors.

Member Function Documentation

◆ entries()

template<typename desc_t, typename array_t>
uint32_t dx::usb::audio::descriptor::interface::entries ( const desc_t & desc,
const array_t * array )
inlinestaticnoexcept

number of array's elements covered by desc.bLength, clamped to sizeof(interface) - the storage any interface descriptor is copied into - since bLength is device-supplied and untrusted

Here is the caller graph for this function:

Member Data Documentation

◆ control

union dx_packed dx::usb::audio::descriptor::interface::control dx::usb::audio::descriptor::interface::control

◆ head

dx::usb::audio::descriptor::interface::head dx::usb::audio::descriptor::interface::head

◆ midi

union dx_packed dx::usb::audio::descriptor::interface::midi dx::usb::audio::descriptor::interface::midi

◆ streaming

union dx_packed dx::usb::audio::descriptor::interface::streaming dx::usb::audio::descriptor::interface::streaming

The documentation for this union was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.