mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pipewire: module-ffado-driver: don't have labels at the end
Labels are only allowed before statements before C23, and clang does not support them as an extension in gnu11 that pipewire uses, so add `break`s.
This commit is contained in:
parent
2cc0fe0b3c
commit
212c574821
1 changed files with 2 additions and 0 deletions
|
|
@ -794,6 +794,7 @@ static int open_ffado_device(struct impl *impl)
|
|||
impl->source.info.channels++;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
impl->sink.info.channels = 0;
|
||||
|
|
@ -805,6 +806,7 @@ static int open_ffado_device(struct impl *impl)
|
|||
impl->sink.info.channels++;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ffado_streaming_prepare(impl->dev)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue