summaryrefslogtreecommitdiffstats
path: root/audio/AudioPolicyManagerDefault.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-03-20 13:44:51 -0700
committerEric Laurent <elaurent@google.com>2012-04-03 15:56:30 -0700
commit5ccdf14a85ed66ac54036fb393acc06ea7acfed6 (patch)
tree145bbc9ae42ed8282b94722ca0caa7c5d9f713a4 /audio/AudioPolicyManagerDefault.h
parent12bd6e4a5c26bd8035bf804d0cc821bd9b8cce9b (diff)
downloadhardware_libhardware_legacy-5ccdf14a85ed66ac54036fb393acc06ea7acfed6.zip
hardware_libhardware_legacy-5ccdf14a85ed66ac54036fb393acc06ea7acfed6.tar.gz
hardware_libhardware_legacy-5ccdf14a85ed66ac54036fb393acc06ea7acfed6.tar.bz2
audio policy: use configuration file
The audio policy manager implementation now reads a configuration file at boot time that contains descriptors for available audio hardware modules and for each module the profiles of available inputs and outputs streams. The configuration file path on the target is: /system/etc/audio_policy.conf. A default configuration file is given that defines a basic configuration with one primary audio hw module capable of playback and capture. Each platform or device should have its own audio_policy.conf file. Also removed default value of fromCache argument of getDeviceForStrategy() and getNewDevice() methods. Change-Id: I0c773d2331508bbc787f89b123dd6a7b8c10d459
Diffstat (limited to 'audio/AudioPolicyManagerDefault.h')
-rw-r--r--audio/AudioPolicyManagerDefault.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/audio/AudioPolicyManagerDefault.h b/audio/AudioPolicyManagerDefault.h
index 96dfee1..0307976 100644
--- a/audio/AudioPolicyManagerDefault.h
+++ b/audio/AudioPolicyManagerDefault.h
@@ -31,9 +31,5 @@ public:
virtual ~AudioPolicyManagerDefault() {}
-protected:
- // true is current platform implements a back microphone
- virtual bool hasBackMicrophone() const { return false; }
-
};
};