Triode,
Many thanks for your reply. First the question abut nmap. Here are the
opening lines from my localplayer.log:
Code:
--------------------
Starting Squeezelite:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/LocalPlayer/Bin/squeezelite-x86-64
-o iec958:CARD=SB,DEV=0 -d all=debug -f
/var/log/squeezeboxserver/localplayer.log -n local 192.168.0.20 -a :::0
[13:36:53.319943] stream_init:264 init stream
[13:36:53.320076] stream_init:265 streambuf size: 2097152
[13:36:53.320853] output_init:1337 init output
[13:36:53.320877] output_init:1340 outputbuf size: 3528000
[13:36:53.320902] output_init:1372 requested alsa_buffer: 40 alsa_period: 4
format: any mmap: 1
[13:36:53.323908] output_init:1398 output: iec958:CARD=SB,DEV=0 maxrate:
192000
[13:36:53.324030] output_init:1406 unable to lock memory: Cannot allocate
memory
[13:36:53.325359] output_init:1429 unable to set output sched fifo: Operation
not permitted
[13:36:53.325366] output_thread:601 open output device: iec958:CARD=SB,DEV=0
[13:36:53.325426] decode_init:129 init decode
[13:36:53.325616] load_faad:583 loaded libfaad.so.2
[13:36:53.325844] load_vorbis:275 loaded libvorbisfile.so.3
[13:36:53.326017] load_flac:235 loaded libFLAC.so.8
[13:36:53.326031] register_pcm:352 using pcm
[13:36:53.326130] load_mad:332 loaded libmad.so.0
[13:36:53.326176] discover_server:633 sending discovery
[13:36:53.326336] alsa_open:270 opened device iec958:CARD=SB,DEV=0 using
format: S32_LE sample rate: 44100 mmap: 1
[13:36:53.326365] discover_server:644 got response from: 192.168.0.20:3483
[13:36:53.326384] alsa_open:335 buffer: 40 period: 4 -> buffer size: 1792
period size: 448
[13:36:53.326385] slimproto:686 connecting to 192.168.0.20:3483
[13:36:53.326457] slimproto:713 connected
[13:36:53.326470] slimproto:731 local player
[13:36:53.326476] sendHELO:109 mac: 00:0e:0c:06:ae:8e
[13:36:53.326484] sendHELO:111 cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=192000,aac,ogg,flc,aif,pcm,mp3,loc
[13:36:53.326516] sendSETDName:210 set playername: local
[13:36:53.326522] ALSA snd_pcm_hw_start:588 SNDRV_PCM_IOCTL_START failed (-32)
[13:36:53.327333] process:409 strm
--------------------
nmap appears to be on despite using -a :::0
Second, to return to the question of down sampling from 24/192 to 24/96
or 16/48 when using squeezelite as a local player. I've had more than
one senior moment in the last few days and probably expressed myself
rather poorly in my last post. But your own answer has left me still
confused.
AFAIK, by using the default file tye settings, my LMS is sending FLAC to
the localplayer. It can tell what the "MaxSampleRate" of the audio
device is. But if squeezelite reeceives, for example, a 24/192 flac file
stream and is outputing to an audio device only capable of handling
16/48, what happens?
If set squeezelite to use my DAC's USB connection, then trying to play a
24/192 flac file fails. It just stops after a second or two. This is
what I'd expect. In the same way that there is a difference between say
Code:
--------------------
aplay -v -D hw:2,0 2L50SACD_tr01_stereo_192kHz.wav
--------------------
and
Code:
--------------------
aplay -v -D plughw:2,0 2L50SACD_tr01_stereo_192kHz.wav
--------------------
if attempting to play a 24/192 audio file on a 16/48 limited ALSA
device, only the latter works. AFAIK, the "local player plugin"
settings page on LMS does not allow you to override the drop down list
of audio devices and so say set the audio device to plughw:2,0. I
think, this is true of CLI squeezelite too.
------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix