Rationalize the MP3 generation loop

Remove the inInnerDecode flag in the main generation loop and make the
render path more readable in the MP3 decoder object.
This commit is contained in:
Earle F. Philhower, III committed 2017-12-08 07:16:01 -08:00
1 parent 9c120a777a
commit 1690289714
2 files changed
+21 -16

No files matched your search

-1
View File
@@ -50,7 +50,6 @@ class AudioGeneratorMP3 : public AudioGenerator
int samplePtr;
int nsCount;
int nsCountMax;
bool inInnerDecode;
// The internal helpers
enum mad_flow ErrorToFlow();