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
> {>
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 ]
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. 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