Ci siamo quasi!!!
Per curiosità ho provato a rimettere la versione di sox con le patch di Daphile e, ...
LMS:
codice:
[17-02-06 21:34:20.3389] Slim::Player::StreamingController::play (2100) 00:1c:c0:37:22:73
[17-02-06 21:34:20.3394] Slim::Player::StreamingController::_Stop (603) Song queue is now 0
[17-02-06 21:34:20.3397] Slim::Player::StreamingController::_setPlayingState (2357) new playing state STOPPED
[17-02-06 21:34:20.3399] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state IDLE
[17-02-06 21:34:20.3407] Slim::Player::Song::new (108) index 0 -> file:///music/file.flac
[17-02-06 21:34:20.3410] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state TRACKWAIT
[17-02-06 21:34:20.3422] Slim::Player::StreamingController::_playersMessage (789) Now Playing: file:///music/file.flac
[17-02-06 21:34:20.3436] Slim::Player::Song::getNextSong (229) file:///music/file.flac
[17-02-06 21:34:20.3438] Slim::Player::StreamingController::_nextTrackReady (737) 00:1c:c0:37:22:73: nextTrack will be index 0
[17-02-06 21:34:20.3440] Slim::Player::StreamingController::_Stream (1203) Song queue is now 0
[17-02-06 21:34:20.3446] Slim::Player::StreamingController::_Stream (1206) 00:1c:c0:37:22:73: preparing to stream song index 0
[17-02-06 21:34:20.3449] Slim::Player::Song::open (363) file:///music/file.flac
[17-02-06 21:34:20.3459] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->dsf via: [sox] -q -t flac $FILE$ -t dsf -b 1 - rate -vMn 5644800 sdm -f sdm-8
[17-02-06 21:34:20.3467] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->dsf via: [sox] -q -t flac $FILE$ -t dsf -b 1 - rate -vMn 5644800 sdm -f sdm-8
[17-02-06 21:34:20.3469] Slim::Player::Song::open (387) seek=false time=0 canSeek=2
[17-02-06 21:34:20.3477] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->dsf via: [sox] -q -t flac $FILE$ -t dsf -b 1 - rate -vMn 5644800 sdm -f sdm-8
[17-02-06 21:34:20.3480] Slim::Player::Song::open (408) Transcoder: streamMode=F, streamformat=dsf
[17-02-06 21:34:20.3482] Slim::Player::Song::open (547) isRemote? No
[17-02-06 21:34:20.3484] Slim::Player::Song::open (548) is sock defined? No
[17-02-06 21:34:20.3486] Slim::Player::Song::open (552) usepipe? No
[17-02-06 21:34:20.3491] Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command for conversion: "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t flac "/music/file.flac" -t dsf -b 1 - rate -vMn 5644800 sdm -f sdm-8 & |
[17-02-06 21:34:20.3493] Slim::Player::Song::open (563) Tokenized command: "/music/file.flac" -t dsf -b 1 - rate -vMn 5644800 sdm -f sdm-8 & |
[17-02-06 21:34:20.6553] Slim::Player::StreamingController::_Stream (1265) 00:1c:c0:37:22:73: stream
[17-02-06 21:34:20.6578] Slim::Player::StreamingController::_Stream (1302) Song queue is now 0
[17-02-06 21:34:20.6581] Slim::Player::StreamingController::_setPlayingState (2357) new playing state BUFFERING
[17-02-06 21:34:20.6583] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state STREAMING
[17-02-06 21:34:20.6936] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->dsf via: [sox] -q -t flac $FILE$ -t dsf -b 1 - rate -vMn 5644800 sdm -f sdm-8
[17-02-06 21:34:20.6946] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->dsf via: [sox] -q -t flac $FILE$ -t dsf -b 1 - rate -vMn 5644800 sdm -f sdm-8
[17-02-06 21:34:21.6069] Slim::Player::StreamingController::playerTrackStarted (2180) 00:1c:c0:37:22:73
[17-02-06 21:34:21.6071] Slim::Player::StreamingController::_setPlayingState (2357) new playing state PLAYING
[17-02-06 21:34:21.6073] Slim::Player::StreamingController::_Playing (361) Song 0 has now started playing
[17-02-06 21:34:21.6079] Slim::Player::StreamingController::_Playing (390) Song queue is now 0
[17-02-06 21:34:22.6386] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->dsf via: [sox] -q -t flac $FILE$ -t dsf -b 1 - rate -vMn 5644800 sdm -f sdm-8
[17-02-06 21:34:22.6392] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->dsf via: [sox] -q -t flac $FILE$ -t dsf -b 1 - rate -vMn 5644800 sdm -f sdm-8
[17-02-06 21:34:23.6143] Slim::Player::StreamingController::pause (2116) 00:1c:c0:37:22:73
[17-02-06 21:34:23.6151] Slim::Player::StreamingController::_setPlayingState (2357) new playing state PAUSED
[17-02-06 21:34:23.6166] Slim::Player::Source::playmode (96) 00:1c:c0:37:22:73: Current playmode: pause
squeezelite log:
codice:
[21:34:20.344225] decode_flush:190 decode flush
[21:34:20.344270] output_flush:423 flush output buffer
[21:34:20.657444] codec_open:218 codec open: 'd'
[21:34:20.657501] stream_sock:384 connecting to 127.0.0.1:9000
[21:34:20.657563] stream_sock:413 header: GET /stream.mp3?player=00:1c:c0:37:22:73 HTTP/1.0
[21:34:20.739332] stream_thread:176 headers: len: 115
HTTP/1.1 200 OK
Server: Logitech Media Server (7.9.0 - 1468928517)
Connection: close
Content-Type: audio/dsf
[21:34:20.936302] output_thread:690 open output device: hw:CARD=D20
[21:34:20.936374] alsa_open:366 opening device at: 176400
[21:34:20.936669] alsa_open:435 opened device hw:CARD=D20 using format: DSD_U32_BE sample rate: 176400 mmap: 1
[21:34:20.936698] alsa_open:526 buffer: 499 period: 3 -> buffer size: 88023 period size: 29341
[21:34:20.947633] _read_header:158 DSF version: 1 format: 0
[21:34:20.947709] _read_header:168 channels: 2
[21:34:20.947715] _read_header:169 sample rate: 5644800
[21:34:20.947719] _read_header:170 lsb first: 1
[21:34:20.947724] _read_header:171 sample bytes: 2305843009213693951
[21:34:20.947728] _read_header:172 block size: 4096
[21:34:20.947732] _read_header:178 found dsd len: 12
[21:34:20.947737] dsd_decode:735 setting track_start
[21:34:20.947741] dsd_decode:780 DSD128 stream, format: DSD_U32_BE, rate: 176400Hz
[21:34:21.606346] _output_frames:61 start buffer frames: 188416
[21:34:21.606399] _output_frames:146 track start sample rate: 176400 replay_gain: 0
[21:34:24.766603] output_thread:803 disabling output
esce un sacco di rumore (e pure DC), poi va in protezione l'ampli... ma, per un attimo, in mezzo al rumore qualcosa si sente!
Se si riesce a sistemare il problema con sox, forse funziona...