mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
spa: alsa: compress-offload: use spa_assert_not_reached()
Use `spa_assert_not_reached()` instead of `assert(false)` as it is more descriptive and the error message is clearer.
This commit is contained in:
parent
e4d1ab0c19
commit
5b128cdbe9
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ static void emit_node(struct impl *this, const char *device_node, unsigned int d
|
||||||
* hardware that can capture audio is difficult to do. The only hardware
|
* hardware that can capture audio is difficult to do. The only hardware
|
||||||
* known is the Wolfson ADSP; the only driver in the kernel that exposes
|
* known is the Wolfson ADSP; the only driver in the kernel that exposes
|
||||||
* Compress-Offload capture devices is the one for that hardware. */
|
* Compress-Offload capture devices is the one for that hardware. */
|
||||||
assert(false);
|
spa_assert_not_reached();
|
||||||
}
|
}
|
||||||
|
|
||||||
info.change_mask = SPA_DEVICE_OBJECT_CHANGE_MASK_PROPS;
|
info.change_mask = SPA_DEVICE_OBJECT_CHANGE_MASK_PROPS;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue