Use Codec2 and LPCNet tags for build scripts.
parent
4971c02975
commit
b067ca594b
|
@ -21,8 +21,8 @@ export CODEC2DIR=$FREEDVGUIDIR/codec2
|
|||
export LPCNETDIR=$FREEDVGUIDIR/LPCNet
|
||||
|
||||
# change this when working on combined codec2/freedv-gui changes
|
||||
CODEC2_BRANCH=master
|
||||
LPCNET_BRANCH=master
|
||||
CODEC2_BRANCH=v1.1.0
|
||||
LPCNET_BRANCH=v0.5
|
||||
|
||||
# OK, build and test LPCNet
|
||||
cd $FREEDVGUIDIR
|
||||
|
|
|
@ -35,7 +35,7 @@ cd $FREEDVGUIDIR
|
|||
if [ ! -d LPCNet ]; then
|
||||
git clone https://github.com/drowe67/LPCNet.git
|
||||
fi
|
||||
cd $LPCNETDIR && git switch master && git pull && git checkout $LPCNET_BRANCH
|
||||
cd $LPCNETDIR && git checkout v0.5 && git pull && git checkout $LPCNET_BRANCH
|
||||
mkdir -p build_osx && cd build_osx && rm -Rf *
|
||||
cmake -DBUILD_OSX_UNIVERSAL=1 ..
|
||||
make -j4
|
||||
|
@ -43,12 +43,12 @@ make -j4
|
|||
# sanity check test
|
||||
cd src && sox ../../wav/wia.wav -t raw -r 16000 - | ./lpcnet_enc -s | ./lpcnet_dec -s > /dev/null
|
||||
|
||||
# Re-build codec2 with LPCNet and test FreeDV 2020 support
|
||||
# Build codec2 with LPCNet and test FreeDV 2020 support
|
||||
cd $FREEDVGUIDIR
|
||||
if [ ! -d codec2 ]; then
|
||||
git clone https://github.com/drowe67/codec2.git
|
||||
fi
|
||||
cd codec2 && git switch master && git pull && git checkout $CODEC2_BRANCH
|
||||
cd codec2 && git checkout v1.1.0 && git pull && git checkout $CODEC2_BRANCH
|
||||
mkdir -p build_osx && cd build_osx && rm -Rf * && cmake -DLPCNET_BUILD_DIR=$LPCNETDIR/build_osx -DBUILD_OSX_UNIVERSAL=1 .. && make VERBOSE=1 -j4
|
||||
|
||||
# sanity check test
|
||||
|
|
Loading…
Reference in New Issue