[Android Q&A, Help & Troubleshooting] smartAgent47:
audiohardwarealsa problem

Hello everyone ...

Can someone help me with this ....

target arm C++: audio.primary.msm8960 <= hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp
target arm C++: audio.primary.msm8960 <= hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamOutALSA.cpp
target arm C++: audio.primary.msm8960 <= hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp
target arm C++: audio.primary.msm8960 <= hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/ALSAStreamOps.cpp
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareBase.h:20:0,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:23,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:43:
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:129:25: warning: unused parameter 'observer' [-Wunused-parameter]
virtual int setObserver(void *observer) {return INVALID_OPERATION;}
^
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:130:25: warning: unused parameter 'buf' [-Wunused-parameter]
virtual status_t getBufferInfo(buf_info **buf) {return INVALID_OPERATION;}
^
In file included from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:43:0:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:727:22: warning: unused parameter 'effect' [-Wunused-parameter]
virtual status_t addAudioEffect(effect_handle_t effect)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:732:22: warning: unused parameter 'effect' [-Wunused-parameter]
virtual status_t removeAudioEffect(effect_handle_t effect)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp: In constructor 'android_audio_legacy::AudioHardwareALSA::AudioHardwareALSA()':
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:152:19: warning: converting to non-pointer type 'pthread_t {aka long int}' from NULL [-Wconversion-null]
mExtOutThread = NULL;
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:344:18: warning: ordered comparison of pointer with integer zero [-Wextra]
if (mUcMgr < 0) {
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp: At global scope:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:492:10: warning: unused parameter 'volume' [-Wunused-parameter]
status_t AudioHardwareALSA::setMasterVolume(float volume)
^
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Log.h:31,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:31:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp: In member function 'virtual android::status_t android_audio_legacy::AudioHardwareALSA::setParameters(const android::String8&)':
system/core/include/log/log.h:505:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'double' [-Wformat=]
__android_log_print(prio, tag, fmt)
^
system/core/include/log/log.h:440:5: note: in expansion of macro 'android_printLog'
android_printLog(priority, tag, __VA_ARGS__)
^
system/core/include/log/log.h:432:5: note: in expansion of macro 'LOG_PRI'
LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^
system/core/include/log/log.h:76:29: note: in expansion of macro 'ALOG'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^
system/core/include/log/log.h:78:34: note: in expansion of macro '__ALOGV'
#define ALOGV(...) do { if (0) { __ALOGV(__VA_ARGS__); } } while (0)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:790:9: note: in expansion of macro 'ALOGV'
ALOGV("Setting FM volume to %d (available range is 0 to 0x2000)\n", fm_volume);
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:868:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if (param.getInt(key, (int &)call_state) == NO_ERROR) {
^
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Log.h:31,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:31:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp: In member function 'android::status_t android_audio_legacy::AudioHardwareALSA::doRouting(int, char*)':
system/core/include/log/log.h:505:39: warning: too many arguments for format [-Wformat-extra-args]
__android_log_print(prio, tag, fmt)
^
system/core/include/log/log.h:440:5: note: in expansion of macro 'android_printLog'
android_printLog(priority, tag, __VA_ARGS__)
^
system/core/include/log/log.h:432:5: note: in expansion of macro 'LOG_PRI'
LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^
system/core/include/log/log.h:76:29: note: in expansion of macro 'ALOG'
#define __ALOGV(...) ((void)ALOG(LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
^
system/core/include/log/log.h:78:34: note: in expansion of macro '__ALOGV'
#define ALOGV(...) do { if (0) { __ALOGV(__VA_ARGS__); } } while (0)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1178:13: note: in expansion of macro 'ALOGV'
ALOGV("Dorouting updated usecase:%s device:%x activeUsecase",it->useCase, it->devices, activeUsecase);
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp: At global scope:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1304:17: warning: unused parameter 'flags' [-Wunused-parameter]
AudioStreamOut* AudioHardwareALSA::openOutputStreamWithFlags(uint32_t devices,
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp: In member function 'virtual android_audio_legacy::AudioStreamOut* android_audio_legacy::AudioHardwareALSA::openOutputStream(uint32_t, int*, uint32_t*, uint32_t*, android::status_t*)':
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1333:83: error: cannot allocate an object of abstract type 'android_audio_legacy::AudioSessionOutALSA'
*sampleRate, type, &err);
^
In file included from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:43:0:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:528:7: note: because the following virtual functions are pure within 'android_audio_legacy::AudioSessionOutALSA':
class AudioSessionOutALSA : public AudioStreamOut
^
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareBase.h:20:0,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:23,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:43:
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:116:25: note:	virtual android::status_t android_audio_legacy::AudioStreamOut::getPresentationPosition(uint64_t*, timespec*)
virtual status_t getPresentationPosition(uint64_t *frames, struct timespec *timestamp) = 0;
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1452:48: error: cannot allocate an object of abstract type 'android_audio_legacy::AudioStreamOutALSA'
out = new AudioStreamOutALSA(this, &(*it));
^
In file included from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:43:0:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:471:7: note: because the following virtual functions are pure within 'android_audio_legacy::AudioStreamOutALSA':
class AudioStreamOutALSA : public AudioStreamOut, public ALSAStreamOps
^
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareBase.h:20:0,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:23,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:43:
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:116:25: note:	virtual android::status_t android_audio_legacy::AudioStreamOut::getPresentationPosition(uint64_t*, timespec*)
virtual status_t getPresentationPosition(uint64_t *frames, struct timespec *timestamp) = 0;
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1472:36: warning: missing initializer for member 'EDID_AUDIO_INFO::nSpeakerAllocation' [-Wmissing-field-initializers]
EDID_AUDIO_INFO info = { 0 };
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1472:36: warning: missing initializer for member 'EDID_AUDIO_INFO::AudioBlocksArray' [-Wmissing-field-initializers]
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1472:36: warning: missing initializer for member 'EDID_AUDIO_INFO::channelMap' [-Wmissing-field-initializers]
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1472:36: warning: missing initializer for member 'EDID_AUDIO_INFO::channelAllocation' [-Wmissing-field-initializers]
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1530:50: error: cannot allocate an object of abstract type 'android_audio_legacy::AudioStreamOutALSA'
out = new AudioStreamOutALSA(this, &(*it));
^
In file included from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:43:0:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:471:7: note: since type 'android_audio_legacy::AudioStreamOutALSA' has pure virtual functions
class AudioStreamOutALSA : public AudioStreamOut, public ALSAStreamOps
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1604:52: error: cannot allocate an object of abstract type 'android_audio_legacy::AudioStreamOutALSA'
out = new AudioStreamOutALSA(this, &(*it));
^
In file included from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:43:0:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:471:7: note: since type 'android_audio_legacy::AudioStreamOutALSA' has pure virtual functions
class AudioStreamOutALSA : public AudioStreamOut, public ALSAStreamOps
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp: In member function 'virtual android_audio_legacy::AudioStreamOut* android_audio_legacy::AudioHardwareALSA::openOutputSession(uint32_t, int*, android::status_t*, int, uint32_t, uint32_t)':
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1700:46: error: cannot allocate an object of abstract type 'android_audio_legacy::AudioStreamOutALSA'
out = new AudioStreamOutALSA(this, &(*it));
^
In file included from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:43:0:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:471:7: note: since type 'android_audio_legacy::AudioStreamOutALSA' has pure virtual functions
class AudioStreamOutALSA : public AudioStreamOut, public ALSAStreamOps
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp: At global scope:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1621:1: warning: unused parameter 'format' [-Wunused-parameter]
AudioHardwareALSA::openOutputSession(uint32_t devices,
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1621:1: warning: unused parameter 'samplingRate' [-Wunused-parameter]
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:1621:1: warning: unused parameter 'channels' [-Wunused-parameter]
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:2130:10: warning: unused parameter 'fd' [-Wunused-parameter]
status_t AudioHardwareALSA::dump(int fd, const Vector<String16>& args)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:2130:10: warning: unused parameter 'args' [-Wunused-parameter]
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp: In member function 'char* android_audio_legacy::AudioHardwareALSA::getUcmVerbForVSID(uint32_t)':
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:2414:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
verb = SND_USE_CASE_VERB_VOLTE;
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:2418:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
verb = SND_USE_CASE_VERB_VOICE2;
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:2422:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
verb = SND_USE_CASE_VERB_VOICECALL;
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp: In member function 'char* android_audio_legacy::AudioHardwareALSA::getUcmModForVSID(uint32_t)':
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:2439:13: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
mod = SND_USE_CASE_MOD_PLAY_VOLTE;
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:2443:13: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
mod = SND_USE_CASE_MOD_PLAY_VOICE2;
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.cpp:2447:13: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
mod = SND_USE_CASE_MOD_PLAY_VOICE;
^
make: *** [/home/idrees/xenonhd/out/target/product/nicki/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/AudioHardwareALSA.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareBase.h:20:0,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:23,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/ALSAStreamOps.cpp:38:
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:129:25: warning: unused parameter 'observer' [-Wunused-parameter]
virtual int setObserver(void *observer) {return INVALID_OPERATION;}
^
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:130:25: warning: unused parameter 'buf' [-Wunused-parameter]
virtual status_t getBufferInfo(buf_info **buf) {return INVALID_OPERATION;}
^
In file included from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/ALSAStreamOps.cpp:38:0:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:727:22: warning: unused parameter 'effect' [-Wunused-parameter]
virtual status_t addAudioEffect(effect_handle_t effect)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:732:22: warning: unused parameter 'effect' [-Wunused-parameter]
virtual status_t removeAudioEffect(effect_handle_t effect)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/ALSAStreamOps.cpp: In member function 'android::String8 android_audio_legacy::ALSAStreamOps::getParameters(const android::String8&)':
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/ALSAStreamOps.cpp:307:36: warning: missing initializer for member 'EDID_AUDIO_INFO::nSpeakerAllocation' [-Wmissing-field-initializers]
EDID_AUDIO_INFO info = { 0 };
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/ALSAStreamOps.cpp:307:36: warning: missing initializer for member 'EDID_AUDIO_INFO::AudioBlocksArray' [-Wmissing-field-initializers]
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/ALSAStreamOps.cpp:307:36: warning: missing initializer for member 'EDID_AUDIO_INFO::channelMap' [-Wmissing-field-initializers]
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/ALSAStreamOps.cpp:307:36: warning: missing initializer for member 'EDID_AUDIO_INFO::channelAllocation' [-Wmissing-field-initializers]
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/ALSAStreamOps.cpp: At global scope:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/ALSAStreamOps.cpp:504:10: warning: unused parameter 'mode' [-Wunused-parameter]
status_t ALSAStreamOps::open(int mode)
^
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareBase.h:20:0,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:23,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp:36:
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:129:25: warning: unused parameter 'observer' [-Wunused-parameter]
virtual int setObserver(void *observer) {return INVALID_OPERATION;}
^
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:130:25: warning: unused parameter 'buf' [-Wunused-parameter]
virtual status_t getBufferInfo(buf_info **buf) {return INVALID_OPERATION;}
^
In file included from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp:36:0:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:727:22: warning: unused parameter 'effect' [-Wunused-parameter]
virtual status_t addAudioEffect(effect_handle_t effect)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:732:22: warning: unused parameter 'effect' [-Wunused-parameter]
virtual status_t removeAudioEffect(effect_handle_t effect)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp:141:10: warning: unused parameter 'gain' [-Wunused-parameter]
status_t AudioStreamInALSA::setGain(float gain)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp: In member function 'virtual ssize_t android_audio_legacy::AudioStreamInALSA::read(void*, ssize_t)':
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp:541:28: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
buffer += header->frame_size;
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp:546:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
} while (mHandle->handle && read < bytes);
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp:551:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (read_pending < period_size) {
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp:597:24: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
buffer += period_size;
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp:600:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
} while (mHandle->handle && read < bytes);
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp: At global scope:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp:606:10: warning: unused parameter 'fd' [-Wunused-parameter]
status_t AudioStreamInALSA::dump(int fd, const Vector<String16>& args)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp:606:10: warning: unused parameter 'args' [-Wunused-parameter]
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamInALSA.cpp:773:10: warning: unused parameter 'params' [-Wunused-parameter]
status_t AudioStreamInALSA::setAcousticParams(void *params)
^
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareBase.h:20:0,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:23,
from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamOutALSA.cpp:37:
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:129:25: warning: unused parameter 'observer' [-Wunused-parameter]
virtual int setObserver(void *observer) {return INVALID_OPERATION;}
^
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:130:25: warning: unused parameter 'buf' [-Wunused-parameter]
virtual status_t getBufferInfo(buf_info **buf) {return INVALID_OPERATION;}
^
In file included from hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamOutALSA.cpp:37:0:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:727:22: warning: unused parameter 'effect' [-Wunused-parameter]
virtual status_t addAudioEffect(effect_handle_t effect)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioHardwareALSA.h:732:22: warning: unused parameter 'effect' [-Wunused-parameter]
virtual status_t removeAudioEffect(effect_handle_t effect)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamOutALSA.cpp: In member function 'virtual ssize_t android_audio_legacy::AudioStreamOutALSA::write(const void*, size_t)':
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamOutALSA.cpp:202:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((mParent->mCurRxDevice == AudioSystem::DEVICE_IN_ANLG_DOCK_HEADSET)||
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamOutALSA.cpp: At global scope:
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamOutALSA.cpp:313:10: warning: unused parameter 'fd' [-Wunused-parameter]
status_t AudioStreamOutALSA::dump(int fd, const Vector<String16>& args)
^
hardware/qcom/audio-caf/msm8960/legacy/alsa_sound/AudioStreamOutALSA.cpp:313:10: warning: unused parameter 'args' [-Wunused-parameter]

#### make failed to build some targets (19:47 (mm:ss)) ####