about summary refs log tree commit homepage
path: root/examples/dtas_state.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dtas_state.yml')
-rw-r--r--examples/dtas_state.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/dtas_state.yml b/examples/dtas_state.yml
new file mode 100644
index 0000000..592a93a
--- /dev/null
+++ b/examples/dtas_state.yml
@@ -0,0 +1,18 @@
+---
+socket: .dtas/player.sock
+sinks:
+- name: ODAC
+  command: |-
+    sox -t $SOX_FILETYPE -r $RATE -c $CHANNELS - \
+      -t s$SINK_BITS -r $SINK_RATE -c $SINK_CHANNELS - | \
+    aplay -D hw:DAC_1 -v -q -M --buffer-size=500000 --period-size=500 \
+      --disable-softvol --start-delay=100 \
+      --disable-format --disable-resample --disable-channels \
+      -t raw -c $SINK_CHANNELS -f S${SINK_BITS}_3LE -r $SINK_RATE
+  env:
+    SINK_BITS: 24
+    SINK_RATE: 44100
+    SINK_CHANNELS: 2
+- name: play
+  prio: -2
+  command: env AUDIODEV=hw:DAC play -t $SOX_FILETYPE -r $RATE -c $CHANNELS -