mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
prefer 48KHz and 32 bit samples when we can
This commit is contained in:
parent
f5f1a435cc
commit
2e0e68e46e
5 changed files with 10 additions and 8 deletions
|
|
@ -495,9 +495,9 @@ static int port_enum_formats(struct spa_node *node,
|
|||
type->param.idEnumFormat, type->spa_format,
|
||||
"I", t->media_type.audio,
|
||||
"I", t->media_subtype.raw,
|
||||
":", t->format_audio.format, "Ieu", t->audio_format.S16,
|
||||
SPA_POD_PROP_ENUM(2, t->audio_format.S16,
|
||||
t->audio_format.S32),
|
||||
":", t->format_audio.format, "Ieu", t->audio_format.S32,
|
||||
SPA_POD_PROP_ENUM(2, t->audio_format.S32,
|
||||
t->audio_format.S16),
|
||||
":", t->format_audio.layout, "i", SPA_AUDIO_LAYOUT_INTERLEAVED,
|
||||
":", t->format_audio.rate, "iru", n->sample_rate,
|
||||
SPA_POD_PROP_MIN_MAX(1, INT32_MAX),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue