-
Notifications
You must be signed in to change notification settings - Fork 1.3k
get your audio again (cras)
cras broke in crouton a while ago, this guide is to build cras for crouton!
This is easy, I shouldn't explain this...
First, install required dependencies
sudo apt update
sudo apt install build-essential git git-core nano libtool libasound2-dev libdbus-1-dev libsbc-dev libiniparser-dev ladspa-sdk libgtest-dev libudev-dev cargo -y
Then git clone the repository and cd in it and a bunch of other stuff
git clone https://chromium.googlesource.com/chromiumos/third_party/adhd -b master
cd adhd/cras
./git_prepare.sh
yay
You need to install dependencies as cras needs dependencies not in Debian/Ubuntu repositories.
Just one, luckily... You need to install speexdsp
which has a straightfoward installation process: git clone https://github.com/xiph/speexdsp; cd speexdsp; ./autogen.sh; ./configure --prefix=/usr; make -j4; sudo make install -j4;
You can now run ./configure --prefix=/usr
Just run make -j4
. Afterwards run sudo make install -j4
Congrats! Now when using a X session, run the command cras
(with sudo
, as for some reason it only works with root)!
- Failed to import [insert sound card] - womp womp ig