mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: initialise the format
Otherwise the format is 0 (S8) and only S8 will be allowed.
This commit is contained in:
parent
7bf84fa5e2
commit
95cfb531a0
1 changed files with 1 additions and 0 deletions
|
|
@ -1282,6 +1282,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(pipewire)
|
|||
|
||||
PW_LOG_TOPIC_INIT(alsa_log_topic);
|
||||
spa_zero(params);
|
||||
params.format = SND_PCM_FORMAT_UNKNOWN;
|
||||
|
||||
snd_config_for_each(i, next, conf) {
|
||||
snd_config_t *n = snd_config_iterator_entry(i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue