Hi<br><br><div class="gmail_quote">On 17 November 2010 15:03, Gabe Rubin <span dir="ltr"><<a href="mailto:gaberubin@gmail.com">gaberubin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi list,<br>
<br>
I currently run squeezesoft and squeezeslave (.9-133) on my mythbox to<br>
play music (I prefer it to mythmusic). However, since upgrading to<br>
.24, squeezeslave is preventing myth from being able to play audio.<br>
<br>
When I have squeezeslave running on my mythbox and start up<br>
mythfrontend, I get this error in the console:<br>
2010-11-16 19:59:28.079 ALSA, Error:<br>
snd_pcm_open("iec958:CARD=SB,DEV=0"): Device or resource busy<br>
2010-11-16 19:59:28.080 Audio device ALSA:iec958:CARD=SB,DEV=0 isn't </blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">usable Check audio configuration <br>
</blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
When I try to play a recording, I get this error:<br>
2010-11-16 20:00:11.414 ALSA, Error:<br>
snd_pcm_open("iec958:CARD=SB,DEV=0"): Device or resource busy<br>
2010-11-16 20:00:11.414 AO: Opening audio device<br>
'iec958:CARD=SB,DEV=0' ch 2(2) sr 48000 sf signed 16 bit reenc 0<br>
2010-11-16 20:00:11.414 Opening ALSA audio device 'iec958:CARD=SB,DEV=0'.<br>
2010-11-16 20:00:11.415 ALSA, Error:<br>
snd_pcm_open(iec958:CARD=SB,DEV=0): Device or resource busy<br>
2010-11-16 20:00:11.415 AudioOutput Error: Aborting reconfigure<br>
2010-11-16 20:00:11.415 AudioPlayer: Disabling Audio, reason is:<br>
Aborting reconfigure<br>
<br>
As soon as kill squeezeslave, I can play audio and don't get these<br>
errors, so I know it is a squeezeslave issue. I was able to let<br>
squeezeplay run at all times on earlier versions (although, there<br>
would obviously be issues when I was playing audio with both<br>
squeezeplay and myth at the same time) and I would like to be able to<br>
do this again. I could bind a key on my remote to start and stop<br>
squeeze, but my preference is to just leave it running.<br><br></blockquote><div><br>Use something else than ALSA, so more than one program can play audio at the same time. Like PulseAudio.<br>If you enable pulse, you can either use the native pulseaudio interface: PulseAudio:default<br>
ou ALSA:pulse which provides ALSA compatibility.<br><br>The other possibility is to configure squeezeslave to use a different audio output rather than the SPDIF one. But this will depend on your audio card and the alsa driver if you can output to both devices at the same time.<br>
<br>I can't see how this ever worked before... ALSA requires exclusive access to the hardware, if it's opened by one application, it can't be used by another ; that's why you have sound server like pulse audio.<br>
<br>JY <br></div></div>