Skip to content

Commit

Permalink
V4L/DVB (6832): cx88-blackbird: don't mute audio when stopping the codec
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 7b27d45 commit 6a0bc9a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/media/video/cx88/cx88-blackbird.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,15 +627,11 @@ static int blackbird_start_codec(struct file *file, void *priv)

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;
Expand Down

0 comments on commit 6a0bc9a

Please sign in to comment.