Hello Ralphy,
i found how to make it in one line:
./squeezeslave localhost -o `./squeezeslave -L | grep gigaoutput12 |awk
'{printf("%d\n",$1)}'` -mac 10:00:00:00:00:01 --retry
i stuck with another strange issue.
when i initialy do -L i get following list.
Output devices:
* 0: GIGAPort AG: USB Audio (hw:0,0)
1: SiS SI7012: SiS SI7012 (hw:1,0)
2: SiS SI7012: SiS SI7012 - MIC ADC (hw:1,1)
3: USB AUDIO : USB Audio (hw:2,0)
4: M Audio Delta 1010LT: ICE1712 multi (hw:3,0)
5: front
6: surround40
7: surround71
8: iec958
9: spdif
10: maudio
11: gigaport
12: gigaoutput12
13: gigaoutput34
14: gigaoutput56
15: gigaoutput78
16: maduio12
17: maudio34
18: maudio56
19: maudio78
20: usb
21: usbstereo
22: default
23: dmix
after i run
/root/squeezeslave/bin/squeezeslave localhost -o `./squeezeslave -L |
grep gigaoutput12 |awk '{printf("%d\n",$1)}'` -mac 10:00:00:00:00:01
--retry
to allocate 1st slave.
I do again squeezeslave -L and i get's new list but shorter.
Output devices:
* 0: SiS SI7012: SiS SI7012 (hw:1,0)
1: SiS SI7012: SiS SI7012 - MIC ADC (hw:1,1)
2: USB AUDIO : USB Audio (hw:2,0)
3: M Audio Delta 1010LT: ICE1712 multi (hw:3,0)
4: maudio
5: gigaport
6: gigaoutput12
7: gigaoutput34
8: gigaoutput56
9: gigaoutput78
10: maduio12
11: maudio34
12: maudio56
13: maudio78
14: usb
15: usbstereo
What the problem with ALSA?
--
romanr
------------------------------------------------------------------------
romanr's Profile: http://forums.slimdevices.com/member.php?userid=11326
View this thread: http://forums.slimdevices.com/showthread.php?t=67617
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix