mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
pcm: Make more of the low-level PCM API private
* pcm_play_data * pcm_play_stop * pcm_play_stop_int * pcm_is_playing * pcm_set_frequency * pcm_get_frequency * pcm_apply_settings Now, the only user of these functions are the mixer and recording layers that provide a higher-level API to plugins and the main [playback] application. Outside of the PCM core, pcm_apply_settings() was only used immediately following a call to mixer_set_frequency(), so the latter function now always calls the former. Change-Id: I61c3144dc156b9de9b7963160b525c6d10c6ad4b
This commit is contained in:
parent
be1e074800
commit
ea570c5728
14 changed files with 28 additions and 44 deletions
|
|
@ -1754,10 +1754,6 @@ void pcmbuf_set_low_latency(bool state)
|
|||
\param state
|
||||
\description
|
||||
|
||||
void pcm_apply_settings(void)
|
||||
\group sound
|
||||
\description
|
||||
|
||||
void pcm_calculate_rec_peaks(int *left, int *right)
|
||||
\group sound
|
||||
\conditions (defined(HAVE_RECORDING))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue