LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp_deviceinfo.cpp
Go to the documentation of this file.
1#include "lasp_deviceinfo.h"
2#include <algorithm>
3#include <cassert>
4
5#define MAX_DEV_COUNT_PER_API 20
6
7#if LASP_HAS_ULDAQ == 1
8#include "lasp_uldaq.h"
9#endif
10#if LASP_HAS_RTAUDIO == 1
11#include "lasp_rtaudiodaq.h"
12#endif
13#if LASP_HAS_PORTAUDIO == 1
14#include "lasp_portaudiodaq.h"
15#endif
16
17
19 DeviceInfoList devs;
20#if LASP_HAS_ULDAQ ==1
22#endif
23
24#if LASP_HAS_RTAUDIO == 1
26#endif
27#if LASP_HAS_PORTAUDIO == 1
29#endif
30
31 return devs;
32}
33
static DeviceInfoList getDeviceInfo()
Create a list of DeviceInfo's that are at call time avalable.
std::vector< std::unique_ptr< DeviceInfo > > DeviceInfoList
void fillPortAudioDeviceInfo(DeviceInfoList &devinfolist)
Append PortAudio backend devices to the list.
void fillRtAudioDeviceInfo(DeviceInfoList &devinfolist)
Append RtAudio backend devices to the list.
void fillUlDaqDeviceInfo(DeviceInfoList &devinfolist)
Append device info list with UlDaq specific devices, if any.