mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-24 07:00:01 -05:00
Add default dmix rate and format definitions in alsa.conf
Added defaults.pcm.dmix_format and dmix_rate definitions to alsa.conf. They are referred as the default values of standard dmix/dsnoop PCM.
This commit is contained in:
parent
9984a0a4b4
commit
da17b50892
3 changed files with 18 additions and 4 deletions
|
|
@ -18,11 +18,17 @@ pcm.!dmix {
|
|||
}
|
||||
@args.FORMAT {
|
||||
type string
|
||||
default S16_LE
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.dmix_format
|
||||
}
|
||||
}
|
||||
@args.RATE {
|
||||
type integer
|
||||
default 48000
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.dmix_rate
|
||||
}
|
||||
}
|
||||
type dmix
|
||||
ipc_key {
|
||||
|
|
|
|||
|
|
@ -18,11 +18,17 @@ pcm.!dsnoop {
|
|||
}
|
||||
@args.FORMAT {
|
||||
type string
|
||||
default S16
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.dmix_format
|
||||
}
|
||||
}
|
||||
@args.RATE {
|
||||
type integer
|
||||
default 48000
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.dmix_rate
|
||||
}
|
||||
}
|
||||
type dsnoop
|
||||
ipc_key {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue