Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8509d34 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "audioflinger: Add support for post proc effects in Direct Track" into jellybean

parents 77a17ff3 576e29df
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -146,6 +146,7 @@ public:
        STREAM_CONFIG_CHANGED,
#ifdef QCOM_HARDWARE
        A2DP_OUTPUT_STATE,
        EFFECT_CONFIG_CHANGED,
#endif
        NUM_CONFIG_EVENTS
    };
+5 −1
Original line number Diff line number Diff line
@@ -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);