I just tried running two squeezeslaves on the default ALSA device and
both streams played at the same time.

$ 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) Sennheiser 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)
14: (OSS) /dev/dsp (11/46)
15: (OSS) /dev/dsp1 (11/46)

$ squeezeslave -R sbserver &
[1] 17954
$ squeezeslave -R -m00:00:00:00:00:02 sbserver &
[2] 17959

However, if I tried to run two instances on the USB headset by adding
-o3 to the command line the second instance could not open the device. 
Which I think is what you're seeing with MythTV.

$ squeezeslave -o3 -R sbserver &
[1] 18009
$ squeezeslave -o3 -R -m00:00:00:00:00:02 sbserver &
PortAudio error7: No output devices found.
[2]+ Exit 255

The portaudio library that squeezeslave uses for sound would be keeping
the file open.  I also tried running two instances of squeezeslave,
using the usb soundcard on the mac (CoreAudio) and windows (Direct
Sound).  Both OSes allowed the two squeezeslaves to play at the same
time on the same device.  So it appears to be unique to ALSA.

I should be able to look into this next week.


-- 
ralphy

Ralphy

*4*-Classics, *2*-Booms, *11*-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&currency_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=83636

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to