Re: Need help with asound.conf

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

 



> The problem is that I can't hear two concurrent audio streams at the
> same time when using the default device. I tried setting things up using
> dmix, but failed miserably. Any ideas what to do to make two
> applications play simultaneously through spdif based on this
> configuration? (It's mainly to get Flash to play through S/PDIF).

The default ALSA config dmixes everything at 48kHz so you shouldn't need
to set that explicitly.  All you should need to do is tell dmix to
output via SPDIF.

For me, hw:0,1 is the SPDIF connector, so I just put this in
/etc/asound.conf:

  defaults.pcm.card 0
  defaults.pcm.device 1

You can also set this if you want something other than 48kHz:

  defaults.pcm.dmix.rate 48000

Make sure you use Flash >= 9 for ALSA support.

Cheers,
Adam.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux