1 #ifndef HL_LINUX_AUDIO_H 2 #define HL_LINUX_AUDIO_H 4 #include <alsa/asoundlib.h> 12 #include "hlaudio/internal/Device.h" 13 #include "hlaudio/internal/OSAudio.h" 15 #ifndef ALSA_PCM_NEW_HW_PARAMS_API 16 #define ALSA_PCM_NEW_HW_PARAMS_API 18 #define FRAME_TIME 8192 26 std::vector<Device *> iDevices;
27 std::vector<Device *> oDevices;
36 std::vector<Device *>
getDevices(DeviceType type);
44 #endif // HL_LINUX_AUDIO_H bool checkRates(Device *device)
Check with the hardware to ensure that the current audio settings are valid for the selected device...
Definition: LinuxAudio.cpp:106
Abstract class that defines the required components for OS specfic audio classes. ...
Definition: OSAudio.h:19
~LinuxAudio()
Destructor for LinuxAudio.
Definition: LinuxAudio.cpp:290
std::vector< Device * > getDevices(DeviceType type)
Fetch devices of the specified type.
Definition: LinuxAudio.cpp:25
void setActiveOutputDevice(Device *device)
DEPRECATED: To be replaced by OSAudio::setActiveOutputDevice.
Definition: LinuxAudio.cpp:156
void capture()
Capture loop for LinuxAudio.
Definition: LinuxAudio.cpp:204
LinuxAudio()
Construct a new instance of LinuxAudio.
Definition: LinuxAudio.cpp:9
static void startPAVUControl()
Open the program Pulse Audio Volume Control to the Record tab.
Definition: LinuxAudio.cpp:191
Definition: LinuxAudio.h:23
Wrapper for OS specific device information.
Definition: Device.h:34
Definition: Controller.h:11