tce-load -i compiletc ffmpeg5-dev libsamplerate-dev jack1-dev

wget https://www.alsa-project.org/files/pub/plugins/alsa-plugins-1.2.7.1.tar.bz2

cd alsa-plugins-1.2.7.1

CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;

make [0m 6.23s]
make install

Plugin directory: /usr/local/lib/alsa-lib
ALSA_CFLAGS: -I/usr/local/include
ALSA_LIBS: -L/usr/local/lib -lasound
JACK plugin:        yes
  JACK_CFLAGS: -I/usr/local/include
  JACK_LIBS: -L/usr/local/lib -ljack -lpthread
Pulseaudio plugin:  yes
  pulseaudio_CFLAGS: -D_REENTRANT -I/usr/local/include
  pulseaudio_LIBS: -L/usr/local/lib -lpulse
Samplerate plugin:  yes
  samplerate_CFLAGS: -I/usr/local/include
  samplerate_LIBS: -L/usr/local/lib -lsamplerate
Maemo plugin:       no
  Using Osso resource manager: no
Libav/ffmpeg config:
  LIBAV_CFLAGS:   -I/usr/local/include
  LIBAV_LIBS:     -L/usr/local/lib -lavcodec -lavutil -lswresample /  / 
Libav A52 plugin:   yes
Libav rate plugin:  yes
Speex rate plugin:  lib
Speex preprocess plugin:  yes
AAF plugin:         no