Bell catchup

This commit is contained in:
philippe44
2023-07-26 13:19:20 -07:00
parent 859efdb954
commit 232afb948b
467 changed files with 77538 additions and 37137 deletions

View File

@@ -7,7 +7,7 @@
#include <stdio.h> // for NULL
#include "aacdec.h" // for AACFreeDecoder, AACInitDecoder, HAACDecoder
// #include "aacdec.h" // for AACFreeDecoder, AACInitDecoder, HAACDecoder
#include "mp3dec.h" // for MP3FreeDecoder, MP3InitDecoder, HMP3Decoder
namespace bell {
@@ -16,16 +16,16 @@ class DecodersInstance {
DecodersInstance(){};
~DecodersInstance() {
MP3FreeDecoder(mp3Decoder);
AACFreeDecoder(aacDecoder);
// AACFreeDecoder(aacDecoder);
};
HAACDecoder aacDecoder = NULL;
// HAACDecoder aacDecoder = NULL;
HMP3Decoder mp3Decoder = NULL;
void ensureAAC() {
if (aacDecoder == NULL) {
aacDecoder = AACInitDecoder();
}
// if (aacDecoder == NULL) {
// aacDecoder = AACInitDecoder();
// }
}
void ensureMP3() {