On 4/10/06, Clemens Ladisch <[EMAIL PROTECTED]> wrote:
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