diff options
author | Eric Laurent <elaurent@google.com> | 2011-08-10 20:16:23 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2011-08-11 09:17:07 -0700 |
commit | 582a15744be109fb630db7dbd1d1bdf22ff44f12 (patch) | |
tree | b8e19d17fc4c27e5ced828a7aceea9c010fdd81c /include/hardware_legacy/AudioPolicyInterface.h | |
parent | 33556654af63c3c8f9e8f6c8bd34b2ac15bef6b3 (diff) | |
download | hardware_libhardware_legacy-582a15744be109fb630db7dbd1d1bdf22ff44f12.zip hardware_libhardware_legacy-582a15744be109fb630db7dbd1d1bdf22ff44f12.tar.gz hardware_libhardware_legacy-582a15744be109fb630db7dbd1d1bdf22ff44f12.tar.bz2 |
AudioPolicyManager: register effect CPU on enable
Audio effect CPU usage is now registered on enable and
unregistered on disable instead of when the effect is
created or destroyed.
Change-Id: Icffcede9558d8d41887278f0efef2df430927381
Diffstat (limited to 'include/hardware_legacy/AudioPolicyInterface.h')
-rw-r--r-- | include/hardware_legacy/AudioPolicyInterface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hardware_legacy/AudioPolicyInterface.h b/include/hardware_legacy/AudioPolicyInterface.h index 78f87da..94b7759 100644 --- a/include/hardware_legacy/AudioPolicyInterface.h +++ b/include/hardware_legacy/AudioPolicyInterface.h @@ -147,6 +147,7 @@ public: int session, int id) = 0; virtual status_t unregisterEffect(int id) = 0; + virtual status_t setEffectEnabled(int id, bool enabled); virtual bool isStreamActive(int stream, uint32_t inPastMs = 0) const = 0; |