aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorJamen Marz <[email protected]>2019-01-16 00:44:49 -0700
committerAlex Chronopoulos <[email protected]>2019-01-16 09:44:49 +0200
commit54925f84f1428845ebf2f15679b2d872c00cb16e (patch)
treee1b5ced07d9c748ec452e50b081145c9f6746457 /include
parentd5254913ed005996d5d11a9e7fe61bc4def8d5e4 (diff)
downloadcubeb-54925f84f1428845ebf2f15679b2d872c00cb16e.tar.gz
cubeb-54925f84f1428845ebf2f15679b2d872c00cb16e.zip
Fix example code using nonexistent output buffer. (#485)
Diffstat (limited to 'include')
-rw-r--r--include/cubeb/cubeb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cubeb/cubeb.h b/include/cubeb/cubeb.h
index e620a06..dde6bd7 100644
--- a/include/cubeb/cubeb.h
+++ b/include/cubeb/cubeb.h
@@ -102,7 +102,7 @@ extern "C" {
for (i = 0; i < nframes; ++i) {
for (c = 0; c < 2; ++c) {
- buf[i][c] = in[i];
+ out[i][c] = in[i];
}
}
return nframes;