Qualcosa non mi torna...
file dsd64 scaricato da OPPO Digital, squeezelite me lo converte in pcm
codice:
squeezelite-R2 -o hw:CARD=J20,DEV=0 -n xxx -d all=debug
[18:00:18.280698] stream_init:290 init stream
[18:00:18.280881] stream_init:291 streambuf size: 2097152
[18:00:18.282752] output_init_alsa:817 init output
[18:00:18.282807] output_init_alsa:846 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1
[18:00:18.282845] output_init_common:346 outputbuf size: 3528000
[18:00:18.282920] output_init_common:370 idle timeout: 0
[18:00:18.284845] output_init_common:410 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100
[18:00:18.289194] output_init_alsa:862 memory locked
[18:00:18.289430] output_thread:638 open output device: hw:CARD=J20,DEV=0
[18:00:18.290220] alsa_open:355 opening device at: 44100
[18:00:18.290511] alsa_open:406 opened device hw:CARD=J20,DEV=0 using format: S32_LE sample rate: 44100 mmap: 1
[18:00:18.290563] alsa_open:485 buffer: 40 period: 4 -> buffer size: 1764 period size: 441
[18:00:18.289440] output_init_alsa:885 set output sched fifo rt: 45
[18:00:18.313851] decode_init:129 init decode, include codecs: exclude codecs:
[18:00:18.313957] register_dsd:624 using dsd to decode dsf,dff
[18:00:18.314351] load_faad:610 loaded libfaad.so.2
[18:00:18.314373] register_faad:640 using faad to decode aac
[18:00:18.314963] load_vorbis:300 loaded libvorbisfile.so.3
[18:00:18.314987] register_vorbis:329 using vorbis to decode ogg
[18:00:18.315367] load_flac:258 loaded libFLAC.so.8
[18:00:18.315388] register_flac:286 using flac to decode flc
[18:00:18.315406] register_pcm:406 using pcm to decode aif,pcm
[18:00:18.315662] load_mad:383 loaded libmad.so.0
[18:00:18.315683] register_mad:412 using mad to decode mp3
[18:00:18.315866] discover_server:756 sending discovery
[18:00:18.316138] discover_server:767 got response from: 192.168.178.31:3483
[18:00:18.316223] slimproto:849 connecting to 192.168.178.31:3483
[18:00:18.316399] slimproto:882 connected
[18:00:18.316423] sendHELO:124 mac: 00:e0:4c:68:d1:46
[18:00:18.316445] sendHELO:126 cap: Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.8.3 (R2),ModelName=SqueezeLite-R2,MaxSampleRate=384000,dsf,dff,aac,ogg,flc,aif,pcm,mp3
[18:00:18.333356] process:494 strm
[18:00:18.333381] process_strm:256 strm command s
[18:00:18.333420] process_strm:325 strm s autostart: 1 transition period: 10 transition type: 0 codec: d
[18:00:18.333443] sendSTAT:171 STAT: STMf
[18:00:18.333474] codec_open:218 codec open: 'd'
[18:00:18.333507] stream_sock:384 connecting to 192.168.178.31:9000
[18:00:18.333717] stream_sock:413 header: GET /stream.mp3?player=00:e0:4c:68:d1:46 HTTP/1.0
[18:00:18.333741] sendSTAT:171 STAT: STMc
[18:00:18.333833] process_strm:357 set fade mode: 0
[18:00:18.333904] process:494 audg
[18:00:18.333924] process_audg:413 audg gainL: 65536 gainR: 65536 adjust: 0
[18:00:18.333940] set_volume:246 setting internal gain left: 65536 right: 65536
[18:00:18.334029] process:494 setd
[18:00:18.334050] sendSETDName:230 set playername: xxx
[18:00:18.334112] process:494 setd
[18:00:18.334142] process:494 aude
[18:00:18.334208] process_aude:395 enable spdif: 1 dac: 1
[18:00:18.334245] process:494 audg
[18:00:18.334265] process_audg:413 audg gainL: 65536 gainR: 65536 adjust: 0
[18:00:18.334310] set_volume:246 setting internal gain left: 65536 right: 65536
[18:00:18.384351] stream_thread:176 headers: len: 115
HTTP/1.1 200 OK
Server: Logitech Media Server (7.9.0 - 1484126560)
Connection: close
Content-Type: audio/dsf
[18:00:18.385362] sendRESP:202 RESP
[18:00:18.415922] _read_header:191 id: DSD len: 28 consume: 28
[18:00:18.416241] _read_header:158 DSF version: 1 format: 0
[18:00:18.416366] _read_header:168 channels: 2
[18:00:18.416491] _read_header:169 sample rate: 2822400
[18:00:18.416655] _read_header:170 lsb first: 1
[18:00:18.416769] _read_header:171 sample bytes: 108346851
[18:00:18.416880] _read_header:172 block size: 4096
[18:00:18.416990] _read_header:191 id: fmt len: 52 consume: 52
[18:00:18.417102] _read_header:178 found dsd len: 216694796
[18:00:18.417212] dsd_decode:527 setting track_start
[18:00:18.417322] dsd_decode:543 DSD to PCM output
[18:00:18.436784] _output_frames:61 start buffer frames: 163840
[18:00:18.436844] _output_frames:146 track start sample rate: 352800 replay_gain: 0
[18:00:18.436887] sendSTAT:171 STAT: STMs
[18:00:18.436954] sendSTAT:171 STAT: STMt
[18:00:18.446886] output_thread:638 open output device: hw:CARD=J20,DEV=0
[18:00:18.447695] alsa_open:355 opening device at: 352800
[18:00:18.447980] alsa_open:406 opened device hw:CARD=J20,DEV=0 using format: S32_LE sample rate: 352800 mmap: 1
[18:00:18.448027] alsa_open:485 buffer: 40 period: 4 -> buffer size: 14112 period size: 3528
[18:00:19.438025] sendSTAT:171 STAT: STMt
[18:00:20.439136] sendSTAT:171 STAT: STMt
[18:00:21.440394] sendSTAT:171 STAT: STMt
[18:00:22.296688] process:494 strm
[18:00:22.296743] process_strm:256 strm command t
file prodotto da sox DSD128 non me lo riproduce propio
codice:
squeezelite-R2 -o hw:CARD=J20,DEV=0 -n xxx -d all=debug
[18:36:04.048965] stream_init:290 init stream
[18:36:04.049147] stream_init:291 streambuf size: 2097152
[18:36:04.051003] output_init_alsa:817 init output
[18:36:04.051059] output_init_alsa:846 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1
[18:36:04.051087] output_init_common:346 outputbuf size: 3528000
[18:36:04.051169] output_init_common:370 idle timeout: 0
[18:36:04.053105] output_init_common:410 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100
[18:36:04.057408] output_init_alsa:862 memory locked
[18:36:04.057678] output_thread:638 open output device: hw:CARD=J20,DEV=0
[18:36:04.058390] alsa_open:355 opening device at: 44100
[18:36:04.057688] output_init_alsa:885 set output sched fifo rt: 45
[18:36:04.058759] alsa_open:406 opened device hw:CARD=J20,DEV=0 using format: S32_LE sample rate: 44100 mmap: 1
[18:36:04.058822] alsa_open:485 buffer: 40 period: 4 -> buffer size: 1764 period size: 441
[18:36:04.083990] decode_init:129 init decode, include codecs: exclude codecs:
[18:36:04.084256] register_dsd:624 using dsd to decode dsf,dff
[18:36:04.084897] load_faad:610 loaded libfaad.so.2
[18:36:04.085040] register_faad:640 using faad to decode aac
[18:36:04.085884] load_vorbis:300 loaded libvorbisfile.so.3
[18:36:04.086028] register_vorbis:329 using vorbis to decode ogg
[18:36:04.086679] load_flac:258 loaded libFLAC.so.8
[18:36:04.086816] register_flac:286 using flac to decode flc
[18:36:04.086985] register_pcm:406 using pcm to decode aif,pcm
[18:36:04.087449] load_mad:383 loaded libmad.so.0
[18:36:04.087626] register_mad:412 using mad to decode mp3
[18:36:04.088018] discover_server:756 sending discovery
[18:36:04.088380] discover_server:767 got response from: 192.168.178.31:3483
[18:36:04.088529] slimproto:849 connecting to 192.168.178.31:3483
[18:36:04.088885] slimproto:882 connected
[18:36:04.089015] sendHELO:124 mac: 00:e0:4c:68:d1:46
[18:36:04.089204] sendHELO:126 cap: Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.8.3 (R2),ModelName=SqueezeLite-R2,MaxSampleRate=384000,dsf,dff,aac,ogg,flc,aif,pcm,mp3
[18:36:04.090393] process:494 strm
[18:36:04.090536] process_strm:256 strm command q
[18:36:04.090736] decode_flush:190 decode flush
[18:36:04.090974] output_flush:423 flush output buffer
[18:36:04.091189] sendSTAT:171 STAT: STMf
[18:36:04.091388] process:494 strm
[18:36:04.091527] process_strm:256 strm command q
[18:36:04.091747] decode_flush:190 decode flush
[18:36:04.091934] output_flush:423 flush output buffer
[18:36:04.092081] sendSTAT:171 STAT: STMf
[18:36:04.092272] process:494 setd
[18:36:04.092423] sendSETDName:230 set playername: xxx
[18:36:04.092634] process:494 setd
[18:36:04.092801] process:494 aude
[18:36:04.092981] process_aude:395 enable spdif: 1 dac: 1
[18:36:04.093174] process:494 audg
[18:36:04.093334] process_audg:413 audg gainL: 0 gainR: 0 adjust: 0
[18:36:04.093480] set_volume:246 setting internal gain left: 65536 right: 65536
[18:36:04.132908] process:494 setd
[18:36:04.132939] process_setd:430 set name: xxx
[18:36:04.132961] sendSETDName:230 set playername: xxx
[18:36:04.399458] process:494 strm
[18:36:04.399663] process_strm:256 strm command t
[18:36:04.399818] sendSTAT:171 STAT: STMt
[18:36:08.399678] process:494 strm
[18:36:08.399806] process_strm:256 strm command t
[18:36:08.399981] sendSTAT:171 STAT: STMt
[18:36:10.299022] process:494 strm
[18:36:10.299146] process_strm:256 strm command q
[18:36:10.299337] decode_flush:190 decode flush
[18:36:10.299489] output_flush:423 flush output buffer
[18:36:10.299661] sendSTAT:171 STAT: STMf
[18:36:10.311460] process:494 audg
[18:36:10.311495] process_audg:413 audg gainL: 65536 gainR: 65536 adjust: 0
[18:36:10.311518] set_volume:246 setting internal gain left: 65536 right: 65536
[18:36:10.315608] process:494 strm
[18:36:10.315630] process_strm:256 strm command s
[18:36:10.315651] process_strm:325 strm s autostart: 1 transition period: 10 transition type: 0 codec: d
[18:36:10.315667] sendSTAT:171 STAT: STMf
[18:36:10.315705] codec_open:218 codec open: 'd'
[18:36:10.315742] stream_sock:384 connecting to 192.168.178.31:9000
[18:36:10.315954] stream_sock:413 header: GET /stream.mp3?player=00:e0:4c:68:d1:46 HTTP/1.0
[18:36:10.315978] sendSTAT:171 STAT: STMc
[18:36:10.316037] process_strm:357 set fade mode: 0
[18:36:10.316074] process:494 audg
[18:36:10.316095] process_audg:413 audg gainL: 65536 gainR: 65536 adjust: 0
[18:36:10.316110] set_volume:246 setting internal gain left: 65536 right: 65536
[18:36:10.359369] stream_thread:176 headers: len: 115
HTTP/1.1 200 OK
Server: Logitech Media Server (7.9.0 - 1484126560)
Connection: close
Content-Type: audio/dsf
[18:36:10.360456] sendRESP:202 RESP
[18:36:10.391962] _read_header:191 id: DSD len: 28 consume: 28
[18:36:10.392164] _read_header:158 DSF version: 1 format: 0
[18:36:10.392208] _read_header:168 channels: 2
[18:36:10.392246] _read_header:169 sample rate: 5644800
[18:36:10.392277] _read_header:170 lsb first: 1
[18:36:10.392336] _read_header:171 sample bytes: 192346560
[18:36:10.392365] _read_header:172 block size: 4096
[18:36:10.392396] _read_header:191 id: fmt len: 52 consume: 52
[18:36:10.392445] _read_header:178 found dsd len: 384696332
[18:36:10.392476] dsd_decode:527 setting track_start
[18:36:10.392512] dsd_decode:543 DSD to PCM output
[18:36:10.397392] _output_frames:61 start buffer frames: 36864
[18:36:10.397427] _output_frames:146 track start sample rate: 705600 replay_gain: 0
[18:36:10.397466] sendSTAT:171 STAT: STMs
[18:36:10.397525] sendSTAT:171 STAT: STMt
[18:36:10.407462] output_thread:638 open output device: hw:CARD=J20,DEV=0
[18:36:10.407938] alsa_open:355 opening device at: 705600
[18:36:10.408194] alsa_open:385 reopening device hw:CARD=J20,DEV=0 in plug mode as plughw:CARD=J20,DEV=0 for resampling
[18:36:10.408982] alsa_open:406 opened device plughw:CARD=J20,DEV=0 using format: S32_LE sample rate: 705600 mmap: 1
[18:36:10.409215] alsa_open:485 buffer: 40 period: 4 -> buffer size: 28224 period size: 7056
[18:36:10.409399] alsa_open:502 unable to set hw params: Invalid argument
[18:36:11.398581] sendSTAT:171 STAT: STMt
[18:36:12.399668] sendSTAT:171 STAT: STMt
[18:36:12.400095] process:494 strm
[18:36:12.400145] process_strm:256 strm command t
[18:36:12.400162] sendSTAT:171 STAT: STMt
[18:36:13.401207] sendSTAT:171 STAT: STMt
[18:36:14.402254] sendSTAT:171 STAT: STMt
[18:36:15.403300] sendSTAT:171 STAT: STMt
[18:36:15.409446] output_thread:638 open output device: hw:CARD=J20,DEV=0
[18:36:15.409518] alsa_open:355 opening device at: 705600
[18:36:15.409834] alsa_open:385 reopening device hw:CARD=J20,DEV=0 in plug mode as plughw:CARD=J20,DEV=0 for resampling
[18:36:15.410547] alsa_open:406 opened device plughw:CARD=J20,DEV=0 using format: S32_LE sample rate: 705600 mmap: 1
[18:36:15.410764] alsa_open:485 buffer: 40 period: 4 -> buffer size: 28224 period size: 7056
[18:36:15.410917] alsa_open:502 unable to set hw params: Invalid argument
[18:36:16.400815] process:494 strm
[18:36:16.400838] process_strm:256 strm command t
[18:36:16.400855] sendSTAT:171 STAT: STMt
[18:36:17.401894] sendSTAT:171 STAT: STMt
[18:36:18.402941] sendSTAT:171 STAT: STMt
[18:36:19.403989] sendSTAT:171 STAT: STMt
[18:36:20.401014] process:494 strm
[18:36:20.401034] process_strm:256 strm command t
[18:36:20.401050] sendSTAT:171 STAT: STMt
[18:36:20.410954] output_thread:638 open output device: hw:CARD=J20,DEV=0
[18:36:20.411014] alsa_open:355 opening device at: 705600
[18:36:20.411251] alsa_open:385 reopening device hw:CARD=J20,DEV=0 in plug mode as plughw:CARD=J20,DEV=0 for resampling
[18:36:20.411984] alsa_open:406 opened device plughw:CARD=J20,DEV=0 using format: S32_LE sample rate: 705600 mmap: 1
[18:36:20.412188] alsa_open:485 buffer: 40 period: 4 -> buffer size: 28224 period size: 7056
[18:36:20.412330] alsa_open:502 unable to set hw params: Invalid argument
[18:36:21.402089] sendSTAT:171 STAT: STMt
[18:36:22.403139] sendSTAT:171 STAT: STMt
[18:36:23.404186] sendSTAT:171 STAT: STMt
[18:36:24.401189] process:494 strm
[18:36:24.401210] process_strm:256 strm command t
[18:36:24.401225] sendSTAT:171 STAT: STMt
[18:36:25.402263] sendSTAT:171 STAT: STMt
[18:36:25.412362] output_thread:638 open output device: hw:CARD=J20,DEV=0
[18:36:25.412415] alsa_open:355 opening device at: 705600
[18:36:25.412666] alsa_open:385 reopening device hw:CARD=J20,DEV=0 in plug mode as plughw:CARD=J20,DEV=0 for resampling
[18:36:25.413355] alsa_open:406 opened device plughw:CARD=J20,DEV=0 using format: S32_LE sample rate: 705600 mmap: 1
[18:36:25.413553] alsa_open:485 buffer: 40 period: 4 -> buffer size: 28224 period size: 7056
[18:36:25.413708] alsa_open:502 unable to set hw params: Invalid argument
[18:36:26.403310] sendSTAT:171 STAT: STMt
[18:36:27.404360] sendSTAT:171 STAT: STMt
con l'opzione -D entrambi vengono riprodotti correttamente
la parte finale di squeezelite -?
codice:
Build options: LINUX ALSA EVENTFD DSD
Entrambi i file vengono riprodotti tranquillamente (no DOP) da hqplayer