PortAudio  2.0
Data Structures | Macros | Typedefs | Functions
pa_unix_audioio.c File Reference
#include <sys/audioio.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <fcntl.h>
#include <pthread.h>
#include <poll.h>
#include <string.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "pa_util.h"
#include "pa_unix_util.h"
#include "pa_debugprint.h"
#include "pa_allocation.h"
#include "pa_hostapi.h"
#include "pa_stream.h"
#include "pa_cpuload.h"
#include "pa_process.h"

Data Structures

struct  PaAudioIOHostApiRepresentation
 
struct  PaAudioIOComponent
 
struct  PaAudioIOStream
 

Macros

#define AUDIOIO_MAX_DEVICES   (32)
 
#define AUDIOIO_DEFAULT_FRAMES   (128)
 
#define AUDIOIO_DEFAULT_MAX_CHANNELS   (2)
 
#define AUDIOIO_DEV_PREFIX   "/dev/audio"
 
#define AUDIOIO_DEV_DEFAULT   "/dev/audio"
 
#define AUDIO_ENCODING_SLINEAR   AUDIO_ENCODING_LINEAR
 
#define AUDIO_GETBUFINFO   AUDIO_GETINFO
 

Typedefs

typedef struct PaAudioIOComponent PaAudioIOComponent
 
typedef struct PaAudioIOStream PaAudioIOStream
 

Functions

PaError PaAudioIO_Initialize (PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index)
 

Macro Definition Documentation

#define AUDIO_ENCODING_SLINEAR   AUDIO_ENCODING_LINEAR

Referenced by PaAudioIO_Initialize().

#define AUDIO_GETBUFINFO   AUDIO_GETINFO

Referenced by PaAudioIO_Initialize().

#define AUDIOIO_DEFAULT_FRAMES   (128)
#define AUDIOIO_DEFAULT_MAX_CHANNELS   (2)

Referenced by PaAudioIO_Initialize().

#define AUDIOIO_DEV_DEFAULT   "/dev/audio"

Referenced by PaAudioIO_Initialize().

#define AUDIOIO_DEV_PREFIX   "/dev/audio"

Referenced by PaAudioIO_Initialize().

#define AUDIOIO_MAX_DEVICES   (32)

Referenced by PaAudioIO_Initialize().

Typedef Documentation

Function Documentation

PaError PaAudioIO_Initialize ( PaUtilHostApiRepresentation **  hostApi,
PaHostApiIndex  index 
)