[alsa-devel] Digital-Out (Toslink) on HDA-Intal (AD1986A)?
Martin Egge
mailinglists at martin.egge.info
Mon Feb 11 19:22:19 CET 2008
Hi,
Am Freitag, 8. Februar 2008 schrieb Takashi Iwai:
> At Thu, 7 Feb 2008 23:04:00 +0100,
> Martin Egge wrote:
> > Am Donnerstag, 7. Februar 2008 schrieb Takashi Iwai:
> > > If my guess is correct, you can propbably get SPDIF output via "spdif"
> > > output. What happens with the below?
> > >
> > > % aplay -Dplug:spdif foo.wav
> >
> > You are right. Choosing plug:spdif plays the sound cia the SDIF-Out. Of
> > course this does not play the sound via the internal speakers when no
> > SPDIF is connected.
> >
> > But I'd prefer the old behavior from 1.0.15 where the default device was
> > playing sound via SPDIF when connected and via internal speakers when
> > SDIF is not connected.
>
> Try the patch below. This adds the mixer switch "Analog To SPDIF".
> If this is on, the supported format is more limited so that the
> default PCM can route to SPDIF. If this switch is off, dmix will
> choose 32bit automatically.
The patch works perfectly for me. I like this new switch. Perhaps you should
rename it to "Analog to IEC958 Output". I've seen this name on some other
cards with ALSA.
Regards,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20080211/d8880c71/attachment.sig
More information about the Alsa-devel
mailing list