We should not mute the audio input when we stop the codec,
because it will interfere with the live uncompressed stream.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Reviewed-by: Jelle Foks <jelle@foks.8m.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
static int blackbird_stop_codec(struct cx8802_dev *dev)
{
- struct cx88_core *core = dev->core;
-
blackbird_api_cmd(dev, CX2341X_ENC_STOP_CAPTURE, 3, 0,
BLACKBIRD_END_NOW,
BLACKBIRD_MPEG_CAPTURE,
BLACKBIRD_RAW_BITS_NONE
);
- /* mute audio source */
- cx_set(AUD_VOL_CTL, (1 << 6));
dev->mpeg_active = 0;
return 0;