soundcheck wrote: 
> 
> No matter if streaming native flac or pcm , squeezelite keeps looping in
> trying to open the interface. And fails as shown in above log snippet.

SC, I am willing to help you, but not with one hand tied behind my back.
What other patches have you applied to the kernel?

You have the DAC+ Pro, right? So if you are using it in master mode, eg.
you have patched the clock driver source to set the right dividers for
BCL/LRCLK. You need to rewind, and go back to the beginning of what you
have done to add 384k support to the kernel, and the drivers, before we
even get to squeezelite.

You are not trying to do anything that cannot be done! But it isn't a
case of a global search and replace and a patch you got from the ALSA
mailing list. ;)

This is with Sabre connected via Pi I2S in slave mode....

Code:
--------------------
    
  /usr/bin/squeezelite -n Akkordion2B3 -m B8:27:EB:AA:D7:3B -o 
hw:CARD=Akkordion -b 10240:30720 -a 16384:4096 -f 
/var/log/squeezelite/squeezelite.log -d all=debug -d slimproto=info -u EhM::2 
-s nuc5ppyh-cm -C 30 -P /tmp/squeezelite.pid 
  log_formats:321 supported formats: S16_LE, S24_LE, S32_LE
  output_init_common:410 supported rates: 384000 352800 192000 176400 96000 
88200 48000 44100 32000 16000 11025 8000
  ....
  sendHELO:126 cap: 
Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.8,ModelName=SqueezeLite,MaxSampleRate=384000,dsf,dff,alc,wma,wmap,wmal,aac,ogg,flc,aif,pcm,mp3
  ....
  output_thread:708 open output device: hw:CARD=Akkordion
  alsa_open:425 opening device at: 384000
  alsa_open:476 opened device hw:CARD=Akkordion using format: S32_LE sample 
rate: 384000 mmap: 1
  alsa_open:555 buffer: 16384 period: 4096 -> buffer size: 16384 period size: 
4096
  ....
  Akkordion2B3 kernel:  Akkordion DAC: snd_rpi_akkordion_dac_hw_params: 
frequency=384000, format=S32_LE, sample_bits=32, physical_bits=32, channels=2. 
Setting bclk_ratio=64.
  Akkordion2B3 kernel: bcm2835-i2s 3f203000.i2s: bcm2835_i2s_hw_params: 
clk_set_rate: target_freq=24576000.
  Akkordion2B3 kernel: bcm2835-i2s 3f203000.i2s: bcm2835_i2s_start_clock: 
clk_prepare_enable: freq=24575901.
  ....
  output_thread:708 open output device: hw:CARD=Akkordion
  alsa_open:425 opening device at: 352800
  alsa_open:476 opened device hw:CARD=Akkordion using format: S32_LE sample 
rate: 352800 mmap: 1
  alsa_open:555 buffer: 16384 period: 4096 -> buffer size: 16384 period size: 
4096
  .....
  Akkordion2B3 kernel:  Akkordion DAC: snd_rpi_akkordion_dac_hw_params: 
frequency=352800, format=S32_LE, sample_bits=32, physical_bits=32, channels=2. 
Setting bclk_ratio=64.
  Akkordion2B3 kernel: bcm2835-i2s 3f203000.i2s: 
bcm2835_i2s_set_dai_bclk_ratio: ratio=64.
  Akkordion2B3 kernel: bcm2835-i2s 3f203000.i2s: bcm2835_i2s_hw_params: 
clk_set_rate: target_freq=22579200.
  Akkordion2B3 kernel: bcm2835-i2s 3f203000.i2s: bcm2835_i2s_start_clock: 
clk_prepare_enable: freq=22579046.
  .....
  
--------------------


------------------------------------------------------------------------
JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069
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