Triode wrote: 
> Start with "-d stream=debug" and "-d output=debug" to see the buffer
> sizes actually used.  [pcm decode does make a minor adjustment to the
> pre decode stream buffer when a stream is opened to make to simplify the
> code, but the basic size is what you see at startup.]

I started playback with 192 content then switched to 352.8:

root@voyage:~# ./squeezelite-i386 -o hw:1,0 -r 384000 -d stream=debug -d
output=debug
-bash: ./squeezelite-i386: No such file or directory
root@voyage:~# cd /opt/squeezelite
root@voyage:/opt/squeezelite# ./squeezelite-i386 -o hw:1,0 -r 384000 -d
stream=debug -d output=debug
[17:20:32.035914] output_init:1265 init output
[17:20:32.036568] output_init:1268 outputbuf size: 3528000
[17:20:32.036789] output_init:1298 requested buffer_time: 20000
period_count: 4 format: any mmap: 1
[17:20:32.036989] output_init:1322 output: hw:1,0 maxrate: 384000
[17:20:32.037412] stream_init:263 init stream
[17:20:32.037560] stream_init:264 streambuf size: 2097152
[17:20:32.084516] output_thread:562 open output device: hw:1,0
[17:20:32.085455] alsa_open:257 opened device hw:1,0 using format:
S32_LE sample rate: 44100 mmap: 1
[17:20:32.085673] alsa_open:305 buffer time: 20045 period count: 4
buffer size: 884 period size: 221
[17:20:32.087334] output_flush:1347 flush output buffer
[17:21:49.122491] output_flush:1347 flush output buffer
[17:21:49.123146] output_flush:1347 flush output buffer
[17:22:02.775323] output_flush:1347 flush output buffer
[17:22:02.856432] stream_sock:346 connecting to 192.168.0.7:9000
[17:22:02.856930] stream_sock:374 header: GET
/stream.mp3?player=e0:69:95:2b:c8:80 HTTP/1.0


[17:22:02.957655] stream_thread:149 headers: len: 113
HTTP/1.1 200 OK
Server: Logitech Media Server (7.7.2 - 33908)
Connection: close
Content-Type: audio/x-flac


[17:22:03.013615] output_thread:748 track start sample rate: 192000
replay_gain: 0
[17:22:03.013770] output_thread:562 open output device: hw:1,0
[17:22:03.020478] alsa_open:257 opened device hw:1,0 using format:
S32_LE sample rate: 192000 mmap: 1
[17:22:03.020678] alsa_open:305 buffer time: 20000 period count: 4
buffer size: 3840 period size: 960
[17:22:32.150291] output_flush:1347 flush output buffer
[17:22:32.174310] output_flush:1347 flush output buffer
[17:22:32.318074] stream_sock:346 connecting to 192.168.0.7:9000
[17:22:32.318467] stream_sock:374 header: GET
/stream.mp3?player=e0:69:95:2b:c8:80 HTTP/1.0


[17:22:32.388364] stream_thread:149 headers: len: 113
HTTP/1.1 200 OK
Server: Logitech Media Server (7.7.2 - 33908)
Connection: close
Content-Type: audio/x-flac


[17:22:32.491242] output_thread:748 track start sample rate: 352800
replay_gain: 0
[17:22:32.491406] output_thread:562 open output device: hw:1,0
[17:22:32.497679] alsa_open:257 opened device hw:1,0 using format:
S32_LE sample rate: 352800 mmap: 1
[17:22:32.497933] alsa_open:305 buffer time: 20000 period count: 4
buffer size: 7056 period size: 1764
[17:23:10.600077] output_flush:1347 flush output buffer


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

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to