summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/ibasso/pcm-ibasso.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-08-09 14:46:41 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-08-09 19:53:13 +0000
commit92d66f761f030bd6ec022e2f969d044e3bfd8c00 (patch)
treee7798731f9750a493b5f1860bfe609e9b293cda1 /firmware/target/hosted/ibasso/pcm-ibasso.c
parent0d4752e3f6b7558ce260fff04c70af643d222172 (diff)
downloadrockbox-92d66f761f030bd6ec022e2f969d044e3bfd8c00.tar.gz
rockbox-92d66f761f030bd6ec022e2f969d044e3bfd8c00.zip
Un-hardcode 44.1KHz settings from ALSA and iBasso PCM code
Change-Id: I69a69dabc799f360b73b1cf252645bd4cde13715
Diffstat (limited to 'firmware/target/hosted/ibasso/pcm-ibasso.c')
-rw-r--r--firmware/target/hosted/ibasso/pcm-ibasso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/ibasso/pcm-ibasso.c b/firmware/target/hosted/ibasso/pcm-ibasso.c
index 14ef298af0..4721501d25 100644
--- a/firmware/target/hosted/ibasso/pcm-ibasso.c
+++ b/firmware/target/hosted/ibasso/pcm-ibasso.c
@@ -310,7 +310,7 @@ void pcm_play_dma_init(void)
310 pcm_thread_run relies on this size match. See pcm_mixer.h. 310 pcm_thread_run relies on this size match. See pcm_mixer.h.
311 */ 311 */
312 _config.channels = 2; 312 _config.channels = 2;
313 _config.rate = 44100; 313 _config.rate = pcm_sampr;
314 _config.period_size = 256; 314 _config.period_size = 256;
315 _config.period_count = 4; 315 _config.period_count = 4;
316 _config.format = PCM_FORMAT_S16_LE; 316 _config.format = PCM_FORMAT_S16_LE;