Krisbee wrote: 
> 
> (1) If I play a 24/192 flac file via my DAC's USB input,  mplayer, for
> example, chooses a bit depth and rate that matches the hardware's
> capabilites.  e.g
> 
> 
Squeezelite should work without any configuration to open the output
device at the native sample rate of the file being played.  It always
uses the same bit depth though and pads the samples to match this if the
data is of a different bit depth.  The only time you should need to
configure anything is if squeezelite cannot determine the max sample
rate supported by the device, in which case use the -r option to specify
this.

> 
> (2) Is there any particular benefit in specifying the rate and format
> via the   -a and -r switches  when using squeezelite?  I can play 16/44
> audio files on hardware which has a native S32_LE format with out
> specifying any ALSA parameters (I think it defaults to 40:4:?:1) and
> squezelite appears to workout the audio devices  MaxSampleRate.
> 
Leave this as default - the only reason for changing is if the automatic
detection doesn't work

> 
> (3) I've seen various values of Alsa Buffer Size and  Alsa Buffer Count
> used.  If possible, how do you determine the optimum values to use? 
> 
Only change if you have a problem.

> 
> (4) When I turn squeezelite logging on I'm getting entries like this:
> 
> > 
Code:
--------------------
  >   > [17:56:14.921613] alsa_open:270 opened device iec958:CARD=SB,DEV=0 
using format: S32_LE sample rate: 44100 mmap: 1
  > [17:56:14.921791] alsa_open:335 buffer: 40 period: 4 -> buffer size: 1792 
period size: 448
  > [17:56:14.922066] ALSA snd_pcm_hw_start:588 SNDRV_PCM_IOCTL_START failed 
(-32)
--------------------
> > 
> 
> Even if  I use -a :::0, mmap still seems to be set to 1
> 
What is the log message higher up which says what is requested? 
"requested alsa_buffer..."  Does this ask for mmap of 1 or 0?

> 
> (5) If I want to transcode 24/196 to 24/96, or 16/48, for example in my
> setup, I believe I need to create  a custom-convert.conf for the server
> side.  As this is a 64bit install I think I need to copy my /usr/bin/sox
> to /usr/share/squeezeboxserver/Bin/i386-linux/ or smylink it.  Also, how
> do I tell if squeezelite is receiving flac or PCM from LMS?
You should not need to create any new convert command entries, you may
need to install the 32bit compatibility libs on your linux box.


------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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

Reply via email to