* Audio on cx18 based cards (Hauppauge HVR1600)
@ 2009-09-03 11:14 Simon Farnsworth
2009-09-03 11:37 ` Andy Walls
0 siblings, 1 reply; 2+ messages in thread
From: Simon Farnsworth @ 2009-09-03 11:14 UTC (permalink / raw)
To: Linux Media Mailing List
Hello,
I'm trying to make a Hauppauge HVR1600 (using the cx18 driver) work well
with Xine; Hans de Goede has sorted out the video side of the card for
me, and I now need to get the audio side cleared up.
I'm used to cards like the Hauppauge HVR1110, which exports an ALSA
interface for audio capture; the HVR1600 doesn't do this. Instead, it
exports a "video" device, /dev/video24 that appears to have some
variation on PCM audio on it instead of video.
How should I handle this in Xine's input_v4l.c? Should the driver be
changed to use ALSA? If not, how do I detect this case, and how should I
configure the PCM audio device?
If the driver needs modifying, I can do this, but I'll need an
explanation of how to do so without breaking things for other people -
I've not done much with ALSA drivers or with V4L2 drivers.
--
Simon Farnsworth
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Audio on cx18 based cards (Hauppauge HVR1600)
2009-09-03 11:14 Audio on cx18 based cards (Hauppauge HVR1600) Simon Farnsworth
@ 2009-09-03 11:37 ` Andy Walls
0 siblings, 0 replies; 2+ messages in thread
From: Andy Walls @ 2009-09-03 11:37 UTC (permalink / raw)
To: Simon Farnsworth; +Cc: Linux Media Mailing List
On Thu, 2009-09-03 at 12:14 +0100, Simon Farnsworth wrote:
> Hello,
>
> I'm trying to make a Hauppauge HVR1600 (using the cx18 driver) work well
> with Xine; Hans de Goede has sorted out the video side of the card for
> me, and I now need to get the audio side cleared up.
>
> I'm used to cards like the Hauppauge HVR1110, which exports an ALSA
> interface for audio capture; the HVR1600 doesn't do this. Instead, it
> exports a "video" device, /dev/video24 that appears to have some
> variation on PCM audio on it instead of video.
Yes, it's PCM straight from the capture unit in the CX23418.
> How should I handle this in Xine's input_v4l.c? Should the driver be
> changed to use ALSA?
It would be nice to have. Your the first person to really need it. The
end result can be ported to ivtv too.
> If not, how do I detect this case, and how should I
> configure the PCM audio device?
It can be configured with the V4L2 control ioctl()s. It should the be a
case of making select() and read() calls.
> If the driver needs modifying, I can do this, but I'll need an
> explanation of how to do so without breaking things for other people -
> I've not done much with ALSA drivers or with V4L2 drivers.
The skeleton of cx18-alsa support is almost done, but the heavy lifting
is not.
http://linuxtv.org/hg/~awalls/mc-lab
I'll push any uncommitted changes I have lying around to that repo
tonight.
Regards,
Andy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-03 11:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-03 11:14 Audio on cx18 based cards (Hauppauge HVR1600) Simon Farnsworth
2009-09-03 11:37 ` Andy Walls
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox