mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-24 07:00:01 -05:00
Make dsnoop card-specific
Make dsnoop card-specific. Its definition is moved to pcm/dsnoop.conf.
This commit is contained in:
parent
c9b868889e
commit
9309430ae8
4 changed files with 88 additions and 25 deletions
|
|
@ -186,30 +186,6 @@ pcm.plug {
|
|||
slave.pcm $SLAVE
|
||||
}
|
||||
|
||||
pcm.dsnoop {
|
||||
@args [ SLAVE FORMAT RATE ]
|
||||
@args.SLAVE {
|
||||
type string
|
||||
default "hw:0,0"
|
||||
}
|
||||
@args.FORMAT {
|
||||
type string
|
||||
default S16_LE
|
||||
}
|
||||
@args.RATE {
|
||||
type integer
|
||||
default 48000
|
||||
}
|
||||
type dsnoop
|
||||
ipc_key 5778293
|
||||
ipc_key_add_uid yes
|
||||
slave {
|
||||
pcm $SLAVE
|
||||
format $FORMAT
|
||||
rate $RATE
|
||||
}
|
||||
}
|
||||
|
||||
pcm.shm {
|
||||
@args [ SOCKET PCM ]
|
||||
@args.SOCKET {
|
||||
|
|
@ -278,6 +254,7 @@ pcm.modem cards.pcm.modem
|
|||
|
||||
pcm.default cards.pcm.default
|
||||
pcm.dmix cards.pcm.dmix
|
||||
pcm.dsnoop cards.pcm.dsnoop
|
||||
|
||||
#
|
||||
# Control interface
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue