From 735f8273f067869596ccef2e537c941c270ca950 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 20 Dec 2005 21:49:47 +0000 Subject: H300: quick fix for the broken line-in recording git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8266 a1c6a512-1295-4272-9138-f99709370657 --- apps/playback.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'apps') 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; -- cgit v1.2.3