Outputting to wrong device
- Dominant language
- C
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
What steps will reproduce the problem?
1.Launch SqueezeLite and instruct it to output to a specific device by name.
2.Turn off TV which disables the HDMI output but also reorders all the device
indexes. Note that the device I outputted to in step 1 is not the HDMI output
3.Play some music through the SqueezeLite instance that was started in Step 1.
What is the expected output?
Hear sound from the output specified in Step 1.
What do you see instead?
Sound is coming out of the wrong device.
What version of the product are you using? On what operating system?
1.6.3
Please provide any additional information below.
I have a Windows 8 machine that I have two UBS cards in, and HDMI output to a
surround receiver and an onboard card with a few analog outputs. I have several
instances of SqueezeLite running and directed at several outputs which go to
different zones around the house. I have been having problems with the output
not going where I would expect it. The fix is to restart that instance of
SqueezeLite. I finally figured out what was going on. If do a -l to list the
output devices while the TV is on and the HDMI output is alive I get a specific
list of device indexes. If I then turn the TV off and the HDMI output disables
I see a whole new list of indexes and they are shuffled all over.
It looks like the output device index looked up by name when first starting
SqueezeLite and after that it always outputs to that index even if that index
is no longer correct. Would it be possible to do this lookup every time a new
stream is started to ensure that it's going to the correct index every time?
```
Original issue reported on code.google.com by `NoelHibb...@gmail.com` on 13 Jul 2014 at 11:49
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.