arduino-audio-tools
Loading...
Searching...
No Matches
USBAudioStream.h
Go to the documentation of this file.
1#pragma once
2
3// Abstraction which provides the platform specific USBAudioDevice class implementation
4#include "AudioToolsConfig.h"
5
6#if defined(USE_TINYUSB)
7# include "USBAudioDeviceBase.h"
9# if defined(USE_FREERTOS)
12 namespace audio_tools { using USBAudioStream = USBAudioDeviceTinyUSBFreeRTOS; }
13# else
14 namespace audio_tools { using USBAudioStream = USBAudioDeviceTinyUSB; }
15# endif
16#elif defined(ARDUINO_ARCH_STM32)
18 namespace audio_tools { using USBAudioStream = USBAudioDeviceTinyUSB; }
19#elif defined(ESP32)
21# include "USBAudioDeviceBase.h"
22# include "USBAudioDeviceESP32.h"
23#elif defined(IS_ZEPHYR)
24# include "USBAudioDeviceZephyr.h"
25#else
26# error "No USBAudioDevice implementation defined for this platform"
27#endif
USBAudioDeviceESP32 USBAudioStream
USBAudioStream type alias for ESP32.
Definition USBAudioDeviceESP32.h:207
Generic Implementation of sound input and output for desktop environments using portaudio.
Definition LMSEchoCancellationStream.h:6