Warning and static removal

Clean up compiler warnings and make static variables in class functions
into class variables where they belong.
This commit is contained in:
Earle F. Philhower, III committed 2017-08-15 20:58:16 -07:00
1 parent 64ceb33a31
commit 0a453a077a
9 files changed
+43 -63

No files matched your search

-2
View File
@@ -157,8 +157,6 @@ bool AudioGeneratorMP3::GetOneSample(int16_t sample[2])
bool AudioGeneratorMP3::loop()
{
static int16_t lastSample[2]= {0,0};
if (!running) return true; // Nothing to do here!
// First, try and push in the stored sample. If we can't, then punt and try later