sbp wrote: 
> Could you try to use a 0 (zero) in "close output settings" on the
> squeezelite page.
> 
> Steen
Thanks for the suggestion. I just tried that and still get (loud) pops.

The pops are reproducible (if I repeat  the track sequence, they happen
at the same place).
Is there a diagnostic that would be helpful?
I turned on squeezelite logging for 3 short tracks (track POP track POP
track) and the log is below.


Code:
--------------------
    /usr/local/bin/squeezelite -n piCorePlayer -o hw:CARD=sndrpihifiberry -a 
80:4::1: -r 192000 -R vLs::0.5:28::: -d all=info -f 
/var/log/pcp_squeezelite.log 
  [09:58:06.067952] stream_init:294 init stream
  [09:58:06.073422] output_init_alsa:873 init output
  [09:58:06.073590] output_init_alsa:902 requested alsa_buffer: 80 alsa_period: 
4 format: any mmap: 1
  [09:58:06.074045] output_init_common:411 supported rates: 192000 176400 96000 
88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 
  [09:58:06.120703] output_init_alsa:928 memory locked
  [09:58:06.121767] decode_init:153 init decode
  [09:58:06.122004] register_dsd:625 using dsd to decode dsf,dff
  [09:58:06.123428] load_ff:619 dlerror: libavcodec.so.57: cannot open shared 
object file: No such file or directory
  [09:58:06.123718] load_ff:619 dlerror: libavcodec.so.57: cannot open shared 
object file: No such file or directory
  [09:58:06.125656] load_faad:611 loaded libfaad.so.2
  [09:58:06.125690] register_faad:641 using faad to decode aac
  [09:58:06.127931] load_vorbis:301 loaded libvorbisfile.so.3
  [09:58:06.127965] register_vorbis:330 using vorbis to decode ogg
  [09:58:06.130133] load_flac:258 loaded libFLAC.so.8
  [09:58:06.130170] register_flac:286 using flac to decode flc
  [09:58:06.130193] register_pcm:414 using pcm to decode aif,pcm
  [09:58:06.131227] load_mad:384 loaded libmad.so.0
  [09:58:06.131257] register_mad:413 using mad to decode mp3
  [09:58:06.133370] load_soxr:269 loaded libsoxr.so.0
  [09:58:06.133535] resample_init:362 resampling sync recipe: 0x46, flags: 
0x00, scale: 0.94, precision: 28.0, passband_end: 0.00000, stopband_begin: 
0.00000, phase_response: -1.0
  [09:58:06.133718] discover_server:817 sending discovery
  [09:58:06.134369] discover_server:828 got response from: 192.168.1.14:3483
  [09:58:06.134493] slimproto:916 connecting to 192.168.1.14:3483
  [09:58:06.135029] slimproto:955 connected
  [09:58:06.135068] sendHELO:138 mac: b8:27:eb:b2:e2:69
  [09:58:06.135094] sendHELO:140 cap: 
Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.8.6-957,ModelName=SqueezeLite,MaxSampleRate=192000,dsf,dff,aac,ogg,flc,aif,pcm,mp3
  [09:58:06.136798] output_thread:621 open output device: 
hw:CARD=sndrpihifiberry
  [09:58:06.136851] alsa_open:338 opening device at: 44100
  [09:58:06.139052] alsa_open:389 opened device hw:CARD=sndrpihifiberry using 
format: S32_LE sample rate: 44100 mmap: 1
  [09:58:06.139204] alsa_open:468 buffer: 80 period: 4 -> buffer size: 3528 
period size: 882
  [09:58:45.689993] decode_flush:227 decode flush
  [09:58:45.690080] output_flush:424 flush output buffer
  [09:58:45.697314] codec_open:255 codec open: 'f'
  [09:58:45.697452] stream_sock:393 connecting to 192.168.1.14:9000
  [09:58:45.697879] stream_sock:422 header: GET 
/stream.mp3?player=b8:27:eb:b2:e2:69 HTTP/1.0
  Authorization: Basic c3F1ZWV6ZWJveFhYWDp4WHB4TGFnRmdO
  
  
  
  [09:58:45.714844] stream_thread:180 headers: len: 135
  HTTP/1.1 200 OK
  Server: Logitech Media Server (7.9.0 - 0.151.20161218git1481874538)
  Connection: close
  Content-Type: audio/x-flac
  
  
  [09:58:45.766515] write_cb:116 setting track_start
  [09:58:45.766627] resample_newstream:189 resampling from 44100 -> 176400
  [09:58:45.781260] process_newstream:124 processing: active
  [09:58:45.782913] _checkfade:282 fade mode: 2 duration: 0 track-start
  [09:58:45.783008] _checkfade:291 fade IN: 0 frames
  [09:58:46.814102] _output_frames:147 track start sample rate: 176400 
replay_gain: 137556
  [09:58:46.824278] output_thread:621 open output device: 
hw:CARD=sndrpihifiberry
  [09:58:46.825925] alsa_open:338 opening device at: 176400
  [09:58:46.828259] alsa_open:389 opened device hw:CARD=sndrpihifiberry using 
format: S32_LE sample rate: 176400 mmap: 1
  [09:58:46.828398] alsa_open:468 buffer: 80 period: 4 -> buffer size: 14112 
period size: 3528
  [09:58:46.843097] _output_frames:175 fade start reached
  [09:58:46.843130] _output_frames:208 fade complete
  [09:58:47.984015] _output_frames:70 skip 3528 of 3528 frames
  [09:59:14.372689] stream_thread:253 end of stream
  [09:59:51.731826] resample_drain:119 resample track complete - total track 
clips: 0
  [09:59:51.734045] decode_thread:100 decode complete
  [09:59:51.734117] _checkfade:282 fade mode: 2 duration: 0 track-end
  [09:59:52.079183] codec_open:255 codec open: 'f'
  [09:59:52.079331] stream_sock:393 connecting to 192.168.1.14:9000
  [09:59:52.079699] stream_sock:422 header: GET 
/stream.mp3?player=b8:27:eb:b2:e2:69 HTTP/1.0
  Authorization: Basic c3F1ZWV6ZWJveFhYWDphdTYzd1pZVDUz
  
  
  
  [09:59:52.126360] stream_thread:180 headers: len: 135
  HTTP/1.1 200 OK
  Server: Logitech Media Server (7.9.0 - 0.151.20161218git1481874538)
  Connection: close
  Content-Type: audio/x-flac
  
  
  [09:59:52.151894] write_cb:116 setting track_start
  [09:59:52.152000] resample_newstream:189 resampling from 96000 -> 192000
  [09:59:52.156082] process_newstream:124 processing: active
  [10:00:01.524297] _output_frames:147 track start sample rate: 192000 
replay_gain: 102207
  [10:00:01.524401] output_thread:621 open output device: 
hw:CARD=sndrpihifiberry
  [10:00:01.525897] alsa_open:338 opening device at: 192000
  [10:00:01.528169] alsa_open:389 opened device hw:CARD=sndrpihifiberry using 
format: S32_LE sample rate: 192000 mmap: 1
  [10:00:01.528287] alsa_open:468 buffer: 80 period: 4 -> buffer size: 15360 
period size: 3840
  [10:01:12.625856] stream_thread:253 end of stream
  [10:01:20.316411] resample_drain:119 resample track complete - total track 
clips: 0
  [10:01:20.316541] decode_thread:100 decode complete
  [10:01:25.084016] codec_open:255 codec open: 'f'
  [10:01:25.084222] stream_sock:393 connecting to 192.168.1.14:9000
  [10:01:25.084740] stream_sock:422 header: GET 
/stream.mp3?player=b8:27:eb:b2:e2:69 HTTP/1.0
  Authorization: Basic c3F1ZWV6ZWJveFhYWDpCSWJzMXNQdHhk
  
  
  
  [10:01:25.142297] stream_thread:180 headers: len: 135
  HTTP/1.1 200 OK
  Server: Logitech Media Server (7.9.0 - 0.151.20161218git1481874538)
  Connection: close
  Content-Type: audio/x-flac
  
  
  [10:01:25.225725] write_cb:116 setting track_start
  [10:01:25.225857] resample_newstream:189 resampling from 44100 -> 176400
  [10:01:25.237874] process_newstream:124 processing: active
  [10:01:29.344161] _output_frames:147 track start sample rate: 176400 
replay_gain: 69798
  [10:01:29.344263] output_thread:621 open output device: 
hw:CARD=sndrpihifiberry
  [10:01:29.345695] alsa_open:338 opening device at: 176400
  [10:01:29.348043] alsa_open:389 opened device hw:CARD=sndrpihifiberry using 
format: S32_LE sample rate: 176400 mmap: 1
  [10:01:29.348161] alsa_open:468 buffer: 80 period: 4 -> buffer size: 14112 
period size: 3528
  [10:02:07.508319] slimproto_stop:995 slimproto stop
  [10:02:07.608730] decode_close:212 close decode
  [10:02:07.611378] stream_close:331 close stream
  [10:02:07.679016] output_close_alsa:956 close output
  
--------------------


+-------------------------------------------------------------------+
|Filename: pcp_squeezelite.log                                      |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=22786|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
mkt's Profile: http://forums.slimdevices.com/member.php?userid=14921
View this thread: http://forums.slimdevices.com/showthread.php?t=107352

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

Reply via email to