Загрузить файлы в «/»
This commit is contained in:
parent
a76403f681
commit
7f8b169f28
62
asoundrc
Normal file
62
asoundrc
Normal file
@ -0,0 +1,62 @@
|
||||
pcm.MAUDIO {
|
||||
type hw
|
||||
card rockchipes8316c
|
||||
device 0
|
||||
subdevice 0
|
||||
nonblock true
|
||||
}
|
||||
|
||||
ctl.MAUDIO {
|
||||
type hw
|
||||
card rockchipes8316c
|
||||
buffer_size 10000
|
||||
period_size 8192
|
||||
}
|
||||
|
||||
pcm.loopin {
|
||||
type plug
|
||||
slave.pcm "hw:Loopback,0,0"
|
||||
}
|
||||
|
||||
pcm.loopout {
|
||||
type plug
|
||||
slave.pcm "hw:Loopback,1,0"
|
||||
}
|
||||
|
||||
pcm.multi {
|
||||
type route;
|
||||
slave.pcm {
|
||||
type multi;
|
||||
slaves.a.pcm "MAUDIO";
|
||||
slaves.b.pcm "loopin";
|
||||
slaves.a.channels 2;
|
||||
slaves.b.channels 2;
|
||||
bindings.0.slave a;
|
||||
bindings.0.channel 0;
|
||||
bindings.1.slave a;
|
||||
bindings.1.channel 1;
|
||||
bindings.2.slave b;
|
||||
bindings.2.channel 0;
|
||||
bindings.3.slave b;
|
||||
bindings.3.channel 1;
|
||||
}
|
||||
|
||||
ttable.0.0 1;
|
||||
ttable.1.1 1;
|
||||
ttable.0.2 1;
|
||||
ttable.1.3 1;
|
||||
}
|
||||
|
||||
pcm.pbnrec {
|
||||
type plug
|
||||
slave.pcm "multi"
|
||||
hint {
|
||||
show on
|
||||
description "Alsa Playback & Record"
|
||||
}
|
||||
}
|
||||
|
||||
pcm.!default {
|
||||
type plug
|
||||
slave.pcm "pbnrec"
|
||||
}
|
4
audio_vis.sh
Normal file
4
audio_vis.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/ash
|
||||
clear
|
||||
arecord -q --period-size=50 --buffer-size=150 -r 4000 --disable-softvol -f U8 -t raw -D loopout | hexdump -e '"%02o\n"' | tr -d '*' | xargs -n 50 -r ./micro-utils/bin/spark -n -r
|
||||
|
Loading…
Reference in New Issue
Block a user