pulse-server: don't make fake channels for iec958

Just leave the channels as they were.

See #1442
This commit is contained in:
Wim Taymans 2022-02-02 17:41:23 +01:00
parent 33607f769c
commit 4341d27c2c

View file

@ -475,10 +475,7 @@ int format_parse_param(const struct spa_pod *param, struct sample_spec *ss, stru
return -ENOTSUP;
info.info.raw.format = SPA_AUDIO_FORMAT_S16;
info.info.raw.channels = 2;
info.info.raw.rate = iec.rate;
info.info.raw.position[0] = SPA_AUDIO_CHANNEL_FL;
info.info.raw.position[1] = SPA_AUDIO_CHANNEL_FR;
break;
}
default: