kirknorthrop / squeezelite

Automatically exported from code.google.com/p/squeezelite
Other
0 stars 0 forks source link

S/PDIF audio device is locked, even when not playing #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
** What steps will reproduce the problem?
1. Run squeezelite output chosen as an S/PDIF device, but do not stream yet.
2. Attempt to make sound from another program on the same machine.

** What is the expected output? What do you see instead?

No audio to the device is allowed from any other program.

** What version of the product are you using? On what operating system?

squeezelite version 1.2 under Windows 7

Original issue reported on code.google.com by m...@thismark.com on 23 Aug 2013 at 11:16

GoogleCodeExporter commented 8 years ago
This is likely to be down to which output device you are using - squeezelite 
keeps the device open for as long as it is running, so you need to make use of 
an output which allows mixing with other audio if you want other applications 
to run.  I expect there are other output opens which also route to the spdif 
output - have you tried these?

Original comment by trio...@btinternet.com on 23 Aug 2013 at 8:10

GoogleCodeExporter commented 8 years ago
Thank you for your careful response.

I could only get squeezelite to work with my DTS-WAV streaming using the "SPDIF 
Out (Audio Advantage Micro Device)" of my Turtle Beach USB-to-Toslink device.  
Other output devices I've tried seem to "cook" the output so the DTS encoding 
is lost, which for some reason wasn't as much of a problem when outputting from 
SqueezeSlave.

I'm not really needing to mix multiple applications into one output, but I'd 
like to be able to play DTS encoded movies on the same system when squeezelite 
is paused.  Right now I have to kill the squeezelite process in order to watch 
a film, which seems rather crude.

SqueezeSlave already has a sharing option, but it's of no use because it only 
allows for sharing when all applications have the same sample rate. So 
effectively, it's just as restrictive as squeezelite on my system.

I've got a lot of DTS-WAV files in 48kHz, and would like to use them w/o 
downsampling. SqueezeSlave's been great, but I'm wanting to use squeezelite 
instead so I can stream sample rates of 48kHz. SqueezeSlave is limited to just 
44.1kHz.

Incidentally, SqueezeSlave's "disable volume control" option is very handy when 
streaming DTS-WAVs, to prevent the DTS encoding from getting cooked by client 
audio player processing, before it's decoded at the endpoint.

Original comment by m...@thismark.com on 24 Aug 2013 at 1:41

GoogleCodeExporter commented 8 years ago
Try the 1.3 development build then "turn off" the player to close the audio 
port.  

(The 1.3 build needs the dlls included with the 1.2 zip.)

Original comment by trio...@btinternet.com on 24 Aug 2013 at 3:34

GoogleCodeExporter commented 8 years ago
I notice that in 1.2 linux version "tuning off" the player will close the audio 
port.  This would work great if squeezelite could be set to start in the "off" 
state.  Unfortunately, it seems to start the in the state it was shutdown in.

Is there any way to set squeezelite to always start in the off state?

I am running it on a mythtv box (great replacement for mythmusic!!!!), but 
since I use passthrough on myth, I don't want to create a plug device.

Original comment by ajhai...@gmail.com on 20 Sep 2013 at 7:51

GoogleCodeExporter commented 8 years ago
The server is the master for this - so it needs the server to set the player in 
the off mode rather than the player to start up in off state.  So not sure how 
easy this would be.

Original comment by trio...@btinternet.com on 20 Sep 2013 at 6:12

GoogleCodeExporter commented 8 years ago
Closing as original issue is fixed by 1.2 feature to turn the output device on 
and off.

Original comment by trio...@btinternet.com on 10 Jan 2014 at 10:18