mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: always list PCM as iec958 codec
Always put PCM as the supported format for iec958. Only accept iec958codecs for iec958 capable nodes.
This commit is contained in:
parent
592163fb0a
commit
01f640709e
2 changed files with 5 additions and 4 deletions
|
|
@ -94,6 +94,7 @@ int spa_alsa_init(struct state *state)
|
|||
if (state->stream == SND_PCM_STREAM_PLAYBACK) {
|
||||
state->is_iec958 = spa_strstartswith(state->props.device, "iec958");
|
||||
state->is_hdmi = spa_strstartswith(state->props.device, "hdmi");
|
||||
state->iec958_codecs |= 1ULL << SPA_AUDIO_IEC958_CODEC_PCM;
|
||||
}
|
||||
|
||||
if (state->open_ucm) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue