webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Macros
opensles_player.cc File Reference
#include "webrtc/modules/audio_device/android/opensles_player.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"

Namespaces

 webrtc
 

Macros

#define TAG   "OpenSLESPlayer"
 
#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 RETURN_ON_ERROR(op, ...)
 

Macro Definition Documentation

◆ 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__)

◆ RETURN_ON_ERROR

#define RETURN_ON_ERROR (   op,
  ... 
)
Value:
do { \
SLresult err = (op); \
if (err != SL_RESULT_SUCCESS) { \
ALOGE("%s failed: %s", #op, GetSLErrorString(err)); \
return __VA_ARGS__; \
} \
} while (0)
const char * GetSLErrorString(size_t code)
Definition: opensles_common.cc:22

◆ TAG

#define TAG   "OpenSLESPlayer"