arduino-audio-tools
Loading...
Searching...
No Matches
src
AudioTools
Communication
USB
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
"
8
# include "
USBAudioDeviceTinyUSB.h
"
9
# if defined(USE_FREERTOS)
10
# include "
AudioTools/Concurrency.h
"
11
# include "
USBAudioDeviceTinyUSBFreeRTOS.h
"
12
namespace
audio_tools
{
using
USBAudioStream
= USBAudioDeviceTinyUSBFreeRTOS; }
13
# else
14
namespace
audio_tools
{
using
USBAudioStream
= USBAudioDeviceTinyUSB; }
15
# endif
16
#elif defined(ARDUINO_ARCH_STM32)
17
# include "
USBAudioDeviceTinyUSB.h
"
18
namespace
audio_tools
{
using
USBAudioStream
= USBAudioDeviceTinyUSB; }
19
#elif defined(ESP32)
20
# include "
AudioTools/Concurrency.h
"
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
AudioToolsConfig.h
Concurrency.h
USBAudioDeviceBase.h
USBAudioDeviceESP32.h
USBAudioDeviceTinyUSB.h
USBAudioDeviceTinyUSBFreeRTOS.h
USBAudioDeviceZephyr.h
audio_tools::USBAudioStream
USBAudioDeviceESP32 USBAudioStream
USBAudioStream type alias for ESP32.
Definition
USBAudioDeviceESP32.h:207
audio_tools
Generic Implementation of sound input and output for desktop environments using portaudio.
Definition
LMSEchoCancellationStream.h:6
Generated by
1.9.8