Loading include/media/AudioSystem.h +1 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,7 @@ public: STREAM_CONFIG_CHANGED, #ifdef QCOM_HARDWARE A2DP_OUTPUT_STATE, EFFECT_CONFIG_CHANGED, #endif NUM_CONFIG_EVENTS }; Loading media/libmedia/IAudioFlingerClient.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,11 @@ public: uint32_t stream = *(const uint32_t *)param2; ALOGV("ioConfigChanged stream %d", stream); data.writeInt32(stream); } else if (event != AudioSystem::OUTPUT_CLOSED && event != AudioSystem::INPUT_CLOSED) { } else if (event != AudioSystem::OUTPUT_CLOSED && event != AudioSystem::INPUT_CLOSED && #ifdef QCOM_HARDWARE event != AudioSystem::EFFECT_CONFIG_CHANGED && #endif event != AudioSystem::A2DP_OUTPUT_STATE) { const AudioSystem::OutputDescriptor *desc = (const AudioSystem::OutputDescriptor *)param2; data.writeInt32(desc->samplingRate); data.writeInt32(desc->format); Loading Loading
include/media/AudioSystem.h +1 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,7 @@ public: STREAM_CONFIG_CHANGED, #ifdef QCOM_HARDWARE A2DP_OUTPUT_STATE, EFFECT_CONFIG_CHANGED, #endif NUM_CONFIG_EVENTS }; Loading
media/libmedia/IAudioFlingerClient.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,11 @@ public: uint32_t stream = *(const uint32_t *)param2; ALOGV("ioConfigChanged stream %d", stream); data.writeInt32(stream); } else if (event != AudioSystem::OUTPUT_CLOSED && event != AudioSystem::INPUT_CLOSED) { } else if (event != AudioSystem::OUTPUT_CLOSED && event != AudioSystem::INPUT_CLOSED && #ifdef QCOM_HARDWARE event != AudioSystem::EFFECT_CONFIG_CHANGED && #endif event != AudioSystem::A2DP_OUTPUT_STATE) { const AudioSystem::OutputDescriptor *desc = (const AudioSystem::OutputDescriptor *)param2; data.writeInt32(desc->samplingRate); data.writeInt32(desc->format); Loading