diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-12-20 21:49:47 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-12-20 21:49:47 +0000 |
commit | 735f8273f067869596ccef2e537c941c270ca950 (patch) | |
tree | 08ea6cc3293ed329b86bed7deeb691cf0bc9f391 /apps | |
parent | da75d2d603d536c32ed596d09570be101573517c (diff) |
H300: quick fix for the broken line-in recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8266 a1c6a512-1295-4272-9138-f99709370657
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; |