diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-09-30 22:12:35 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-01 11:56:57 -0400 |
commit | e43726df2cd1cb8275234d60b818d417cfe730b5 (patch) | |
tree | 6f1fb0659dccaafd47394c7de860d4dc3e46b0a4 /apps/playback.c | |
parent | 6459fa0765745e951a6731974164bbcdc9551dfe (diff) | |
download | rockbox-e43726df2c.tar.gz rockbox-e43726df2c.zip |
hosted pcm-alsa improvements
* xduoo x3ii/x20: Better line out support
* less granular volume settings (too many steps before)
* Better handling of swiching sample rates
* Log actual sample rate in debug menu
Most credit goes to Roman Stolyarov
Additional integration [re]work by myself
Change-Id: I63af3740678cf2ed3170f61534e1029c81826bb6
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c index 922837af18..c7cfef018a 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -44,6 +44,7 @@ #include "storage.h" #include "misc.h" #include "settings.h" +#include "audiohw.h" #ifdef HAVE_TAGCACHE #include "tagcache.h" @@ -3850,6 +3851,10 @@ static void audio_change_frequency_callback(unsigned short id, void *data) static bool starting_playback = false; struct mp3entry *id3; +#ifdef AUDIOHW_HAVE_SET_OUTPUT + audiohw_set_output(); +#endif + switch (id) { case PLAYBACK_EVENT_START_PLAYBACK: |