1
0
mirror of git://f0xx.org/ac/ac-scripts synced 2026-07-29 04:18:19 +03:00
This commit is contained in:
Anton Afanasyeu
2026-06-23 12:20:53 +02:00
commit 3c197ed9dd
30 changed files with 3510 additions and 0 deletions

12
validate_opus_speex.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Unit-test baseline for Opus/Speex negotiation and stream protection (task 3).
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT"
echo "== Opus/Speex + stream protection unit tests =="
./gradlew :app:testDebugUnitTest \
--tests 'com.foxx.androidcast.network.transport.StreamProtectionNegotiatorTest' \
--tests 'com.foxx.androidcast.media.AudioNegotiatorTest' \
--tests 'com.foxx.androidcast.media.codec.*' \
"$@"
echo "== OK =="