free(front.data.buffer);
}
mBackgroundData.pop_front();
- if (0 == buffer_count % 100) {
- LOGD("[Recorder] list pop_front (%zu)", mBackgroundData.size());
- }
}
}
data.data.len = read_bytes;
memcpy(data.data.buffer, buffer, read_bytes);
mBackgroundData.push_back(data);
- if (0 == buffer_count % 100) {
- LOGD("[Recorder] list push_back (%zu), %ld %ld %ld", mBackgroundData.size(), mBackgroundData.front().time, time, time - delta);
- }
}
// UNLOCK REQUIRED
/* Audio read log */
- if (0 == buffer_count % 100) {
+ if (0 == buffer_count % 300) {
LOGD("[Recorder][%d] Recording... : read_size(%d)", buffer_count, read_bytes);
}