pcm: introduce pcm_sink

move target-specific pcm operations into builtin_pcm_sink.
in subsequent commits, another pcm_sink is added, and it becomes
possible to switch between them.

Change-Id: I8f8b9661e01d6e6472f34224ddc3760856778457
This commit is contained in:
mojyack 2025-12-17 16:19:07 +09:00
parent 9931781185
commit dfa33c246b
29 changed files with 846 additions and 424 deletions

View file

@ -1783,6 +1783,10 @@ void pcm_play_unlock(void)
\group sound
\description
const struct pcm_sink_caps* pcm_current_sink_caps(enum pcm_sink_ids sink)
\group sound
\description
void pcm_record_data(pcm_rec_callback_type more_ready, pcm_status_callback_type status_cb, void *start, size_t size)
\group sound
\conditions (defined(HAVE_RECORDING))