dolodobendan wrote: 
> This is what I get by calling squeezelite-win.exe -l:
> 
> 26822
> 
> It's already garbled here. I'm still trying to figure out why there's
> two transcriptions of the umlaut "รค", but I couldn't find these device
> names anywhere.

I've made a change to the output device list code to convert the
portaudio multibyte device names before displaying them.  Can you
provide the output of squeezelite-win -l from the beta zip file link
below?

rgdawson wrote: 
> Since I am relying on squeezelite to return the list of output devices,
> I'm not sure what to do.  It is weird the exact same letter appears
> correctly a couple times before appearing incorrectly.  Are you able to
> select and use the output devices that are incorrectly displayed?  I may
> need to write my own code to enumerate the output devices.
> 
> R Greg Dawson

I may need to also modify the device comparison code used for the -o
option to support this.  Currently, squeezelite-win does a 'byte
comparison match'
(https://github.com/ralph-irving/squeezelite/blob/master/output_pa.c#L130).
Which works fine in my testing but none of my windows systems have
multibyte device names.  You'll need to check the output of -d
output=info to confirm squeezelite-win is actually using the device
requested with -o.

@dolodobendan  Can you try this as well please?  Something like below
but try both your devices 7 and 8.  *Make sure you don't have any
squeezelite instances already running for the tests.*


Code:
--------------------
    C:\>squeezelite-win.exe -l
  Output devices:
  4 - Microsoft Sound Mapper - Output [MME]
  5 - Speakers (SoundMAX Integrated D [MME]
  10 - Primary Sound Driver [Windows DirectSound]
  11 - Speakers (SoundMAX Integrated Digital Audio) [Windows DirectSound]
  12 - Speakers (SoundMAX Integrated Digital Audio) [Windows WASAPI]
  16 - Speakers (SoundMAX Digital Audio) [Windows WDM-KS]
  
  C:\>squeezelite-win.exe -o "Speakers (SoundMAX Integrated Digital Audio)" -d 
output=info
  [10:04:53.054] output_init_pa:530 init output
  [10:04:53.054] output_init_pa:550 requested latency: 0
  [10:04:53.789] output_init_common:414 supported rates: 192000 176400 96000 
88200 48000 44100 32000 24000 22500 16000 12000 11025 8000
  [10:04:53.804] _pa_open:366 opened device *11 - Speakers (SoundMAX Integrated 
Digital Audio)* at 44100 latency 240 ms
  [10:04:53.925] output_flush:427 flush output buffer
  [10:04:57.929] output_close_pa:570 close output
--------------------

Press Control-C to quit squeezelite.

Zip file also includes the code changes to output_pa.c as I've not
committed the changes to git.

http://ralph-irving.users.sourceforge.net/files/squeezelite-1.9.1-1133-beta1-win32.zip



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_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=108550

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to