2022-05-23 15:26:29 +00:00
|
|
|
#pragma once
|
|
|
|
#include "lasp_daq.h"
|
|
|
|
#include <memory>
|
|
|
|
|
2023-06-09 08:43:04 +00:00
|
|
|
/** \addtogroup device
|
|
|
|
* @{
|
|
|
|
* \defgroup rtaudio RtAudio backend
|
|
|
|
* This code is used to interface with the RtAudio cross-platform audio
|
|
|
|
* interface.
|
|
|
|
*
|
|
|
|
* \addtogroup rtaudio
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Method called from Daq::createDaq.
|
|
|
|
*
|
|
|
|
* @param devinfo Device info
|
|
|
|
* @param config DAQ Configuration settings
|
|
|
|
*
|
|
|
|
* @return Pointer to Daq instance. Throws Runtime errors on error.
|
|
|
|
*/
|
2022-05-23 15:26:29 +00:00
|
|
|
std::unique_ptr<Daq> createRtAudioDevice(const DeviceInfo& devinfo,
|
|
|
|
const DaqConfiguration& config);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Append RtAudio backend devices to the list
|
|
|
|
*
|
|
|
|
* @param devinfolist List to append to
|
|
|
|
*/
|
2023-01-20 14:50:51 +00:00
|
|
|
void fillRtAudioDeviceInfo(DeviceInfoList &devinfolist);
|
2022-05-23 15:26:29 +00:00
|
|
|
|
2023-06-09 08:43:04 +00:00
|
|
|
/** @} */
|
|
|
|
/** @} */
|