Re: [Alsa-user] using enviroment variable (getenv function) from alsa config file

2006-04-12 Thread Sergey Kolosov
On 4/12/06, Clemens Ladisch <[EMAIL PROTECTED]> wrote: Sergey Kolosov wrote:> How can use function getenv from alsa config file? I have created .asoundrc> with next contents:> pcm.!default {> type hw> card 0> device > {>

[Alsa-user] using enviroment variable (getenv function) from alsa config file

2006-04-12 Thread Sergey Kolosov
How can use function getenv from alsa config file? I have created .asoundrc with next contents: pcm.!default {     type hw     card 0     device     {     @func igetenv     vars [ MY_TEST_ALSA_DEVICE ]  

Re: [Alsa-user] definition default pcm device by enviroment variable

2006-04-11 Thread Sergey Kolosov
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:>

[Alsa-user] definition default pcm device by enviroment variable

2006-04-09 Thread Sergey Kolosov
I need to  definie the default pcm device by enviroment variabe. I make it: [EMAIL PROTECTED]:~/work/inpro/alsa$ aplay -l List of PLAYBACK Hardware Devices card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 0: CK804 [NVidi