Skip to content

Commit

Permalink
audio: consistency changes
Browse files Browse the repository at this point in the history
Change the clip_natural_float_from_mono() function in
audio/mixeng.c to be consistent with the clip_*_from_mono()
functions in audio/mixeng_template.h.

Signed-off-by: Volker Rümelin <[email protected]>
Message-id: [email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
  • Loading branch information
Volker Rümelin authored and kraxel committed Mar 16, 2020
1 parent dd38131 commit 33a93ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audio/mixeng.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ static void clip_natural_float_from_mono(void *dst, const struct st_sample *src,
float *out = (float *)dst;

while (samples--) {
*out++ = CLIP_NATURAL_FLOAT(src->l) + CLIP_NATURAL_FLOAT(src->r);
*out++ = CLIP_NATURAL_FLOAT(src->l + src->r);
src++;
}
}
Expand Down

0 comments on commit 33a93ba

Please sign in to comment.