Commit 6c270db74181e313bdbd602e1273e0ebd090366b
1 parent
47378eb1
rate converter fix (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2038 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
audio/rate_template.h
... | ... | @@ -51,7 +51,7 @@ void NAME (void *opaque, st_sample_t *ibuf, st_sample_t *obuf, |
51 | 51 | if (rate->opos_inc == (1ULL + UINT_MAX)) { |
52 | 52 | int i, n = *isamp > *osamp ? *osamp : *isamp; |
53 | 53 | for (i = 0; i < n; i++) { |
54 | - OP (obuf[i].l, ibuf[i].r); | |
54 | + OP (obuf[i].l, ibuf[i].l); | |
55 | 55 | OP (obuf[i].r, ibuf[i].r); |
56 | 56 | } |
57 | 57 | *isamp = n; | ... | ... |