49 virtual void end() = 0;
146 virtual const char*
mime() = 0;
162 if (this->
info != newInfo) {
216 if (
p_input ==
nullptr)
return false;
266 bool rc = written > 0;
267 LOGI(
"copy: %s",
rc ?
"success" :
"failure");
303 if (
p_input ==
nullptr)
return 0;
365 LOGE(
"No output defined");
433 if (
mime !=
nullptr) {
437 LOGE(
"Decoder mime() returned nullptr - cannot add decoder");
451 if (
mime !=
nullptr) {
456 LOGE(
"Decoder mime() returned nullptr - cannot add decoder");
477 if (
mime !=
nullptr) {
486 LOGE(
"MIME type is nullptr - cannot add AudioDecoder");
496 virtual operator bool()
override {
512 if (
p_input ==
nullptr)
return false;
545 if (
mime ==
nullptr) {
546 LOGE(
"mime is null");
736 return str ==
nullptr ?
"" : str;
771 const char*
mime =
nullptr;
805 if (
mime !=
nullptr) {
809 LOGE(
"The decoder could not be selected for %s",
toStr(
mime));
814 LOGE(
"Could not determine mime type");
835 if (
p_input ==
nullptr)
return 0;
#define TRACEI()
Definition AudioLoggerIDF.h:32
#define TRACED()
Definition AudioLoggerIDF.h:31
#define LOGI(...)
Definition AudioLoggerIDF.h:28
#define LOGE(...)
Definition AudioLoggerIDF.h:30
#define DEFAULT_BUFFER_SIZE
Definition avr.h:20
#define assert(T)
Definition avr.h:10