gilles-chanteperdrix / squeezelite

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

Unable to opening device on false mac #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. With a PC with 2 sound cards installed, set one as the default and open 
Squeezeplay. Let it play music through the squeezebox server as normal
2. Open Squeezelite with the command line "squeezelite-win.exe -n Bathroom -m 
00:00:00:00:00:01 -o 11 -d all=sdebug 192.168.1.10" where -o 11 is the speaker 
output of the 2nd soundcard.
3. The following log output is produced:

[16:33:00.608] stream_init:264 init stream
[16:33:00.608] stream_init:265 streambuf size: 2097152
[16:33:00.609] output_init:1286 init output
[16:33:00.609] output_init:1289 outputbuf size: 3528000
[16:33:00.609] output_init:1326 requested latency: 0
[16:33:00.785] output_init:1343 output: 11 maxrate: 48000
[16:33:00.787] _pa_open:510 error opening device 11 - Speakers (SB 5.1 VX) : 
Invalid device
[16:33:00.787] decode_init:101 init decode
[16:33:00.788] pa_probe:448 probing device 11
[16:33:00.788] load_faad:534 dlerror: code: 126
[16:33:00.789] load_vorbis:212 dlerror: code: 126
[16:33:00.791] load_flac:196 loaded libFLAC.dll
[16:33:00.791] register_pcm:191 using pcm
[16:33:00.793] load_mad:269 dlerror: code: 126
[16:33:00.795] load_mpg:204 loaded libmpg123-0.dll
[16:33:00.836] pa_probe:454 found
[16:33:00.837] _pa_open:510 error opening device 11 - Speakers (SB 5.1 VX) : 
Invalid device
[16:33:00.838] pa_probe:448 probing device 11
[16:33:00.839] slimproto:669 connecting to 192.168.1.10:3483
[16:33:00.843] slimproto:691 connected
[16:33:00.843] sendHELO:109 mac: 00:00:00:00:00:01
[16:33:00.843] sendHELO:111 cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,Max
SampleRate=48000,flc,aif,pcm,mp3
[16:33:00.844] sendSETDName:210 set playername: Bathroom
[16:33:00.868] pa_probe:448 probing device 11
[16:33:00.898] pa_probe:454 found
[16:33:00.899] _pa_open:510 error opening device 11 - Speakers (SB 5.1 VX) : 
Invalid device
[16:33:00.900] pa_probe:448 probing device 11
[16:33:00.918] pa_probe:448 probing device 11
[16:33:00.953] pa_probe:454 found
[16:33:00.954] _pa_open:510 error opening device 11 - Speakers (SB 5.1 VX) : 
Invalid device 

What is the expected output? What do you see instead?
A second squeezebox player should start called 'Bathroom' outputting to the 2nd 
sound card ("SB 5.1 VX") in this instance. Instead no sound comes out and the 
above log states invalid device.

What version of the product are you using? On what operating system?
v1.0rc2 on Windows 8 Pro 64-bit

Please provide any additional information below.
Note that squeezelite works fine if the 2nd sound card is set as the main sound 
card in Windows and squeezelite is started without specifying any output.

Original issue reported on code.google.com by mattjmat...@gmail.com on 10 Feb 2013 at 4:43

GoogleCodeExporter commented 8 years ago
Have you tried other -o options based on what -l shows?  This looks to be a 
portaudio error.  Squeezeplay also uses portaudio and will use the default 
device.  I would expect it to support two separate instances.  Does this device 
work if squeezeplay is not running?  If not then then try another output device 
from the -l list.

Original comment by trio...@btinternet.com on 10 Feb 2013 at 5:44

GoogleCodeExporter commented 8 years ago
Closing as no further comments

Original comment by trio...@btinternet.com on 9 Jul 2013 at 6:44