and here's the patch to enable changing the output device for linux
ALSA.
Usage:
Get the alsa device.
Code:
--------------------
squeezeslave -L
Output devices:
0: (ALSA) HDA Intel: ALC883 Analog (hw:0,0) (11/46)
1: (ALSA) HDA Intel: ALC883 Digital (hw:0,1) (11/46)
3: (ALSA) Logitech USB Headset: USB Audio (hw:1,0) (11/46)
4: (ALSA) front (11/46)
5: (ALSA) surround40 (11/46)
6: (ALSA) surround41 (11/46)
7: (ALSA) surround50 (11/46)
8: (ALSA) surround51 (11/46)
9: (ALSA) surround71 (11/46)
10: (ALSA) iec958 (11/46)
11: (ALSA) spdif (11/46)
*12: (ALSA) default (42/46)
13: (ALSA) dmix (42/42)
--------------------
For devices in the list that have a (hw) number beside the device name
you must use that.
If I wanted to use the Logitech USB headset I'd set USEALSADEVICE like
this.
Code:
--------------------
export USEALSADEVICE="hw:1,0"
--------------------
Then run squeezeplay.
Code:
--------------------
squeezeplay
--------------------
If I want to use the "front" speakers device I'd use
Code:
--------------------
export USEALSADEVICE="front"
squeezeplay
--------------------
since there is no (hw) number listed beside it.
To change back to the default ALSA device remove the environment
variable.
Code:
--------------------
unset USEALSADEVICE
--------------------
Squeezeplay only checks the environment variable at startup. So to use
a new audio device, you must quit squeezeplay, export USEALSADEVICE
with the new device and start squeezeplay again.
+-------------------------------------------------------------------+
|Filename: usealsadevice-alsa.patch.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=11833|
+-------------------------------------------------------------------+
--
ralphy
Ralphy
*4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=87473
_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive