I installed a M-Audio Revolution 7.1 (snd-ice1724) in my mythtv box. I
had mythtv working fine with the machine's onboard sound (snd-trident)
using OSS emulation. The revo works correctly for things like xine,
mplayer, aplay (of course), play, etc. In mythtv, however, I get no
sound. 

I dug into the mythtv code, and found that it is doing a call to
ioctl(audiofd, SNDCTL_DSP_GETOSPACE, &info) and using the info.bytes
value that is returned to determine whether or not to write to the card.
The first call to SNDCTL_DSP_GETOSPACE appears to return a reasonable
number, but from that point, the numbers returned are all over the
place, and are often negative. So, mythtv, of course, won't write to the
card. I find that if I comment out the code that checks the values
returned from GETOSPACE, I get sound, but it is out of sync with the
video (sound slightly behind video).

I'm using the dmix plugin, if that matters, but I got the same results
without the plugin.

I'm willing to debug this further, but I've not done anything with alsa
or soundcards before, so I need a bit of help in determining where to
look.

-- 

Ann P.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to