Triode wrote: > Does it actually crash on window 8 or just fail to open the device - the > current code assumes it will return an error rather than crash if the > rate is not supported
It's not crashing for me just the unanticipated error from portaudio, then SL spins I'm running on XP and I've only seen this error opening a device using the direct sound api, using my portaudio.dll as the one included with SL doesn't have DS support. Triode wrote: > any view why it is failing? Not at the moment, I only briefly looked at it portaudio error. I need to rebuild the dll with debug enabled so I can see what the actual error from the api is. The spinning occurs on unix with portaudio as well. When the call to output_init in main.c fails the code continues to call decode_init and then hangs in slimproto. Sorry the debug is using my portaudio v18 port but it's the only other place I've seen the spin and I have all the debug tools handy. Code: -------------------- $ dbx squeezelite For information about new features see `help changes' To remove this message, put `dbxenv suppress_startup_message 7.7' in your .dbxrc Reading squeezelite Reading ld.so.1 Reading libpthread.so.1 Reading libsocket.so.1 Reading libnsl.so.1 Reading libdl.so.1 Reading librt.so.1 Reading libm.so.2 Reading libc.so.1 Reading libaio.so.1 Reading libmd.so.1 (dbx) run Running: squeezelite (process id 27714) Reading libc_psr.so.1 [06:53:06.862985] output_init:1521 error initialising port audio: Host error. Reading libvorbisfile.so.3.3.5 Reading libogg.so.0.7.1 Reading libvorbis.so.0.4.6 Reading libmp.so.2 Reading libscf.so.1 Reading libdoor.so.1 Reading libuutil.so.1 Reading libgen.so.1 ^Cdbx: warning: Interrupt ignored but forwarded to child. t@1 (l@1) signal INT (Interrupt) in ___lwp_mutex_timedlock at 0xff0ce93c 0xff0ce93c: ___lwp_mutex_timedlock+0x0008: ta %icc,0x00000008 Current function is slimproto (optimized) 708 LOCK_O; (dbx) list 708 LOCK_O; 709 sprintf(fixed_cap, ",MaxSampleRate=%u", output.max_sample_rate); 710 711 for (i = 0; i < MAX_CODECS; i++) { 712 if (codecs[i] && codecs[i]->id && strlen(fixed_cap) < 128 - 10) { 713 strcat(fixed_cap, ","); 714 strcat(fixed_cap, codecs[i]->types); 715 } 716 } 717 UNLOCK_O; (dbx) where current thread: t@1 [1] ___lwp_mutex_timedlock(0xff147898, 0x0, 0x0, 0x1c00, 0x0, 0x0), at 0xff0ce93c [2] mutex_lock_kernel(0xff147898, 0x0, 0x0, 0xff147898, 0x1cc4, 0x1), at 0xff0c1d34 [3] stall(0x2d, 0xff147898, 0x767e, 0xff1423ec, 0x7f560, 0x0), at 0xff0c2eac [4] mutex_lock_internal(0x3fb30, 0x0, 0x1, 0x2d, 0xff1423ec, 0x10), at 0xff0c363c =>[5] slimproto(level = lWARN, server = (nil), mac = 0xffbfedc4 "", name = (nil)) (optimized), at 0x14fe8 (line ~708) in "slimproto.c" [6] main(argc = <value of 'argc' not available>, argv = <value of 'argv' not available>) (optimized), at 0x13910 (line ~333) in "main.c" -------------------- Ralphy *1*-Touch, *4*-Classics, *2*-Booms, *1*-Squeezeslave, *3*-Squeezeplays, *4*-Squeezelites '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=97766 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins