audio
[Device proxies]
Collaboration diagram for audio:
Detailed Description
The audio proxy provides access to drivers supporting the audio_interface.See the Player User Manual for a complete description of the drivers that support this interface.
Classes | |
struct | playerc_audio_t |
Audio device data. More... | |
Functions | |
playerc_audio_t * | playerc_audio_create (playerc_client_t *client, int index) |
Create an audio proxy. | |
void | playerc_audio_destroy (playerc_audio_t *device) |
Destroy an audio proxy. | |
int | playerc_audio_subscribe (playerc_audio_t *device, int access) |
Subscribe to the audio device. | |
int | playerc_audio_unsubscribe (playerc_audio_t *device) |
Un-subscribe from the audio device. | |
int | playerc_audio_wav_play_cmd (playerc_audio_t *device, uint32_t data_count, uint8_t data[], uint32_t format) |
Command to play an audio block. | |
int | playerc_audio_wav_stream_rec_cmd (playerc_audio_t *device, uint8_t state) |
Command to set recording state. | |
int | playerc_audio_sample_play_cmd (playerc_audio_t *device, int index) |
Command to play prestored sample. | |
int | playerc_audio_seq_play_cmd (playerc_audio_t *device, player_audio_seq_t *tones) |
Command to play sequence of tones. | |
int | playerc_audio_mixer_multchannels_cmd (playerc_audio_t *device, player_audio_mixer_channel_list_t *levels) |
Command to set mixer levels for multiple channels. | |
int | playerc_audio_mixer_channel_cmd (playerc_audio_t *device, uint32_t index, float amplitude, uint8_t active) |
Command to set mixer levels for a single channel. | |
int | playerc_audio_wav_rec (playerc_audio_t *device) |
Request to record a single audio block Value is returned into wav_data, block length is determined by device. | |
int | playerc_audio_sample_load (playerc_audio_t *device, int index, uint32_t data_count, uint8_t data[], uint32_t format) |
Request to load an audio sample. | |
int | playerc_audio_sample_retrieve (playerc_audio_t *device, int index) |
Request to retrieve an audio sample Data is stored in wav_data. | |
int | playerc_audio_sample_rec (playerc_audio_t *device, int index, uint32_t length) |
Request to record new sample. | |
int | playerc_audio_get_mixer_levels (playerc_audio_t *device) |
Request mixer channel data result is stored in mixer_data. | |
int | playerc_audio_get_mixer_details (playerc_audio_t *device) |
Request mixer channel details list result is stored in channel_details_list. |