Candlemass wrote: 
> Squeezelite on my PC (tested versions 1.6, 1.7, 1.8.3) and on my
> piCorePlayer does not play FLAC files anymore together with Daphile
> 16.01 (LMS 7.9.0 git64e1de0). I don't know when exactly this problem was
> introduced, but I guess it was during the last Daphile upgrade. But my
> Squeezebox Radios and my iPad with SqueezePad still have no problems
> with FLAC files. They play them fine. So I guess there is some
> incompatibility between Squeezelite and latest Daphile.
> 
> When playing a FLAC file Squeezelite's debug message show these entries
> on my PC:
> > 
Code:
--------------------
  >   > [09:53:27.361454] decode_init:130 init decode, include codecs:  exclude 
codecs: 
  > [09:53:27.361524] register_dsd:625 using dsd to decode dsf,dff
  > [09:53:27.361894] register_ff:732 using ffmpeg to decode alc
  > [09:53:27.361909] register_ff:716 using ffmpeg to decode wma,wmap,wmal
  > [09:53:27.361914] register_faad:641 using faad to decode aac
  > [09:53:27.361919] register_vorbis:330 using vorbis to decode ogg
  > [09:53:27.361923] register_flac:286 using flac to decode flc
  > [09:53:27.361928] register_pcm:404 using pcm to decode aif,pcm
  > [09:53:27.361933] register_mad:413 using mad to decode mp3
  > [09:53:27.597593] decode_flush:193 decode flush
  > [09:53:27.601343] decode_flush:193 decode flush
  > [09:53:31.530170] decode_flush:193 decode flush
  > [09:53:31.572983] codec_open:221 codec open: 'd'
  > [09:53:36.369139] _read_header:192 id: DSD  len: 28 consume: 28
  > [09:53:36.369264] _read_header:159 DSF version: 1 format: 0
  > [09:53:36.369280] _read_header:169 channels: 2
  > [09:53:36.369291] _read_header:170 sample rate: 2822400
  > [09:53:36.369301] _read_header:171 lsb first: 1
  > [09:53:36.369312] _read_header:172 sample bytes: 2305843009213693951
  > [09:53:36.369323] _read_header:173 block size: 4096
  > [09:53:36.369333] _read_header:192 id: fmt  len: 52 consume: 52
  > [09:53:36.369344] _read_header:179 found dsd len: 12
  > [09:53:36.369355] dsd_decode:528 setting track_start
  > [09:53:36.369365] dsd_decode:544 DSD to PCM output
  > [09:53:36.390080] alsa_open:501 unable to get period size: Invalid argument
  > [09:53:41.392866] alsa_open:501 unable to get period size: Invalid argument
  > [09:53:46.395650] alsa_open:501 unable to get period size: Invalid argument
  > [09:53:51.398056] alsa_open:501 unable to get period size: Invalid argument
  > [09:53:56.402324] alsa_open:501 unable to get period size: Invalid argument
  > [09:54:01.405158] alsa_open:501 unable to get period size: Invalid argument
--------------------
> > 
> 
> At first I tried changing some output settings without luck, but then
> the DSD/DSF log entries got my attention. No idea what they are about
> because I don't have any DSF files. I tried to disable dsd with
> Squeezelite's "-e dsd" command line options. After that FLAC files
> could be played again. Log entries changed to:
> > 
Code:
--------------------
  >   > [09:52:14.359126] decode_init:130 init decode, include codecs:  exclude 
codecs: dsd
  > [09:52:14.359619] register_ff:732 using ffmpeg to decode alc
  > [09:52:14.359639] register_ff:716 using ffmpeg to decode wma,wmap,wmal
  > [09:52:14.359648] register_faad:641 using faad to decode aac
  > [09:52:14.359656] register_vorbis:330 using vorbis to decode ogg
  > [09:52:14.359664] register_flac:286 using flac to decode flc
  > [09:52:14.359671] register_pcm:404 using pcm to decode aif,pcm
  > [09:52:14.359681] register_mad:413 using mad to decode mp3
  > [09:52:14.597391] decode_flush:193 decode flush
  > [09:52:14.601446] decode_flush:193 decode flush
  > [09:52:29.360811] decode_flush:193 decode flush
  > [09:52:29.413308] codec_open:221 codec open: 'f'
  > [09:52:33.977907] write_cb:116 setting track_start
--------------------
> > 

Not sure to correctly understand, but if you are using Daphile as the
server, be aware that it recently introduced the capability to convert
to DSD on the fly, I suppose this is what is happening and why you
receive a DSD stream when playig a FLAC file. Seems to me your
dac/player could not handle DSD and the the errors.

Disabling DSD probably let daphile output the native format instead, but
You better have a look to the transcode parametres in Daphile and choose
not to transcode to dsd.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to