#include <audio.h>
Data Fields | |
te_audio_rec_play | play_record |
char | name [AUDIO_DEVICE_NAME_LENGTH] |
int32_t | samplesize |
int32_t | sample_frequency |
int32_t | format |
int32_t | handle |
te_audio_segments | buffer_segments |
int32_t | audio_buffer_size |
int32_t | fragsize |
uint8_t * | audio_buffer_raw |
te_audio_channels | dsp_channels |
int32_t | samples |
audio_error_message_handler | error_msg_handler |
Definition at line 67 of file audio.h.
Record or Playback device
Definition at line 69 of file audio.h.
Referenced by audio_create(), and audio_open_oss().
char ts_audio_pub::name[AUDIO_DEVICE_NAME_LENGTH] |
Both OSS and ALSA devices are opened via a name.
Definition at line 71 of file audio.h.
Referenced by audio_device_name_get(), audio_device_name_set(), audio_init_oss(), and audio_open_oss().
int32_t ts_audio_pub::samplesize |
int32_t ts_audio_pub::sample_frequency |
Sample frequency of audio device in Hertz..
Definition at line 75 of file audio.h.
Referenced by audio_init_oss(), audio_open(), audio_sample_rate_get(), and audio_sample_rate_set().
int32_t ts_audio_pub::format |
int32_t ts_audio_pub::handle |
IO handle for audio device, -1 if unable to open.
Definition at line 79 of file audio.h.
Referenced by audio_close_oss(), audio_init_oss(), audio_open_oss(), audio_play_oss(), and audio_record_oss().
Number of audio buffer segments.
Definition at line 82 of file audio.h.
Referenced by audio_init_oss().
int32_t ts_audio_pub::audio_buffer_size |
Number of bytes in the audio buffer (twice samples per segment).
Definition at line 84 of file audio.h.
Referenced by audio_double2raw(), audio_init_oss(), audio_play_oss(), audio_raw2double(), and audio_record_oss().
int32_t ts_audio_pub::fragsize |
uint8_t* ts_audio_pub::audio_buffer_raw |
The raw audio buffer.
Definition at line 87 of file audio.h.
Referenced by audio_create(), audio_double2raw(), audio_init_oss(), audio_play_oss(), audio_raw2double(), and audio_record_oss().
Number of DSP channels.
Definition at line 89 of file audio.h.
Referenced by audio_double2raw(), audio_init_oss(), and audio_raw2double().
int32_t ts_audio_pub::samples |
Definition at line 90 of file audio.h.
Referenced by audio_device_samples_get(), and audio_init_oss().
Callback for GUI handler to display error messages.
Definition at line 92 of file audio.h.
Referenced by audio_create(), audio_init_oss(), audio_open_oss(), audio_play_oss(), and audio_record_oss().