mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-08 10:06:23 -05:00
pulse-server: filter out iec958 PCM formats
Convert the iec958 PCM formats differently when enumerating the sink formats. This way we can still convert the param to a format_info.
This commit is contained in:
parent
93e9efc1e4
commit
a25396c1eb
2 changed files with 6 additions and 2 deletions
|
|
@ -389,7 +389,7 @@ struct encoding_info {
|
|||
|
||||
static const struct encoding_info encoding_names[] = {
|
||||
[ENCODING_ANY] = { "ANY", 0 },
|
||||
[ENCODING_PCM] = { "PCM", 0 },
|
||||
[ENCODING_PCM] = { "PCM", SPA_AUDIO_IEC958_CODEC_PCM },
|
||||
[ENCODING_AC3_IEC61937] = { "AC3-IEC61937", SPA_AUDIO_IEC958_CODEC_AC3 },
|
||||
[ENCODING_EAC3_IEC61937] = { "EAC3-IEC61937", SPA_AUDIO_IEC958_CODEC_EAC3 },
|
||||
[ENCODING_MPEG_IEC61937] = { "MPEG-IEC61937", SPA_AUDIO_IEC958_CODEC_MPEG },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue