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:
Barnabás Pőcze 2023-05-31 21:41:23 +02:00 committed by Wim Taymans
parent 2cc0fe0b3c
commit 212c574821

View file

@ -794,6 +794,7 @@ static int open_ffado_device(struct impl *impl)
impl->source.info.channels++; impl->source.info.channels++;
break; break;
default: default:
break;
} }
} }
impl->sink.info.channels = 0; impl->sink.info.channels = 0;
@ -805,6 +806,7 @@ static int open_ffado_device(struct impl *impl)
impl->sink.info.channels++; impl->sink.info.channels++;
break; break;
default: default:
break;
} }
} }
if (ffado_streaming_prepare(impl->dev)) { if (ffado_streaming_prepare(impl->dev)) {