Jack2 1.9.6
|
#include <JackAlsaAdapter.h>
Public Member Functions | |
const char * | cardName () |
int | frequency () |
int | buffering () |
float ** | inputSoftChannels () |
float ** | outputSoftChannels () |
AudioInterface (const AudioParam &ap=AudioParam()) | |
AudioInterface (jack_nframes_t buffer_size, jack_nframes_t sample_rate) | |
int | open () |
int | close () |
int | setAudioParams (snd_pcm_t *stream, snd_pcm_hw_params_t *params) |
ssize_t | interleavedBufferSize (snd_pcm_hw_params_t *params) |
ssize_t | noninterleavedBufferSize (snd_pcm_hw_params_t *params) |
int | read () |
int | write () |
int | shortinfo () |
int | longinfo () |
void | printCardInfo (snd_ctl_card_info_t *ci) |
void | printHWParams (snd_pcm_hw_params_t *params) |
Public Attributes | |
snd_pcm_t * | fOutputDevice |
snd_pcm_t * | fInputDevice |
snd_pcm_hw_params_t * | fInputParams |
snd_pcm_hw_params_t * | fOutputParams |
snd_pcm_format_t | fSampleFormat |
snd_pcm_access_t | fSampleAccess |
unsigned int | fCardInputs |
unsigned int | fCardOutputs |
unsigned int | fPeriod |
void * | fInputCardBuffer |
void * | fOutputCardBuffer |
void * | fInputCardChannels [256] |
void * | fOutputCardChannels [256] |
float * | fInputSoftChannels [256] |
float * | fOutputSoftChannels [256] |
An ALSA audio interface
Definition at line 119 of file JackAlsaAdapter.h.
int Jack::AudioInterface::open | ( | ) | [inline] |
Open the audio interface
Definition at line 216 of file JackAlsaAdapter.h.
int Jack::AudioInterface::read | ( | ) | [inline] |
Read audio samples from the audio card. Convert samples to floats and take care of interleaved buffers
Definition at line 361 of file JackAlsaAdapter.h.
int Jack::AudioInterface::write | ( | ) | [inline] |
write the output soft channels to the audio card. Convert sample format and interleaves buffers when needed
Definition at line 428 of file JackAlsaAdapter.h.
int Jack::AudioInterface::shortinfo | ( | ) | [inline] |
print short information on the audio device
Definition at line 513 of file JackAlsaAdapter.h.
int Jack::AudioInterface::longinfo | ( | ) | [inline] |
print more detailled information on the audio device
Definition at line 531 of file JackAlsaAdapter.h.