Skip to content
Snippets Groups Projects
Commit 8e687558 authored by dx's avatar dx
Browse files

bl00mbox_audio: make clang-tidy happy, fix formatting

parent e80502e2
No related branches found
No related tags found
No related merge requests found
...@@ -145,7 +145,11 @@ void bl00mbox_audio_bud_render(bl00mbox_bud_t* bud, uint16_t num_samples) { ...@@ -145,7 +145,11 @@ void bl00mbox_audio_bud_render(bl00mbox_bud_t* bud, uint16_t num_samples) {
static void bl00mbox_audio_channel_render(bl00mbox_channel_t* chan, static void bl00mbox_audio_channel_render(bl00mbox_channel_t* chan,
int16_t* out, uint16_t len, int16_t* out, uint16_t len,
bool adding) { bool adding) {
if (adding) {
// ^ to make clang-tidy happy
if (render_pass_id == chan->render_pass_id) return; if (render_pass_id == chan->render_pass_id) return;
}
chan->render_pass_id = render_pass_id; chan->render_pass_id = render_pass_id;
bl00mbox_channel_root_t* root = chan->root_list; bl00mbox_channel_root_t* root = chan->root_list;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment