Re: Digital-Out (Toslink) on HDA-Intal (AD1986A)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux