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.

settings_list: apply playback freq changes only when current sink is builtin

Change-Id: I1410b9fef621be31676f10269fdb07d31d827acb

mojyack f3431680 38d978a5

+3 -1
+3 -1
apps/settings_list.c
··· 31 31 #include "button.h" 32 32 #include "backlight.h" 33 33 #include "sound.h" 34 + #include "pcm_sink.h" 34 35 #include "settings.h" 35 36 #include "rbpaths.h" 36 37 #include "settings_list.h" ··· 758 759 759 760 static void playback_frequency_callback(int sample_rate_hz) 760 761 { 761 - audio_set_playback_frequency(sample_rate_hz); 762 + if (pcm_current_sink() == PCM_SINK_BUILTIN) 763 + audio_set_playback_frequency(sample_rate_hz); 762 764 } 763 765 #endif /* HAVE_PLAY_FREQ */ 764 766