|
arduino-audio-tools
|
#include <cmath>#include <cstddef>#include <cstdint>#include <cstring>#include <functional>#include <mutex>#include <vector>#include "AudioTools/CoreAudio/AudioTypes.h"#include "AudioTools/CoreAudio/Buffers.h"#include "AudioLogger.h"#include "AudioTools/CoreAudio/BaseStream.h"#include "AudioTools/Communication/USB/USBAudioBackend.h"#include "USBAudio2DescriptorBuilder.h"Go to the source code of this file.
Classes | |
| class | USBAudioDeviceBase |
| USB Audio Device class for audio streaming over USB. More... | |
Namespaces | |
| namespace | audio_tools |
| Generic Implementation of sound input and output for desktop environments using portaudio. | |
Macros | |
| #define | USB_DESCR_MAX_LEN 512 |
Functions | |
| static uint8_t | u16High (uint16_t v) |
| static uint8_t | u16Low (uint16_t v) |
Variables | |
| static constexpr uint8_t | AUDIO_FU_CTRL_MUTE = 0x01 |
| static constexpr uint8_t | AUDIO_FU_CTRL_VOLUME = 0x02 |
| static constexpr uint8_t | kAudioCsAcInputTerminal = 0x02 |
| static constexpr uint8_t | kAudioCsAcOutputTerminal = 0x03 |
| static constexpr uint8_t | kAudioCsAsFormatType = 0x02 |
| static constexpr uint8_t | kAudioCsAsGeneral = 0x01 |
| static constexpr uint8_t | kAudioCsCtrlClkValid = 0x02 |
| static constexpr uint8_t | kAudioCsCtrlSamFreq = 0x01 |
| static constexpr uint8_t | kAudioCsReqCur = 0x01 |
| static constexpr uint8_t | kAudioCsReqRange = 0x02 |
| static constexpr uint16_t | kAudioDescIadLen = 8 |
| static constexpr uint8_t | kAudioIntProtocolCodeV2 = 0x20 |
| static constexpr uint8_t | kAudioSubclassControl = 0x01 |
| static constexpr uint16_t | kAudioTermTypeUsbStreaming = 0x0101 |
| static constexpr uint8_t | kControlStageData = 2 |
| static constexpr uint8_t | kControlStageSetup = 1 |
| static constexpr uint8_t | kUsbClassAudio = 0x01 |
| static constexpr uint8_t | kUsbDescTypeCsInterface = 0x24 |
| static constexpr uint8_t | kUsbDescTypeEndpoint = 0x05 |
| static constexpr uint8_t | kUsbDescTypeInterface = 0x04 |
| #define USB_DESCR_MAX_LEN 512 |