Thanks for the answer. But I have not understood, whether it is possible to carry out a choice default sound device by enviroment variable (maybe through plugins). If it you probably could give an example.

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

Reply via email to