[mythtv-users] alsa spdif works with myth but not xine, aplay or mplayer

Al McIntosh al at allanmcintosh.com
Sat Feb 21 15:06:23 UTC 2009


On Sat, Feb 21, 2009 at 9:53 AM, Jean-Yves Avenard <jyavenard at gmail.com>wrote:

> Hi
>
> 2009/2/22 Eric Sharkey <eric at lisaneric.org>:
> >
> > This is incorrect.  The poster is asking about non-DTS and non-ac3 audio.
>
> Ooops, I read that he wanted dts
>
> >
> > In other words, how do you get normal PCM audio from normal linux
> > sound producing apps to go out over SPDIF and not analog?
> >
> > I'm not sure off the top of my head.
>
> That's what .asoundrc is for
>
>

This is what I have been using put regular pcm does not get passed through:
almost as though ~/.asoundrc is being ignored...

I have used card 0 in place of Card SB also. shrug.


pcm.!default {
  type plug
  slave.pcm "digital-hw"
}

ctl.!default {
  type hw
  card SB
}

pcm.digital {
  type plug
  slave.pcm "digital-hw"
}

ctl.digital {
  type hw
  card SB
}

pcm.digital-hw {
  type hw
  card SB
  device 1
}

ctl.digital-hw {
  type hw
  card SB
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090221/906098aa/attachment.htm>


More information about the mythtv-users mailing list