Fixed playback of non-stereo Opus files

CQTexperiment
Chris Moeller 2015-12-22 00:39:00 -08:00
parent 0f13825a04
commit 5bd098fa88
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ opus_int64 sourceTell(void *_stream)
do {
lastSection = currentSection;
numread = op_read_float_stereo( opusRef, &((float *)buf)[total], size - total);
numread = op_read_float( opusRef, &((float *)buf)[total], size - total, NULL );
currentSection = op_current_link( opusRef );
if (numread > 0) {
total += numread * channels;