Logo Search packages:      
Sourcecode: faust version File versions  Download package

AudioInterface Class Reference

Inheritance diagram for AudioInterface:

AudioParam AudioParam AudioParam

List of all members.


Detailed Description

An ALSA audio interface

Definition at line 253 of file alsa-gtk.cpp.


Public Member Functions

void allocChanGroup (float *chan[], int n, int len)
void allocChanGroup (float *chan[], int n, int len)
 AudioInterface (const AudioParam &ap=AudioParam())
 AudioInterface (const AudioParam &ap=AudioParam())
 AudioInterface (const AudioParam &ap=AudioParam())
 AudioInterface (const AudioParam &ap=AudioParam())
 AudioInterface (const AudioParam &ap=AudioParam())
AudioParambuffering (int fpb)
int buffering ()
int buffering ()
int buffering ()
AudioParamcardName (const char *n)
const char * cardName ()
const char * cardName ()
const char * cardName ()
void close ()
void close ()
void close ()
void close ()
void close ()
AudioParamdevice (const char *n)
AudioParamdevice (const char *n)
AudioParamformat (int f)
AudioParamformat (int f)
AudioParamfrequency (int f)
int frequency ()
int frequency ()
int frequency ()
const char * getDeviceName ()
const char * getDeviceName ()
int getFramesPerBuffer ()
int getFramesPerBuffer ()
int getInputBufferSize ()
int getInputBufferSize ()
int getNumInputs ()
int getNumInputs ()
int getNumOutputs ()
int getNumOutputs ()
int getOutputBufferSize ()
int getOutputBufferSize ()
int getRWMode ()
int getRWMode ()
int getSampleFormat ()
int getSampleFormat ()
int getSamplingFrequency ()
int getSamplingFrequency ()
void info ()
void info ()
AudioParaminputs (int n)
AudioParaminputs (int n)
AudioParaminputs (int n)
float ** inputSoftChannels ()
float ** inputSoftChannels ()
float ** inputSoftChannels ()
ssize_t interleavedBufferSize (snd_pcm_hw_params_t *params)
ssize_t interleavedBufferSize (snd_pcm_hw_params_t *params)
ssize_t interleavedBufferSize (snd_pcm_hw_params_t *params)
void longinfo ()
void longinfo ()
void longinfo ()
AudioParammode (int m)
AudioParammode (int m)
ssize_t noninterleavedBufferSize (snd_pcm_hw_params_t *params)
ssize_t noninterleavedBufferSize (snd_pcm_hw_params_t *params)
ssize_t noninterleavedBufferSize (snd_pcm_hw_params_t *params)
void open ()
void open ()
void open ()
void open ()
void open ()
void openInputAudioDev ()
void openInputAudioDev ()
void openOutputAudioDev ()
void openOutputAudioDev ()
AudioParamoutputs (int n)
AudioParamoutputs (int n)
AudioParamoutputs (int n)
float ** outputSoftChannels ()
float ** outputSoftChannels ()
float ** outputSoftChannels ()
AudioParamperiods (int p)
int periods ()
int periods ()
int periods ()
void printCardInfo (snd_ctl_card_info_t *ci)
void printCardInfo (snd_ctl_card_info_t *ci)
void printCardInfo (snd_ctl_card_info_t *ci)
void printHWParams (snd_pcm_hw_params_t *params)
void printHWParams (snd_pcm_hw_params_t *params)
void printHWParams (snd_pcm_hw_params_t *params)
void read ()
bool read (int frames, float *channel[])
bool read (int frames, float *channel[])
void read ()
void read ()
void setAudioParams (snd_pcm_t *stream, snd_pcm_hw_params_t *params)
void setAudioParams (snd_pcm_t *stream, snd_pcm_hw_params_t *params)
void setAudioParams (snd_pcm_t *stream, snd_pcm_hw_params_t *params)
void shortinfo ()
void shortinfo ()
void shortinfo ()
void write ()
bool write (int frames, float *channel[])
bool write (int frames, float *channel[])
void write ()
void write ()

Public Attributes

int fBuffering
unsigned int fBuffering
unsigned int fCardInputs
const char * fCardName
unsigned int fCardOutputs
unsigned int fChanInputs
unsigned int fChanOutputs
const char * fDeviceName
int fFramesPerBuffer
unsigned int fFrequency
void * fInputCardBuffer
void * fInputCardChannels [256]
snd_pcm_t * fInputDevice
snd_pcm_hw_params_t * fInputParams
float * fInputSoftChannels [256]
void * fOutputCardBuffer
void * fOutputCardChannels [256]
snd_pcm_t * fOutputDevice
snd_pcm_hw_params_t * fOutputParams
float * fOutputSoftChannels [256]
unsigned int fPeriods
int fRWMode
snd_pcm_access_t fSampleAccess
snd_pcm_format_t fSampleFormat
int fSamplingFrequency
unsigned int fSoftInputs
unsigned int fSoftOutputs

Private Attributes

short * fInputBuffer
int fInputBufferSize
int fInputDevice
int fNumOfInputChannels
int fNumOfOutputChannels
short * fOutputBuffer
int fOutputBufferSize
int fOutputDevice
AudioParam fParam

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index