63 LOGE(
"%s",
"Unsupported bitsPerSample");
79 float delta = 1.0 / frames;
94 for (
int j = 0;
j < frames;
j++) {
106 LOGI(
"faded out %d frames to volume %f",frames,
volume);
109 template <
typename T>
111 LOGI(
"fade in %d frames from volume %f",frames,
volume);
112 for (
int j = 0;
j < frames;
j++) {
141 int frames = size /
sizeof(
T) /
channels;
153 static_cast<float>(
steps -
j) /
static_cast<float>(
steps);
198 return f24.write(
src, size);
202 LOGE(
"bits_per_sample is 0");
286 if (
p_out==
nullptr)
return 0;
350 int frames = size /
sizeof(
T) /
channels;
#define LOGI(...)
Definition AudioLoggerIDF.h:28
#define LOGE(...)
Definition AudioLoggerIDF.h:30