File: a52.conf_pulse

package info (click to toggle)
alsa-plugins 1.2.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,620 kB
  • sloc: ansic: 12,343; sh: 4,159; makefile: 302
file content (20 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: This will make it possible to use a52 with PulseAudio out of
#              the box. It may be useful for other use cases. Just include
#              this in your ~/.asoundrc .

pcm.a52 {
    @args [ CARD ]
    @args.CARD {
               type string
               default 0
    }
    type plug
    slave {
           pcm {
               type a52
               card $CARD
           }
    }
}

# Usage: aplay -D a52:0 /foo.wav