Sergey Kolosov wrote: > I need to definie the default pcm device by enviroment variabe. > $ ALSA_PCM_DEVICE=2 mpg123 -v test.wav > > But sound play on first pcm device.
The "default" device of your card always uses the first device. Only the "hw" and "plughw" devices are affected by ALSA_PCM_DEVICE. HTH Clemens ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user