Fixes values returned by FaacEncoder and aacPlusEncoder :: write (bytes instead of samples). Fixes #83
This commit is contained in:
parent
e554efe75b
commit
5dd930ab82
|
@ -240,8 +240,7 @@ FaacEncoder :: write ( const void * buf,
|
|||
|
||||
delete[] faacBuf;
|
||||
|
||||
// return processedSamples;
|
||||
return samples;
|
||||
return samples * sampleSize;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -233,7 +233,7 @@ aacPlusEncoder :: write ( const void * buf,
|
|||
delete[] aacplusBuf;
|
||||
|
||||
// return processedSamples;
|
||||
return samples;
|
||||
return samples * sampleSize;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue