#include "AudioData.hpp"
#include "SoundList.hpp"
#include "logger.hpp"
#include <portaudio.h>
#include <memory>
#include <vector>
#include <mutex>
Go to the source code of this file.
◆ PA_THROW_CHECK
#define PA_THROW_CHECK |
( |
|
expr, |
|
|
|
msg |
|
) |
| |
Value:{ \
PaError err = expr; \
if (err != paNoError) \
{ \
throw std::runtime_error(std::string("Portaudio: ") + msg + " (" + std::string(Pa_GetErrorText(err)) + ")"); \
} \
}
◆ PA_WARNING_CHECK
#define PA_WARNING_CHECK |
( |
|
expr, |
|
|
|
msg |
|
) |
| |
Value:{ \
PaError err = expr; \
if (err != paNoError) \
{ \
LOG_WARNING(std::string("Portaudio: ") + msg + " (" + std::string(Pa_GetErrorText(err)) + ")"); \
} \
}