Ulrich Lauther <[EMAIL PROTECTED]> writes:

> the Alsa-sound-mini-HOWTO says:
>
> 7.10 Tip: use the ALSA devices
>
> If you had sound support in your Linux before, then your
> applications will probably all point to /dev/pcm0, /dev/audio and
> /dev/mixer. This is fine, if you use OSS compatibility with the
> snd-pcm1-oss module. It might be better, however, to use the real
> ALSA devices, those found in /dev/snd/.
>
>
> How do I do this?  How, for instance, do I tell aumix where to look?

User space programs don't use ALSA device files directly. They access
them via alsa-lib. To do this the programs have to be coded for
alsa-lib. If the program has been written for OSS this doesn't work.
An example for an ALSA device would be hw:0,0 which means hw (direct
access) card 0, device 0. As there is no intermediating layer
(i.e. for samplerate conversion) you normally don't want to do
this (except you know exactly what you do). The 'default' device 
should do fine.

How exactly you configure the ALSA device depends on the application.
Low level ALSA tools, e.g. aplay have the '-D' option.

For ALSA mixing you should try alsamixer (curses based) or amixer (low
level CLI).  There are also several GUI Frontends out there,
e.g. gnome-alsamixer.

Skimming over aumix, I suspect that it does not have native ALSA
support.  The TODO file states "add support for ALSA" and this is from
2002!

Matthias


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to