Re: Does V4L driver support audio capture?

From: Markus Rechberger
Date: Wed Apr 11 2007 - 03:20:40 EST


On 4/10/07, code GG <codegg@xxxxxxxxx> wrote:
Hi all,
Are there any V4L API supporting audio capture (supposing the TV
card hardware has such ability), just like the APIs and structures for
video capture?


for capturing usually OSS or alsa is used, you might have a look at
the em28xx code and search for audio (VIDIOC_G_AUDIO, VIDIOC_S_AUDIO)

there are drawbacks at the moment that you usually don't know what
audio device belongs to your TV card if you want to capture audio
digitally without looking at your dmesg or reading the individual
description of the created audio device (userspace applications
usually don't know about that and you have to set up the soundcard -
tvtuner bridge manually)

Markus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/