commit f4754ff27d8a032658e01609c1c7d8fe8c42075f
parent 05077bf6a6ad44ed82a5a0f82f07a3bfdccfb663
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 12 Oct 2014 14:07:58 +0000
rat-play, rat-record
scripts to set the proper settings to play an audio stream or record it
(stdin, stdout) for use with call_in and call_out.
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/rat-play b/rat-play
@@ -0,0 +1,2 @@
+#!/bin/sh
+aplay $@ -r 48000 -c 1 -f S16_LE -
diff --git a/rat-record b/rat-record
@@ -0,0 +1,2 @@
+#!/bin/sh
+arecord $@ -r 48000 -c 1 -f S16_LE