diff options
author | Jamen Marz <[email protected]> | 2019-01-16 00:44:49 -0700 |
---|---|---|
committer | Alex Chronopoulos <[email protected]> | 2019-01-16 09:44:49 +0200 |
commit | 54925f84f1428845ebf2f15679b2d872c00cb16e (patch) | |
tree | e1b5ced07d9c748ec452e50b081145c9f6746457 /include | |
parent | d5254913ed005996d5d11a9e7fe61bc4def8d5e4 (diff) | |
download | cubeb-54925f84f1428845ebf2f15679b2d872c00cb16e.tar.gz cubeb-54925f84f1428845ebf2f15679b2d872c00cb16e.zip |
Fix example code using nonexistent output buffer. (#485)
Diffstat (limited to 'include')
-rw-r--r-- | include/cubeb/cubeb.h | 2 |
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; |