gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
ALSA.H File Reference
#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>
Include dependency graph for ALSA.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ALSA
 

Macros

#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
 

Macro Definition Documentation

◆ ALSA_DEFAULT_CHANNELS

#define ALSA_DEFAULT_CHANNELS   2

Definition at line 39 of file ALSA.H.

◆ ALSA_DEFAULT_FORMAT

#define ALSA_DEFAULT_FORMAT   SND_PCM_FORMAT_S16_LE

Definition at line 38 of file ALSA.H.

◆ ALSA_DEFAULT_START_FS

#define ALSA_DEFAULT_START_FS   48000

Definition at line 37 of file ALSA.H.

◆ MIXER_NOT_OPEN_CHECK

#define MIXER_NOT_OPEN_CHECK (   handle)    MIXER_NOT_OPEN_CHECK_TYPED(handle, int)

Definition at line 35 of file ALSA.H.

◆ 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);}

Definition at line 33 of file ALSA.H.

◆ MIXER_NOT_OPEN_CHECK_TYPED

#define MIXER_NOT_OPEN_CHECK_TYPED (   handle,
  type 
)    {printf("\t\tfunc: %s\n",__func__); MIXER_NOT_OPEN_CHECK_NO_PRINT(handle, type)}

Definition at line 34 of file ALSA.H.

◆ PCM_NOT_OPEN_CHECK

#define PCM_NOT_OPEN_CHECK (   pcm)    PCM_NOT_OPEN_CHECK_TYPED(pcm, int)

Definition at line 30 of file ALSA.H.

◆ 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);}

Definition at line 28 of file ALSA.H.

◆ 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";}

Definition at line 31 of file ALSA.H.

◆ PCM_NOT_OPEN_CHECK_TYPED

#define PCM_NOT_OPEN_CHECK_TYPED (   pcm,
  type 
)    {printf("\t\tfunc: %s\n",__func__); PCM_NOT_OPEN_CHECK_NO_PRINT(pcm, type)}

Definition at line 29 of file ALSA.H.

gtkIOStream: /tmp/gtkiostream/include/ALSA/ALSA.H File Reference
GTK+ IOStream  Beta