1
0
Fork 0
forked from len0rd/rockbox

imx233: don't disable monitor when recording from radio

Change-Id: Ibefb0b12b7ff787f5b8a837cab1f764148a8b0c6
This commit is contained in:
Amaury Pouly 2013-07-13 02:39:44 +02:00
parent 9e535e9864
commit 15c8ec8987

View file

@ -101,16 +101,11 @@ static void select_audio_path(void)
#if (INPUT_SRC_CAPS & SRC_CAP_FMRADIO) #if (INPUT_SRC_CAPS & SRC_CAP_FMRADIO)
/* recording and playback */ /* recording and playback */
case AUDIO_SRC_FMRADIO: case AUDIO_SRC_FMRADIO:
if (recording) audiohw_set_monitor(true);
{ if(recording)
audiohw_set_monitor(false);
audiohw_enable_recording(false); audiohw_enable_recording(false);
}
else else
{
audiohw_disable_recording(); audiohw_disable_recording();
audiohw_set_monitor(true); /* line 2 analog audio path */
}
break; break;
#endif /* (INPUT_SRC_CAPS & SRC_CAP_FMRADIO) */ #endif /* (INPUT_SRC_CAPS & SRC_CAP_FMRADIO) */
} }