Merge branch 'master' of https://code.brandmeister.network/r3abm/DigestPlay
This commit is contained in:
commit
5caace3ebf
4 changed files with 12 additions and 7 deletions
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
play.conf
|
||||||
|
md380-emu
|
||||||
|
digestplay
|
||||||
|
*.o
|
||||||
|
*.d
|
|
@ -1,3 +0,0 @@
|
||||||
CLIENT=250901
|
|
||||||
PASSWORD=fvyYWXBo
|
|
||||||
SERVER=master-test.dstar.su
|
|
5
play.sample.conf
Normal file
5
play.sample.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
CONVERTER="/usr/bin/qemu-arm ./md380-emu"
|
||||||
|
PLAYER="./digestplay"
|
||||||
|
CLIENT=2049999
|
||||||
|
PASSWORD=fvyYWXBo
|
||||||
|
SERVER=213.222.29.197
|
6
play.sh
Normal file → Executable file
6
play.sh
Normal file → Executable file
|
@ -3,11 +3,9 @@
|
||||||
DIRECTORY=$(dirname $0)
|
DIRECTORY=$(dirname $0)
|
||||||
. $DIRECTORY/play.conf
|
. $DIRECTORY/play.conf
|
||||||
|
|
||||||
CONVERTER="/usr/bin/qemu-arm /opt/MD380Tools/md380-emu"
|
FILE=$(mktemp)
|
||||||
PLAYER="/opt/Tools/digestplay"
|
|
||||||
FILE=$(mktmp)
|
|
||||||
|
|
||||||
sox $1 -c1 -r8000 -b16 --encoding signed-integer -L $FILE.raw
|
sox $1 -c1 -r8000 -b16 --encoding signed-integer -L --norm=-25 $FILE.raw
|
||||||
$CONVERTER -e -i $FILE.raw -o /dev/stdout | \
|
$CONVERTER -e -i $FILE.raw -o /dev/stdout | \
|
||||||
$PLAYER \
|
$PLAYER \
|
||||||
--server-address $SERVER \
|
--server-address $SERVER \
|
||||||
|
|
Loading…
Add table
Reference in a new issue