maanantai 27. syyskuuta 2010

compile cli aumix for snake os on ubuntu

This doesn´t include gui becouse i dont know how compile gtk or ncurses for snake os
You have to install snake os sdk and export path to point arm compiler: Snake os FAQ
sudo su
apt-get build-dep alsa-utils
apt-get source alsa-utils
cd alsa-utils-1.0.22/
CC=arm-linux-gcc LDFLAGS="-static" ./configure --host arm-linux --without-gpm --without-sysmouse --without-ncurses --without-gtk
make
cd src
scp aumix root@nas-ip:/usb/sda1

usage:
aumix [-[[+|-][]]||
R[ecord]|P[lay]|q[uery]] [-dhLqS] [-f ]

channel options:
v: main volume x: mix monitor
b: bass W: PCM 2
t: treble r: record
s: synthesizer i: input gain
w: PCM o: output gain
p: PC speaker 1: line 1
l: line 2: line 2
m: microphone 3: line 3
c: CD

other options:
d: adjust a device besides /dev/mixer
f: specify file for saving and loading settings (defaults to
~/.aumixrc or /etc/aumixrc)
h: this helpful message
L: load settings
q: query all channels and print their settings
S: save settings

Basically i just use aumix -q and aumix -v 99, 99 commands \,,/
*EDIT*

You can get ncurses gui if you remove --without-ncurses switch and copy /lib/terminfo folder from full linux distribution to snake os folder /usb/sda1/terminfo and do export TERMINFO=/usb/sda1/terminfo/

Ei kommentteja: