#include <Eigen/Dense>
#include <ALSA/ALSADebug.H>
#include <ALSA/PCM.H>
#include <ALSA/Hardware.H>
#include <ALSA/Software.H>
#include <ALSA/Stream.H>
#include <ALSA/Playback.H>
#include <ALSA/Capture.H>
#include <ALSA/FullDuplex.H>
#include <ALSA/Mixer.H>
Go to the source code of this file.
|
#define | PCM_NOT_OPEN_CHECK_NO_PRINT(pcm, type) {if (!pcm) return (type)ALSADebug().evaluateError(ALSA_PCM_NOT_OPEN_ERROR);} |
|
#define | PCM_NOT_OPEN_CHECK_TYPED(pcm, type) {printf("\t\tfunc: %s\n",__func__); PCM_NOT_OPEN_CHECK_NO_PRINT(pcm, type)} |
|
#define | PCM_NOT_OPEN_CHECK(pcm) PCM_NOT_OPEN_CHECK_TYPED(pcm, int) |
|
#define | PCM_NOT_OPEN_CHECK_STRING(pcm) {printf("\t\tfunc: %s\n",__func__); if (!pcm) return "PCM not open error";} |
|
#define | MIXER_NOT_OPEN_CHECK_NO_PRINT(handle, type) {if (!handle) return (type)ALSADebug().evaluateError(ALSA_MIXER_NOT_OPEN_ERROR);} |
|
#define | MIXER_NOT_OPEN_CHECK_TYPED(handle, type) {printf("\t\tfunc: %s\n",__func__); MIXER_NOT_OPEN_CHECK_NO_PRINT(handle, type)} |
|
#define | MIXER_NOT_OPEN_CHECK(handle) MIXER_NOT_OPEN_CHECK_TYPED(handle, int) |
|
#define | ALSA_DEFAULT_START_FS 48000 |
|
#define | ALSA_DEFAULT_FORMAT SND_PCM_FORMAT_S16_LE |
|
#define | ALSA_DEFAULT_CHANNELS 2 |
|
◆ ALSA_DEFAULT_CHANNELS
#define ALSA_DEFAULT_CHANNELS 2 |
◆ ALSA_DEFAULT_FORMAT
#define ALSA_DEFAULT_FORMAT SND_PCM_FORMAT_S16_LE |
◆ ALSA_DEFAULT_START_FS
#define ALSA_DEFAULT_START_FS 48000 |
◆ MIXER_NOT_OPEN_CHECK
◆ MIXER_NOT_OPEN_CHECK_NO_PRINT
#define MIXER_NOT_OPEN_CHECK_NO_PRINT |
( |
|
handle, |
|
|
|
type |
|
) |
| {if (!handle) return (type)ALSADebug().evaluateError(ALSA_MIXER_NOT_OPEN_ERROR);} |
◆ MIXER_NOT_OPEN_CHECK_TYPED
◆ PCM_NOT_OPEN_CHECK
◆ PCM_NOT_OPEN_CHECK_NO_PRINT
#define PCM_NOT_OPEN_CHECK_NO_PRINT |
( |
|
pcm, |
|
|
|
type |
|
) |
| {if (!pcm) return (type)ALSADebug().evaluateError(ALSA_PCM_NOT_OPEN_ERROR);} |
◆ PCM_NOT_OPEN_CHECK_STRING
#define PCM_NOT_OPEN_CHECK_STRING |
( |
|
pcm | ) |
{printf("\t\tfunc: %s\n",__func__); if (!pcm) return "PCM not open error";} |
◆ PCM_NOT_OPEN_CHECK_TYPED