I have a raspberry pi configured as a bluetooth audio sink using this post: Another How to turn your Pi in a Bluetooth Speaker Tutorial. Which uses pulseaudio.
I also have the PiFmAdv configured and working from wav files.
I'm trying to figure out how to get the audio from
I know on the
pifmadv side I can pipe audio to it using this:
| sudo ./pi_fm_adv --audio -
But I can not figure out how to get an audio pipe out of pulseaudio. I tried
cat on the
/dev/snd/pcmC0D0p file but that didn't produce any results.
In my research it seems that audio is treated differently and can't just be gleaned from the device files.
How can I get the audio from pulseaudio into a pipe?