pcm_mixer: introduce mixer_buffer_cbs

intended to add sampr_changed callback to buffer hook as well as mixer
playback

Change-Id: I9df6194a884cfb813342a827b7fdc3bccbe3d60c
This commit is contained in:
mojyack 2026-02-24 16:39:42 +09:00 committed by Solomon Peachy
parent cb04b8167c
commit e2040cc98c
5 changed files with 44 additions and 30 deletions

View file

@ -1624,7 +1624,7 @@ void mixer_channel_set_amplitude(enum pcm_mixer_channel channel, unsigned int am
\param amplitude
\description
void mixer_channel_set_buffer_hook(enum pcm_mixer_channel channel, chan_buffer_hook_fn_type fn)
void mixer_channel_set_buffer_hook(enum pcm_mixer_channel channel, const struct mixer_buffer_cbs* cbs)
\param channel
\param fn
\description