class UsbAudioControlInterface

Defined at line 23 of file ../../src/media/audio/drivers/usb-audio/usb-audio-control-interface.h

Public Methods

std::unique_ptr<UsbAudioControlInterface> Create (UsbAudioDevice * parent)

Note that UsbAudioControlInterfaces are entirely owned by UsbAudioDevice

instances. The control interface needs to hold a pointer to its parent,

so it is critically important that the owning parent is certain that the

control interface (and all of its children) have been properly shut down

before exiting. At all times, the lifetime of the control interface

needs to be a subset of the lifetime of the device parent.

Defined at line 28 of file ../../src/media/audio/drivers/usb-audio/usb-audio-control-interface.cc

zx_status_t Initialize (DescriptorListMemory::Iterator * iter)

Defined at line 43 of file ../../src/media/audio/drivers/usb-audio/usb-audio-control-interface.cc

const char * log_prefix ()

We use our parent's log prefix

Defined at line 20 of file ../../src/media/audio/drivers/usb-audio/usb-audio-control-interface.cc

std::unique_ptr<AudioPath> ExtractPath (uint8_t term_link, Direction direction)

Extract the AudioPath whose streaming terminal interface link ID matches

the users request, if any. Otherwise, simply return nullptr.

Defined at line 38 of file ../../src/media/audio/drivers/usb-audio/usb-audio-control-interface.h

Friends

class default_delete