summaryrefslogtreecommitdiffstats
path: root/include/media/AudioSystem.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-11-12 18:39:44 -0800
committerEric Laurent <elaurent@google.com>2014-11-12 18:52:20 -0800
commit0d6db582f2ccc9f8943c5f3965e2994b7d137158 (patch)
treebdd0de4b94942f7490dfe7b59b96bb4fa65a136a /include/media/AudioSystem.h
parent538596f71dc667b2f39c27d0bc9bbf119b0e6d58 (diff)
downloadframeworks_av-0d6db582f2ccc9f8943c5f3965e2994b7d137158.zip
frameworks_av-0d6db582f2ccc9f8943c5f3965e2994b7d137158.tar.gz
frameworks_av-0d6db582f2ccc9f8943c5f3965e2994b7d137158.tar.bz2
remove AudioSystem::getOutputSamplingRateForAttr()
It is safer to query the output sampling rate once the output have been acquired by calling getOutputForAttr(). Bug: 16009464. Change-Id: Ib561facd19fba5359a6b837d75f1a1cd2dc51b29
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r--include/media/AudioSystem.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h
index 6a0f2a6..f3b7fbb 100644
--- a/include/media/AudioSystem.h
+++ b/include/media/AudioSystem.h
@@ -99,8 +99,6 @@ public:
// to be non-zero if status == NO_ERROR
static status_t getOutputSamplingRate(uint32_t* samplingRate,
audio_stream_type_t stream);
- static status_t getOutputSamplingRateForAttr(uint32_t* samplingRate,
- const audio_attributes_t *attr);
static status_t getOutputFrameCount(size_t* frameCount,
audio_stream_type_t stream);
static status_t getOutputLatency(uint32_t* latency,