VMUPro SDK v1.0.0
Application Development SDK for the VMUPro
|
VMUPro SDK Audio API. More...
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Typedefs | |
typedef int16_t | vmupro_audio_sample_t |
Audio sample format. | |
Functions | |
bool | vmupro_audio_start_listen_mode (void) |
void | vmupro_audio_exit_listen_mode (void) |
Exit audio listen mode. | |
int | vmupro_audio_add_stream_samples (const vmupro_audio_sample_t *samples, int count, bool applyGlobalVolume) |
void | vmupro_audio_clear_ring_buffer (void) |
int | vmupro_get_global_volume (void) |
void | vmupro_set_global_volume (int volume) |
VMUPro SDK Audio API.
This header provides audio functionality for the VMUPro device.
Definition in file vmupro_audio.h.
typedef int16_t vmupro_audio_sample_t |
Audio sample format.
Currently only 16-bit signed samples are supported.
Definition at line 30 of file vmupro_audio.h.
int vmupro_audio_add_stream_samples | ( | const vmupro_audio_sample_t * | samples, |
int | count, | ||
bool | applyGlobalVolume | ||
) |
void vmupro_audio_clear_ring_buffer | ( | void | ) |
void vmupro_audio_exit_listen_mode | ( | void | ) |
Exit audio listen mode.
Stops audio streaming mode and releases audio resources. Should be called when audio streaming is no longer needed.
bool vmupro_audio_start_listen_mode | ( | void | ) |
int vmupro_get_global_volume | ( | void | ) |
void vmupro_set_global_volume | ( | int | volume | ) |