![]() |
Maestro Audio Framework
v 1.7
NXP Semiconductors
|
Audio sink application functions. More...
#include <streamer_element_properties.h>
Data Fields | |
| int(* | open_func )(uint32_t num_buffers) |
| open | |
| void(* | close_func )(void) |
| close | |
| void(* | start_func )(void) |
| start | |
| int(* | process_func )(uint8_t *data, uint32_t size) |
| write / read function | |
| int(* | set_param_func )(uint32_t sample_rate, uint32_t bit_width, uint8_t num_channels, bool transfer, bool dummy_tx, int volume) |
| set parammeters | |
| void(* | get_param_func )(uint32_t *sample_rate, uint32_t *bit_width, uint8_t *num_channels) |
| get parammeters | |
| int(* | mute_func )(bool mute) |
| mute / unmute | |
| int(* | volume_func )(int volume) |
| set volume | |
Those functionalities are defined in the application and are used to control audio sink devices.