Hi Everyone,
maybe you can remember the discussion about HD Wav (DXD) files that did not work properly with Squeezelite. Installed is the latest version from Ralphy: squeezelite-1.9.1.1137-x86_64.tar.gz LMS is 7.9.2 (Today's build) The Dac I am using is from IFI which is capable of Native DSD Playback. I start with: Code: -------------------- ./squeezelite -b 3072:4096 -R -u vME:::28 -c pcm,dsd,flac,mp3,ogg -r 44100,48000,88200,96000,176400,192000,352800,384000 -D 0:u32be -d all=debug -o hw:CARD=Audio,DEV=0 -a 100:3:32:1:2 -p 45 -------------------- I can play almost every track but when it comes to HD Wav there's a loud noise while playing it. (You can hear the song in the background but the noise is much louder) Code: -------------------- test@streamer:~/programs$ ./squeezelite_pre -b 3072:4096 -R -u vME:::28 -c pcm,dsd,flac,mp3,ogg -r 44100,48000,88200,96000,176400,192000,352800,384000 -D 0:u32be -d all=debug -o hw:CARD=Audio,DEV=0 -a 100:3:32:1:2 -p 45 [19:18:59.455843] stream_init:294 init stream [19:18:59.456046] stream_init:295 streambuf size: 3145728 [19:18:59.458731] output_init_alsa:939 init output [19:18:59.458788] output_init_alsa:979 requested alsa_buffer: 100 alsa_period: 3 format: 32 mmap: 1 [19:18:59.458829] output_init_common:350 outputbuf size: 4194304 [19:18:59.458917] output_init_common:374 idle timeout: 0 [19:18:59.460963] output_init_common:414 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 [19:18:59.464912] output_init_alsa:1005 memory locked [19:18:59.464947] output_init_alsa:1011 glibc detected using mallopt [19:18:59.465058] output_init_alsa:1031 set output sched fifo rt: 45 [19:18:59.465072] decode_init:153 init decode [19:18:59.465148] register_dsd:908 using dsd to decode dsf,dff [19:18:59.465158] register_vorbis:334 using vorbis to decode ogg [19:18:59.465166] register_flac:294 using flac to decode flc [19:18:59.465175] register_pcm:433 using pcm to decode aif,pcm [19:18:59.465184] register_mad:414 using mad to decode mp3 [19:18:59.465191] decode_init:187 include codecs: pcm,dsd,flac,mp3,ogg exclude codecs: [19:18:59.465697] resample_init:362 resampling sync recipe: 0x36, flags: 0x00, scale: 0.89, precision: 28.0, passband_end: 0.00000, stopband_begin: 0.00000, phase_response: -1.0 [19:18:59.465739] discover_server:784 sending discovery [19:18:59.465781] output_thread:687 open output device: hw:CARD=Audio,DEV=0 [19:18:59.465801] alsa_open:351 opening device at: 44100 [19:18:59.465925] alsa_open:422 opened device hw:CARD=Audio,DEV=0 using format: S32_LE sample rate: 44100 mmap: 1 [19:18:59.465955] alsa_open:513 buffer: 100 period: 3 -> buffer size: 4410 period size: 1470 [19:18:59.466222] discover_server:795 got response from: 10.0.0.34:3483 [19:18:59.515176] alsa_open:351 opening device at: 44100 [19:18:59.515399] alsa_open:422 opened device hw:CARD=Audio,DEV=0 using format: S32_LE sample rate: 44100 mmap: 1 [19:18:59.515433] alsa_open:513 buffer: 100 period: 3 -> buffer size: 4410 period size: 1470 [19:18:59.515947] slimproto:883 connecting to 10.0.0.34:3483 [19:18:59.516297] slimproto:922 connected [19:18:59.516310] sendHELO:130 mac: ec:a8:6b:fd:86:06 [19:18:59.516315] sendHELO:132 cap: Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.1-1137,ModelName=SqueezeLite,MaxSampleRate=384000,aif,pcm,dsf,dff,flc,mp3,ogg [19:18:59.526619] decode_flush:229 decode flush [19:18:59.526642] output_flush:427 flush output buffer [19:18:59.526671] sendSTAT:179 STAT: STMf [19:18:59.526752] process_aude:408 enable spdif: 1 dac: 1 [19:18:59.526860] process:514 audg [19:18:59.526876] process_audg:426 audg gainL: 3840 gainR: 3840 adjust: 1 [19:18:59.526883] set_volume:233 setting internal gain left: 3840 right: 3840 [19:19:29.334724] process_serv:476 switch server [19:19:29.434850] slimproto:892 switching server to 10.0.0.25:3483 [19:19:29.435410] slimproto:922 connected [19:19:29.435455] sendHELO:130 mac: ec:a8:6b:fd:86:06 [19:19:29.435478] sendHELO:132 cap: Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.1-1137,ModelName=SqueezeLite,MaxSampleRate=384000,aif,pcm,dsf,dff,flc,mp3,ogg [19:19:29.443355] process:514 strm [19:19:29.443392] process_strm:264 strm command q [19:19:29.443407] decode_flush:229 decode flush [19:19:29.443424] output_flush:427 flush output buffer [19:19:29.443445] sendSTAT:179 STAT: STMf [19:19:29.443490] process:514 strm [19:19:29.443502] process_strm:264 strm command q [19:19:29.443516] decode_flush:229 decode flush [19:19:29.443529] output_flush:427 flush output buffer [19:19:29.443544] sendSTAT:179 STAT: STMf [19:19:29.443562] process:514 setd [19:19:29.443577] process:514 setd [19:19:29.443592] process:514 aude [19:19:29.443603] process_aude:408 enable spdif: 1 dac: 1 [19:19:29.443621] process:514 audg [19:19:29.443632] process_audg:426 audg gainL: 3840 gainR: 3840 adjust: 0 [19:19:29.443649] set_volume:233 setting internal gain left: 65536 right: 65536 [19:19:29.997065] process:514 strm [19:19:29.997119] process_strm:264 strm command t [19:19:29.997134] sendSTAT:179 STAT: STMt [19:19:34.947316] set_volume:233 setting internal gain left: 65536 right: 65536 [19:19:34.947982] codec_open:257 codec open: 'p' [19:19:34.947996] pcm_open:397 pcm size: 4 rate: 352800 chan: 2 bigendian: 0 [19:19:34.948020] stream_sock:393 connecting to 10.0.0.25:9000 [19:19:34.948254] stream_sock:422 header: GET /stream.mp3?player=ec:a8:6b:fd:86:06 HTTP/1.0 [19:19:34.948274] sendSTAT:179 STAT: STMc [19:19:34.948284] process_strm:370 set fade mode: 0 [19:19:34.948300] process:514 audg [19:19:34.948312] process_audg:426 audg gainL: 3840 gainR: 3840 adjust: 0 [19:19:34.948324] set_volume:233 setting internal gain left: 65536 right: 65536 [19:19:34.996784] stream_thread:180 headers: len: 115 HTTP/1.1 200 OK Server: Logitech Media Server (7.9.2 - 1555406898) Connection: close Content-Type: audio/L16 [19:19:34.997739] sendRESP:210 RESP [19:19:35.001858] pcm_decode:206 setting track_start [19:19:35.001991] resample_newstream:232 disable resampling - rates match [19:19:35.002009] process_newstream:124 processing: inactive [19:19:35.018828] _output_frames:64 start buffer frames: 44761 [19:19:35.018881] _output_frames:149 track start sample rate: 352800 replay_gain: 0 [19:19:35.028925] output_thread:687 open output device: hw:CARD=Audio,DEV=0 [19:19:35.029337] alsa_open:351 opening device at: 352800 [19:19:35.029683] alsa_open:422 opened device hw:CARD=Audio,DEV=0 using format: S32_LE sample rate: 352800 mmap: 1 [19:19:35.029740] alsa_open:513 buffer: 100 period: 3 -> buffer size: 35280 period size: 11760 [19:19:35.165146] alsa_open:351 opening device at: 352800 [19:19:35.165539] alsa_open:422 opened device hw:CARD=Audio,DEV=0 using format: S32_LE sample rate: 352800 mmap: 1 [19:19:35.165602] alsa_open:513 buffer: 100 period: 3 -> buffer size: 35280 period size: 11760 [19:19:46.677301] decode_flush:229 decode flush [19:19:46.677317] output_flush:427 flush output buffer -------------------- I have prepared a second system with the same USB Interface from IFI. However I installed Daphile on this. This plays the File without any issue. HEre's the logfile from this system. Code: -------------------- [17:16:49.763572] decode_flush:224 decode flush [17:16:49.763621] output_flush:423 flush output buffer [17:16:49.825601] codec_open:252 codec open: 'p' [17:16:49.825650] pcm_open:449 pcm size: 16 rate: 705600 chan: 15 bigendian: 0 [17:16:49.825685] stream_sock:384 connecting to 127.0.0.1:9000 [17:16:49.825877] stream_sock:413 header: GET /stream.mp3?player=5a:ae:a6:73:2f:e4 HTTP/1.0 [17:16:49.889248] stream_thread:176 headers: len: 117 HTTP/1.1 200 OK Server: Logitech Media Server (7.9.2 - git776eb7c) Connection: close Content-Type: audio/x-wav [17:16:49.985875] _check_header:77 WAVE [17:16:49.985919] _check_header:101 header: fmt len: 40 [17:16:49.985929] _check_header:134 pcm size: 4 rate: 352800 chan: 2 bigendian: 0 [17:16:49.985937] _check_header:101 header: fact len: 4 [17:16:49.985957] _check_header:101 header: data len: 615610848 [17:16:49.985964] _check_header:111 audio size: 615610848 [17:16:49.985971] pcm_decode:203 setting track_start [17:16:49.985979] resample_newstream:231 disable resampling - rates match [17:16:49.985986] process_newstream:123 processing: inactive [17:16:50.004984] _output_frames:61 start buffer frames: 393199 [17:16:50.005033] _output_frames:146 track start sample rate: 352800 replay_gain: 0 -------------------- and the Transcode log Code: -------------------- [Native+] -F wav-wav-daphile-* -m 5a-ae-a6-73-2f-e4 -p daphile -f wav /srv/mediaserver/music/USB Drives/LEER/What-A-Wonderful-World_DXD352KHz_2chDXD.wav Clock: 17:16:49.796 Source: Music Folder/USB Drives/LEER/What-A-Wonderful-World_DXD352KHz_2chDXD.wav Input format: WAV (F32LE), 352.8kHz, 32bits Output format: WAV (S32LE), 352.8kHz, 32bits -------------------- Maybe this helps to see what Daphile does here to play the tracks properly. Any idea? Maybe to do with the Transcode? Input format: WAV *(F32LE)* Output format: WAV *(S32LE)* Thanks S ------------------------------------------------------------------------ s25a's Profile: http://forums.slimdevices.com/member.php?userid=65256 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