left channel wrote: 
> Interesting. That 16/44.1 limitation or something similar was already
> the case in 'the old squeezelite version'
> (https://forums.slimdevices.com/showthread.php?108550-Announce-Squeezelite-X&p=908737&viewfull=1#post908737),
> but I though the new support would go beyond that. 
> 
> Perhaps @Ralphy can enlighten us. My system is always set to 24/192.

The default WASAPI behaviour, shared mode, has not changed, so is
limited to 16/44.1.

You must add -a :1 to the command line to use a WASAPI device in
exclusive mode which allows squeezelite to detect and use all sample
rates that the device supports.  
The *Allow applications to take exclusive control of this device* must
be enabled in control panel, then the Default Format setting in control
panel does not matter.

>From the wasapi devices I have access, the list of sample rates
supported by these devices is limited so I'd suggest to include -R -u E
on the command line as well.  Squeezelite will then resample content but
only if the sample rate is not one supported natively by the device. 
This is common if you listen to internet radio.

Shared mode (default)
C:\> squeezelite-win -o "Speakers/Headphones (Realtek High Definition
Audio) [Windows WASAPI]" -d output=debug

Code:
--------------------
    [07:50:53.120] output_init_pa:573 init output
  [07:50:53.120] output_init_pa:593 requested latency: 0
  [07:50:53.244] output_init_common:350 outputbuf size: 28224000
  [07:50:53.244] output_init_common:374 idle timeout: 15000
  [07:50:53.589] *output_init_common:414 supported rates: 44100*
  [07:50:53.589] pa_monitor:275 start monitor thread
  [07:50:53.620] output_flush:427 flush output buffer
  [07:50:53.620] output_flush:427 flush output buffer
  [07:50:53.620] set_volume:111 setting internal gain left: 2048 right: 2048
--------------------


Exclusive mode
C:\> squeezelite-win -R -u E -a :1 -o "Speakers/Headphones (Realtek High
Definition Audio) [Windows WASAPI]" -d output=debug

Code:
--------------------
    
  [07:49:57.677] output_init_pa:573 init output
  [07:49:57.677] output_init_pa:593 requested latency: 0
  [07:49:57.802] output_init_common:350 outputbuf size: 28224000
  [07:49:57.818] output_init_common:374 idle timeout: 15000
  [07:49:57.818] test_open:197 *opening WASAPI device in exclusive mode*
  [07:49:58.130] *output_init_common:414 supported rates: 192000 96000 48000 
44100*
  [07:49:58.130] pa_monitor:275 start monitor thread
  [07:49:58.176] output_flush:427 flush output buffer
  [07:49:58.176] output_flush:427 flush output buffer
  [07:49:58.176] set_volume:111 setting internal gain left: 2048 right: 2048
--------------------



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