From 0d6db582f2ccc9f8943c5f3965e2994b7d137158 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Wed, 12 Nov 2014 18:39:44 -0800 Subject: 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 --- include/media/AudioSystem.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/media') 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, -- cgit v1.1