#include "webrtc/modules/audio_device/android/opensles_recorder.h"
#include <android/log.h>
#include "webrtc/base/arraysize.h"
#include "webrtc/base/checks.h"
#include "webrtc/base/format_macros.h"
#include "webrtc/base/timeutils.h"
#include "webrtc/modules/audio_device/android/audio_common.h"
#include "webrtc/modules/audio_device/android/audio_manager.h"
#include "webrtc/modules/audio_device/fine_audio_buffer.h"
|
#define | TAG "OpenSLESRecorder" |
|
#define | ALOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, TAG, __VA_ARGS__) |
|
#define | ALOGD(...) __android_log_print(ANDROID_LOG_DEBUG, TAG, __VA_ARGS__) |
|
#define | ALOGE(...) __android_log_print(ANDROID_LOG_ERROR, TAG, __VA_ARGS__) |
|
#define | ALOGW(...) __android_log_print(ANDROID_LOG_WARN, TAG, __VA_ARGS__) |
|
#define | ALOGI(...) __android_log_print(ANDROID_LOG_INFO, TAG, __VA_ARGS__) |
|
#define | LOG_ON_ERROR(op) |
|
◆ ALOGD
#define ALOGD |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_DEBUG, TAG, __VA_ARGS__) |
◆ ALOGE
#define ALOGE |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_ERROR, TAG, __VA_ARGS__) |
◆ ALOGI
#define ALOGI |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_INFO, TAG, __VA_ARGS__) |
◆ ALOGV
#define ALOGV |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_VERBOSE, TAG, __VA_ARGS__) |
◆ ALOGW
#define ALOGW |
( |
|
... | ) |
__android_log_print(ANDROID_LOG_WARN, TAG, __VA_ARGS__) |
◆ LOG_ON_ERROR
#define LOG_ON_ERROR |
( |
|
op | ) |
|
Value:[](SLresult err) { \
if (err != SL_RESULT_SUCCESS) { \
ALOGE("%s:%d %s failed: %s", __FILE__, __LINE__, #op, \
return true; \
} \
return false; \
}(op)
const char * GetSLErrorString(size_t code)
Definition: opensles_common.cc:22
◆ TAG
#define TAG "OpenSLESRecorder" |