Has anyone successfully streamed analogue input via HiFiBerry DAC+ADC
and the PCP Streamer for Audio Input?

I am running PCP 8.1.0. I have added a HiFiBerry DAC+ADC HAT to my Pi3B,
because I want to start using the "Streamer for Audio Input"
functionality. I have connected the line out from my preamp to the line
in of the ADC card. Now the challenge is to get everything configured
correctly, based on 'instructions on the HiFiBerry web site'
(https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/).

First, I went to Squeezelite settings
(http://<PCP>/cgi-bin/squeezelite.cgi) and selected "HiFiBerry DAC+ ADC"
as Audio Output (I realise this is potentially redundant for me, as I do
not intend to use the output, but I figured it was best to do this in
case it also affected _input_ settings).

Then, under Card Control (http://<PCP>/cgi-bin/soundcard_control.cgi) I
turned off the built-in audio.

Under Output setting, I chose "hw:CARD=sndrpihifiberry,DEV=0" (I also
tried "hw:CARD=sndrpihifiberry" and tried setting this field to blank).

Under Tweaks (http://<PCP>/cgi-bin/tweaks.cgi), Audio tweaks, I made
sure that Streamer for Audio input was "Yes" and selected the input
device as "hw:CARD=sndrpihifiberry,DEV=0".

With these settings, I do not get any sound on the stream
http://<PCP>:9100/S16_LE/44100/2/F.

I also tried selecting Plug=hw and Card=0, and "Write" to update
asound.conf. This did not change the asound.conf from before, it still
looks like this, but with no sound:

Code:
--------------------
    pcm.!default {
  type hw card 0
  }
  ctl.!default {
  type hw card 0
  }
--------------------


This is in line with the instructions on the HiFiBerry website. However,
it is different from what the asound.conf looked like when I was first
trying this on PiCorePlayer 7.0:

Code:
--------------------
    # default - Generated by piCorePlayer
  pcm.!default {
  type plug
  slave.pcm "hw:0,0"
  }
  
  pcm.pcpinput {
  type hw
  card sndrpihifiberry;
  device 0;
  }
  
  #---ALSA EQ Below--------
  pcm.sound_device {
  type plug
  slave.pcm {
  type hw
  card Headphones
  device 0
  }
  }
  
  ctl.equal {
  type equal;
  controls "/home/tc/.alsaequal.bin"
  library "/usr/local/lib/ladspa/caps.so"
  }
  
  pcm.plugequal {
  type equal;
  slave.pcm "sound_device";
  controls "/home/tc/.alsaequal.bin"
  library "/usr/local/lib/ladspa/caps.so"
  }
  
  pcm.equal {
  type plug;
  slave.pcm plugequal;
  }
--------------------


HiFiBerry also instruct you to change /boot/config, but I don't know if
this is necessary on the PCP (it would be /mnt/mmcblk0p1/config.txt on
the PCP, I assume).

What else should I try?


------------------------------------------------------------------------
beneix's Profile: http://forums.slimdevices.com/member.php?userid=59783
View this thread: http://forums.slimdevices.com/showthread.php?t=115692

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to