MP3 test in Valgrind
Run a host MP3 test using valgrind, shows no errors.
This commit is contained in:
1 parent
cffb424c2c
commit
0172f17b51
6 files changed
+17
-2
No files matched your search
@@ -203,6 +203,8 @@ bool AudioGeneratorMP3::begin(AudioFileSource *source, AudioOutput *output)
|
||||
Serial.printf_P(PSTR("MP3 source file not open\n"));
|
||||
return false; // Error
|
||||
}
|
||||
output->SetBitsPerSample(16);
|
||||
output->SetChannels(2);
|
||||
if (!output->begin()) return false;
|
||||
|
||||
// Where we are in generating one frame's data, set to invalid so we will run loop on first getsample()
|
||||
|
||||
Reference in new issue
Block a user