@ -43,10 +43,6 @@
namespace android {
namespace android {
namespace NBLog {
class Writer ;
} // namespace NBLog
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
class AudioMixer
class AudioMixer
@ -188,10 +184,6 @@ public:
return ss . str ( ) ;
return ss . str ( ) ;
}
}
void setNBLogWriter ( NBLog : : Writer * logWriter ) {
mNBLogWriter = logWriter ;
}
static inline bool isValidFormat ( audio_format_t format ) {
static inline bool isValidFormat ( audio_format_t format ) {
switch ( format ) {
switch ( format ) {
case AUDIO_FORMAT_PCM_8_BIT :
case AUDIO_FORMAT_PCM_8_BIT :
@ -491,8 +483,6 @@ private:
const uint32_t mSampleRate ;
const uint32_t mSampleRate ;
const size_t mFrameCount ;
const size_t mFrameCount ;
NBLog : : Writer * mNBLogWriter = nullptr ; // associated NBLog::Writer
process_hook_t mHook = & AudioMixer : : process__nop ; // one of process__*, never nullptr
process_hook_t mHook = & AudioMixer : : process__nop ; // one of process__*, never nullptr
// the size of the type (int32_t) should be the largest of all types supported
// the size of the type (int32_t) should be the largest of all types supported