Questo con Resample sul "Client"


codice:
daphile ~ # cat /proc/asound/card2/stream0
XMOS JLsounds Hi-Rez Audio 2.0 at usb-0000:00:1a.0-1.6, high speed : USB Audio
Playback:
Status: Running
Interface = 1
Altset = 1
Packet Size = 392
Momentary freq = 352801 Hz (0x2c.19a0)
Feedback Format = 16.16
Interface 1
Altset 1
Format: S32_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
Data packet interval: 125 us
Interface 1
Altset 2
Format: S32_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
Data packet interval: 125 us
Interface 1
Altset 3
Format: SPECIAL DSD_U32_BE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
Data packet interval: 125 us
codice:
/usr/bin/squeezelite -b 3072:4096 -R -u vM:::28 -m 5a:9b:29:52:42:8c -h -c flac,pcm,mp3,ogg -r 352800,384000 -d all=info -f /run/spacd/c/2/l/0/squeezelite.log -o hw:2,0 -a 100:3:32:1 -p 45 -N /mnt/hdd/system/spac/JLsounds Hi-Rez Audio 2.0/device0/squeezelite.name -s 127.0.0.1
[17:23:44.581495] stream_init:290 init stream
[17:23:44.582441] output_init_alsa:817 init output
[17:23:44.582467] output_init_alsa:846 requested alsa_buffer: 100 alsa_period: 3 format: 32 mmap: 1
[17:23:44.582498] output_init_common:410 supported rates: 384000 352800
[17:23:44.589741] output_init_alsa:862 memory locked
[17:23:44.589849] decode_init:129 init decode, include codecs: flac,pcm,mp3,ogg exclude codecs:
[17:23:44.605060] load_vorbis:300 loaded libvorbisfile.so.3
[17:23:44.605079] register_vorbis:329 using vorbis to decode ogg
[17:23:44.620059] load_flac:258 loaded libFLAC.so.8
[17:23:44.620073] register_flac:286 using flac to decode flc
[17:23:44.620078] register_pcm:390 using pcm to decode aif,pcm
[17:23:44.631092] load_mad:383 loaded libmad.so.0
[17:23:44.631105] register_mad:412 using mad to decode mp3
[17:23:44.642816] load_soxr:268 loaded libsoxr.so.0
[17:23:44.642833] resample_init:361 resampling sync recipe: 0x36, flags: 0x00, scale: 0.89, precision: 28.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0
[17:23:44.642876] slimproto:823 retrieved name JLsounds Hi-Rez Audio 2.0 from /mnt/hdd/system/spac/JLsounds Hi-Rez Audio 2.0/device0/squeezelite.name
[17:23:44.642895] slimproto:849 connecting to 127.0.0.1:3483
[17:23:44.642934] output_thread:638 open output device: hw:2,0
[17:23:44.642947] alsa_open:355 opening device at: 384000
[17:23:44.642979] slimproto:882 connected
[17:23:44.642988] slimproto:893 local player
[17:23:44.642993] sendHELO:124 mac: 5a:9b:29:52:42:8c
[17:23:44.642998] sendHELO:126 cap: Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.8,ModelName=SqueezeLite,MaxSampleRate=384000,ogg,flc,aif,pcm,mp3,loc
[17:23:44.643053] alsa_open:406 opened device hw:2,0 using format: S32_LE sample rate: 384000 mmap: 1
[17:23:44.643087] alsa_open:485 buffer: 100 period: 3 -> buffer size: 38400 period size: 12800
[17:23:44.671834] decode_flush:192 decode flush
[17:23:44.671857] output_flush:423 flush output buffer
[17:24:14.301958] decode_flush:192 decode flush
[17:24:14.301985] output_flush:423 flush output buffer
[17:24:15.862765] codec_open:220 codec open: 'f'
[17:24:15.862815] stream_sock:384 connecting to 127.0.0.1:9000
[17:24:15.862886] stream_sock:413 header: GET /stream.mp3?player=5a:9b:29:52:42:8c HTTP/1.0
[17:24:15.900322] stream_thread:176 headers: len: 118
HTTP/1.1 200 OK
Server: Logitech Media Server (7.9.0 - git2d5b1c4)
Connection: close
Content-Type: audio/x-flac
[17:24:31.857184] write_cb:116 setting track_start
[17:24:31.857213] resample_newstream:188 resampling from 44100 -> 352800
[17:24:31.857395] process_newstream:123 processing: active
[17:24:31.881085] _output_frames:61 start buffer frames: 430080
[17:24:31.881120] _output_frames:146 track start sample rate: 352800 replay_gain: 0
[17:24:31.891130] output_thread:638 open output device: hw:2,0
[17:24:31.903240] alsa_open:355 opening device at: 352800
[17:24:31.903378] alsa_open:406 opened device hw:2,0 using format: S32_LE sample rate: 352800 mmap: 1
[17:24:31.903398] alsa_open:485 buffer: 100 period: 3 -> buffer size: 35280 period size: 11760
codice:
ffmpeg -vn -v 0 -i "http://sc-blues.1.fm:7040/" -f wav -acodec pcm_s16le - | flac -s --fast --totally-silent - -o -