Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Sansa AMSv2: enable PLLB and use it to generate a more accurate PCM frequency (playback rate error improves from 1.1% to 0.04%) - FS #10906 by me.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27845 a1c6a512-1295-4272-9138-f99709370657

+8 -1
+8 -1
firmware/target/arm/as3525/clock-target.h
··· 73 73 #define AS3525_PLLA_FREQ 240000000 74 74 #define AS3525_PLLA_SETTING 0x113B 75 75 76 - #define AS3525_PLLB_FREQ 192000000 76 + #define AS3525_PLLB_FREQ 192000000 /* allows 44.1kHz with 0.04% error*/ 77 77 #define AS3525_PLLB_SETTING 0x155F 78 78 79 79 #define AS3525_FCLK_PREDIV 0 ··· 146 146 #endif /* CONFIG_CPU == AS3525v2 */ 147 147 148 148 /* MCLK */ 149 + #if CONFIG_CPU == AS3525v2 150 + /* on AMSv2 we can enable PLLB for MCLK to increase PCM sample rate accuracy 151 + with no significant impact on battery life */ 152 + #define AS3525_MCLK_SEL AS3525_CLK_PLLB 153 + #else 149 154 #define AS3525_MCLK_SEL AS3525_CLK_PLLA 155 + #endif /* CONFIG_CPU == AS3525v2 */ 156 + 150 157 #if (AS3525_MCLK_SEL==AS3525_CLK_PLLA) 151 158 #define AS3525_MCLK_FREQ AS3525_PLLA_FREQ 152 159 #elif (AS3525_MCLK_SEL==AS3525_CLK_PLLB)