[mythtv-users] SPDIF audio stopped working
Joel McKee Cooper
joel at mckooper.com
Tue Jan 13 14:39:11 EST 2004
Chris Germano wrote:
> I loved my SPDIF out when it worked. I was setting it up yesterday and
> it worked in mythtv for the first time. Then I added the following to my
> ogle config so that I can play DVD's and since then MythTV's
> livetv/watch recording playback don't come through. However I can use
> mplayer or ogle perfectly with any kind of audio through the SPDIF. I
> have an Audigy installed running the EMU10K1 ALSA driver. I also have
> another mythbox with an Audigy, I just set it up there and it works but
> I don't use ogle on that one so that's why I do think this did
> something. Any ideas?
>
> <alsa>
> <name>iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2</name>
> </alsa>
>
> Both have an Audigy running EMU10K1 drivers, and the exact same settings
> in alsamixer. Both output to /dev/dsp, and have done so before fine.
>
> Machine 1:
> mplayer - perfect spdif output
> ogle - perfect spdif output
> mythtv - nothing at all
>
> Machine 2:
> mplayer - perfect spdif output
> mythtv - perfect spdif output
> ogle has never been run/installed on this machine
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
I had a very similar problem with my SB Live! What was happening was
that ogle was setting up the s/pdif output for compressed digital (e.g.
AC-3), but when it was done it wouldn't set it back for PCM. Now I'm no
Linux guru, so my solution might not be the best, but it's currently
working :)
I just wrote two scripts:
[blah]$ cat playDVD
/usr/bin/ogle
/home/joel/back_to_PCM
[blah]$ cat back_to_PCM
amixer -q cset numid=34 off
amixer -q cset numid=171 04820002
So in Myth, instead of executing ogle to play DVDs, I use the playDVD
script. As to the cset's I'm using, I have no recollection how I came
up with those, nor do I know if they're the same for the Audigy. I'm
sure they're out there on the web somewhere. You might try them,
though, and see what happens.
BTW, mplayer seems to switch back to PCM on its own when it exits...
-Joel
More information about the mythtv-users
mailing list