mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Un-hardcode 44.1KHz settings from ALSA and iBasso PCM code
Change-Id: I69a69dabc799f360b73b1cf252645bd4cde13715
This commit is contained in:
parent
0d4752e3f6
commit
92d66f761f
2 changed files with 12 additions and 14 deletions
|
|
@ -310,7 +310,7 @@ void pcm_play_dma_init(void)
|
|||
pcm_thread_run relies on this size match. See pcm_mixer.h.
|
||||
*/
|
||||
_config.channels = 2;
|
||||
_config.rate = 44100;
|
||||
_config.rate = pcm_sampr;
|
||||
_config.period_size = 256;
|
||||
_config.period_count = 4;
|
||||
_config.format = PCM_FORMAT_S16_LE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue