mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-14 06:59:54 -05:00
Use defaults.pcm.file_format for the default file format of file plugin
Use "defaults.pcm.file_format" for the default file format of file plugin. It's set to "raw" as default for compatibility.
This commit is contained in:
parent
fe95bc237a
commit
87ae12214b
2 changed files with 20 additions and 2 deletions
|
|
@ -96,6 +96,7 @@ defaults.pcm.iec958.device defaults.pcm.device
|
|||
defaults.pcm.modem.card defaults.pcm.card
|
||||
defaults.pcm.modem.device defaults.pcm.device
|
||||
# truncate files via file or tee PCM
|
||||
defaults.pcm.file_format "raw"
|
||||
defaults.pcm.file_truncate true
|
||||
defaults.rawmidi.card 0
|
||||
defaults.rawmidi.device 0
|
||||
|
|
@ -266,7 +267,10 @@ pcm.tee {
|
|||
}
|
||||
@args.FORMAT {
|
||||
type string
|
||||
default raw
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.file_format
|
||||
}
|
||||
}
|
||||
type file
|
||||
slave.pcm $SLAVE
|
||||
|
|
@ -285,7 +289,10 @@ pcm.file {
|
|||
}
|
||||
@args.FORMAT {
|
||||
type string
|
||||
default raw
|
||||
default {
|
||||
@func refer
|
||||
name defaults.pcm.file_format
|
||||
}
|
||||
}
|
||||
type file
|
||||
slave.pcm null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue