mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
pcm_mixer: introduce mixer_play_cbs
the added sampr_changed callback can be used to notify the mixer user of frequency changes Change-Id: I309db76576090fd5c019a1ba082af446129dd4a3
This commit is contained in:
parent
86639acc5e
commit
cb04b8167c
20 changed files with 128 additions and 47 deletions
|
|
@ -782,7 +782,7 @@ struct plugin_api {
|
|||
void (*mixer_channel_calculate_peaks)(enum pcm_mixer_channel channel,
|
||||
struct pcm_peaks *peaks);
|
||||
void (*mixer_channel_play_data)(enum pcm_mixer_channel channel,
|
||||
pcm_play_callback_type get_more,
|
||||
const struct mixer_play_cbs* cbs,
|
||||
const void *start, size_t size);
|
||||
void (*mixer_channel_play_pause)(enum pcm_mixer_channel channel, bool play);
|
||||
void (*mixer_channel_stop)(enum pcm_mixer_channel channel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue