summaryrefslogtreecommitdiffstats
path: root/scripts/test_configfs.sh
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-08 17:02:51 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:41 +1100
commit39af5aad096d103c171096f05cc0487e66de0571 (patch)
tree76ad9495f009a794835b7785a593dc49f19ca623 /scripts/test_configfs.sh
parent3b2d2634474398bb40c64941c828a4cf6b363d4a (diff)
Add working loopback implementation, helper scripts
Reworked the original aloop implementation to have the PCM devices loop on themselves, and subscribe the the AVIRT system. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'scripts/test_configfs.sh')
-rwxr-xr-xscripts/test_configfs.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/test_configfs.sh b/scripts/test_configfs.sh
index 1ae0fe5..baa5e58 100755
--- a/scripts/test_configfs.sh
+++ b/scripts/test_configfs.sh
@@ -4,14 +4,18 @@ mkdir -p /config && mount -t configfs none /config
mkdir /config/avirt/streams/playback_media
echo "2">/config/avirt/streams/playback_media/channels
+echo "ap_loopback">/config/avirt/streams/playback_media/map
mkdir /config/avirt/streams/playback_navigation
echo "1">/config/avirt/streams/playback_navigation/channels
+echo "ap_loopback">/config/avirt/streams/playback_navigation/map
mkdir /config/avirt/streams/playback_emergency
echo "1">/config/avirt/streams/playback_emergency/channels
+echo "ap_loopback">/config/avirt/streams/playback_emergency/map
mkdir /config/avirt/streams/capture_voice
echo "1">/config/avirt/streams/capture_voice/channels
+echo "ap_loopback">/config/avirt/streams/capture_voice/map
echo "1">/config/avirt/streams/sealed