diff options
author | Bill Cox <waywardgeek@gmail.com> | 2011-07-15 06:22:31 -0400 |
---|---|---|
committer | Bill Cox <waywardgeek@gmail.com> | 2011-07-15 06:22:31 -0400 |
commit | 473b7aec1209702826d5a8134f674008746d75fe (patch) | |
tree | 415c0b68b9d2cf57f5e78e93ad32ed026a805d8a | |
parent | 123042f756de0060e4b4bc1f5295e01b31d3f566 (diff) | |
download | sonic-473b7aec1209702826d5a8134f674008746d75fe.tar.gz |
Just fixed a goober on a return value that wasn't a bug, but was wrong
-rw-r--r-- | sonic.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -443,7 +443,7 @@ static int copyToOutput( memcpy(stream->outputBuffer + stream->numOutputSamples*stream->numChannels, samples, numSamples*sizeof(short)*stream->numChannels); stream->numOutputSamples += numSamples; - return numSamples; + return 1; } /* Just copy from the input buffer to the output buffer. Return 0 if we fail to |