about summary refs log tree commit homepage
path: root/examples/dtas_state.yml
blob: 592a93ac784f7c5d796514d0b47c62fd923eeafe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 -