> -----Original Message----- > From: discuss-boun...@lists.slimdevices.com > [mailto:discuss-boun...@lists.slimdevices.com] > On Behalf Of ralphy > Sent: 03 December 2010 12:30 > To: discuss@lists.slimdevices.com > Subject: Re: [slim] Squeezeslave v0.9/v1.0 blocking audio o/p from > otherapplications, Fedora > 12, x86_64 > > > 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¤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=83636 > > _______________________________________________ > discuss mailing list > discuss@lists.slimdevices.com > http://lists.slimdevices.com/mailman/listinfo/discuss
Ralphy, Thanks for the reply. As Gabe (on cc) describes, if I start squeezeslave (using my default (HDMI) ALSA output device) before MythTV, I get sound from squeezeslave and nothing from Myth. If I reverse the start-up order, I get sound from Myth and nothing from squeezeslave. If Myth is running prior to squeezeslave start-up, I don't see squeezeslave complaining it can't open the device. I would need to look at the Myth logs to see if Myth complains if squeezeslave is already running > I just tried running two squeezeslaves on the default ALSA device and > both streams played at the same time. I'll try this case when I get home and let you know the results. > I should be able to look into this next week. Great - if you need anything further from, don't hesitate to get in touch. Cheers, Mike _______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss