28 switch (bits_per_second) {
47 "Unsupported sample rate: use 3200, 2400, 1600, 1400, 1300, 1200, "
80 LOGE(
"invalid bits_per_second")
84 LOGE(
"Only 1 channel supported")
88 LOGE(
"Only 16 bps are supported")
97 LOGE(
"codec2_create");
136 LOGD(
"write: %d", len);
143 for (
int j = 0;
j < len;
j++) {
217 LOGE(
"invalid bits_per_second")
221 LOGE(
"Only 1 channel supported")
225 LOGE(
"Only 16 bps are supported")
234 LOGE(
"codec2_create");
254 virtual const char *
mime() {
return "audio/codec2"; }
#define LOGW(...)
Definition AudioLoggerIDF.h:29
#define TRACEI()
Definition AudioLoggerIDF.h:32
#define LOGI(...)
Definition AudioLoggerIDF.h:28
#define LOGD(...)
Definition AudioLoggerIDF.h:27
#define LOGE(...)
Definition AudioLoggerIDF.h:30
#define assert(T)
Definition avr.h:10