Skip to content

Instantly share code, notes, and snippets.

@mdubb86
Created April 30, 2017 20:35
Show Gist options
  • Select an option

  • Save mdubb86/a3f824f5f5add34b0fc54be01afae370 to your computer and use it in GitHub Desktop.

Select an option

Save mdubb86/a3f824f5f5add34b0fc54be01afae370 to your computer and use it in GitHub Desktop.
# From https://gist.github.com/vees/b52fcf0cccde403472a4058761aa3b50
# Setup Darkice
echo "deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi" | sudo tee --append /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libmp3lame-dev
apt-get source darkice
cd darkice-1.2/
./configure --prefix=/usr --sysconfdir=/usr/share/doc/darkice/examples \
--with-lame --with-lame-prefix=/usr/lib/arm-linux-gnueabihf \
--with alsa --with-alsa-prefix=/usr/lib/arm-linux-gnueabihf
make
sudo make install
# Setup audio injector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment