diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playback.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c index fc77bc12dd..dda3ea7bdd 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -46,6 +46,7 @@ #include "playback.h" #include "pcmbuf.h" #include "pcm_playback.h" +#include "pcm_record.h" #include "buffer.h" #include "dsp.h" #ifdef HAVE_LCD_BITMAP @@ -2385,9 +2386,15 @@ void test_unbuffer_event(struct mp3entry *id3, bool last_track) void audio_init(void) { static bool voicetagtrue = true; - + logf("audio api init"); pcm_init(); + +#if defined(HAVE_RECORDING) && !defined(SIMULATOR) + /* Set the input multiplexer to Line In */ + pcm_rec_mux(0); +#endif + filebufused = 0; filling = false; current_codec = CODEC_IDX_AUDIO; |