[mythtv-users] Myth/spdif no audio, mplayer works fine

John Patrick Poet john at BlueSkyTours.com
Wed Mar 30 16:20:28 UTC 2005


On Tue, 29 Mar 2005, John Patrick Poet wrote:

>
> On Tue, 29 Mar 2005, Kevin Kuphal wrote:
>
> > John Patrick Poet wrote:
> >
> > >
> > > I have AC3 passthrough turned on, and currently have ALSA:iec958 in
> > > the driver box.  I have also tried ALSA:default, and I have even tried
> > > ALSA:cards.pcm.iec958.  Myth does not complain about any of those
> > > setting, it just doesn't work.
> >
> > Try turning off AC3 passthrough.  Unless your broadcast content that you
> > are recording in MythTV has AC3 sound, the AC3 passthrough option should
> > not be checked.  By checking it, you're telling Myth that all your
> > content has AC3 sound and that is should be passed through to the
> > hardware.  However, if your sound is normal stereo or something other
> > than AC3, then I believe that setting will result in no sound if activated.
> >
> > Kevin
>
> Thank you for trying to help.
>
> Unfortunately, that is not the problem.  As long as I use mplayer or aplay
> to do it, I can play both AC3 material as well as WAV/MP3/MP2 material just
> fine.
>
> My asound.conf file looks something like:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> pcm.!default {
>   type plug
>   slave.pcm iec958
> }
>
> pcm.ice1712 {
>   type hw
>   card 0
> }
>
> ctl.ice1712 {
>   type hw
>   card 0
> }
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> With it configured that way, I don't even have to tell mplayer or aplay what
> device to use.  AC3 and non-AC3 material all gets routed to the iec958
> interface, and plays beautifully.  The hardware is also not locked to 48k,
> so I can send 44.1k material as well, and it also plays beautifully.

<snip>


I added:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pcm.ice1712_spdif {
    type plug
    ttable.0.8 1 # S/PDIF left...Delta 9
    ttable.1.9 1 # S/PDIF right...Delta 10
    slave.pcm ice1712
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

to my asound.conf file.  I then told Myth to use "ALSA:ice1712_spdif", and
now everything is working.  I don't understand why mplayer and aplay are
willing to use the default, but Myth needs a special plug.  I am just happy
to have sound again.

Thanks for all the help, everyone.

John


More information about the mythtv-users mailing list