diff options
| author | Pavan Chikkala <pavanc@codeaurora.org> | 2013-12-18 14:55:05 +0530 |
|---|---|---|
| committer | Steve Kondik <shade@chemlab.org> | 2014-01-09 12:46:31 -0800 |
| commit | 0b8f29958d893e2594ce5df3cd8eab8609c6ae0d (patch) | |
| tree | b36321be2588f8061f361d32f26480c9db80aad1 | |
| parent | 13e81654ab1509c5857abf40940724e319a831bc (diff) | |
| download | android_hardware_libhardware_legacy-0b8f29958d893e2594ce5df3cd8eab8609c6ae0d.tar.gz android_hardware_libhardware_legacy-0b8f29958d893e2594ce5df3cd8eab8609c6ae0d.tar.bz2 android_hardware_libhardware_legacy-0b8f29958d893e2594ce5df3cd8eab8609c6ae0d.zip | |
audio :Make isVirtualInputDevice as protected method
- startInput is overridden in AudioPolicyManagerALSA and is
making a call to isVirtualInputDevice which is private in
AudioPolicyManagerBase.
- Make isVirtualInputDevice as protected in base class so
that it can be called from the derived class
Change-Id: I7e499b0c06f9412bc191179d497298cd57af2c3a
CRs-Fixed: 591788
| -rw-r--r-- | include/hardware_legacy/AudioPolicyManagerBase.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hardware_legacy/AudioPolicyManagerBase.h b/include/hardware_legacy/AudioPolicyManagerBase.h index 09378e0..5ba09f1 100644 --- a/include/hardware_legacy/AudioPolicyManagerBase.h +++ b/include/hardware_legacy/AudioPolicyManagerBase.h @@ -517,7 +517,7 @@ protected: void loadGlobalConfig(cnode *root); status_t loadAudioPolicyConfig(const char *path); void defaultAudioPolicyConfig(void); - + static bool isVirtualInputDevice(audio_devices_t device); AudioPolicyClientInterface *mpClientInterface; // audio policy client interface audio_io_handle_t mPrimaryOutput; // primary output handle @@ -583,7 +583,6 @@ private: // updates device caching and output for streams that can influence the // routing of notifications void handleNotificationRoutingForStream(AudioSystem::stream_type stream); - static bool isVirtualInputDevice(audio_devices_t device); }; }; |
