summaryrefslogtreecommitdiffstats
path: root/audio/rate_template.h
diff options
context:
space:
mode:
authorbellard2006-07-04 18:47:58 +0200
committerbellard2006-07-04 18:47:58 +0200
commit6c270db74181e313bdbd602e1273e0ebd090366b (patch)
treeb6ccf6661cd0229fee4dc3edf8eaa59ae76966d6 /audio/rate_template.h
parentupdate (diff)
downloadqemu-6c270db74181e313bdbd602e1273e0ebd090366b.tar.gz
qemu-6c270db74181e313bdbd602e1273e0ebd090366b.tar.xz
qemu-6c270db74181e313bdbd602e1273e0ebd090366b.zip
rate converter fix (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2038 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/rate_template.h')
-rw-r--r--audio/rate_template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/rate_template.h b/audio/rate_template.h
index 3e0e77c94e..398d305e92 100644
--- a/audio/rate_template.h
+++ b/audio/rate_template.h
@@ -51,7 +51,7 @@ void NAME (void *opaque, st_sample_t *ibuf, st_sample_t *obuf,
if (rate->opos_inc == (1ULL + UINT_MAX)) {
int i, n = *isamp > *osamp ? *osamp : *isamp;
for (i = 0; i < n; i++) {
- OP (obuf[i].l, ibuf[i].r);
+ OP (obuf[i].l, ibuf[i].l);
OP (obuf[i].r, ibuf[i].r);
}
*isamp = n;