Audio output.
More...
Go to the source code of this file.
|
result_t | audio_ipc_init () |
| Initialize Audio.
|
|
result_t | audio_ipc_list_outputs (char(*names)[0x20], int max_names, uint32_t *num_names) |
| Lists the audio outputs. More...
|
|
result_t | audio_ipc_open_output (const char name[0x20], audio_output_t *out) |
| Opens an audio output. More...
|
|
result_t | audio_ipc_output_get_state (audio_output_t *out, audio_output_state_t *state) |
| Get the current state of the audio output. More...
|
|
result_t | audio_ipc_output_start (audio_output_t *out) |
| Start audio output. More...
|
|
result_t | audio_ipc_output_stop (audio_output_t *out) |
| Stop audio output. More...
|
|
result_t | audio_ipc_output_register_buffer_event (audio_output_t *out, handle_t *event) |
| Get buffer-release event. More...
|
|
result_t | audio_ipc_output_append_buffer (audio_output_t *out, audio_output_buffer_t *buffer) |
| audio_ipc_output_append_buffer More...
|
|
result_t | audio_ipc_output_get_released_buffer (audio_output_t *out, uint32_t *num_released, audio_output_buffer_t **buffer) |
| audio_ipc_output_get_released_buffer More...
|
|
result_t | audio_ipc_output_contains_buffer (audio_output_t *out, audio_output_buffer_t *buffer, bool *contains) |
| audio_ipc_output_contains_buffer More...
|
|
void | audio_ipc_output_close (audio_output_t *out) |
| Closes the audio output. More...
|
|
void | audio_ipc_finalize () |
| Finalize audio.
|
|
result_t audio_ipc_list_outputs |
( |
char(*) |
names[0x20], |
|
|
int |
max_names, |
|
|
uint32_t * |
num_names |
|
) |
| |
Lists the audio outputs.
- Parameters
-
names | Array of audio output names |
max_names | Maximum number of names that will fit in the array |
num_names | Actual number of names returned |
Opens an audio output.
- Parameters
-
audio_ipc_output_append_buffer
- Parameters
-
out | Audio output to append buffer to |
buffer | Audio buffer to append |
Closes the audio output.
- Parameters
-
audio_ipc_output_contains_buffer
- Parameters
-
out | Audio output to query |
buffer | Buffer to query |
contains | Whether or not the buffer has been appended |
audio_ipc_output_get_released_buffer
- Parameters
-
out | Audio output to query |
num_released | Number of released buffers |
buffer | Pointer to released buffer |
Get the current state of the audio output.
- Parameters
-
out | Audio output to query |
state | Returned state |
Get buffer-release event.
- Parameters
-
out | Audio output |
event | Acquired event |
This event is signalled whenever an audio buffer is released.
Start audio output.
- Parameters
-
Stop audio output.
- Parameters
-