From a552d6049ccf674b083d011ce7b8a443a9cd68a4 Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Tue, 13 Nov 2012 15:01:05 -0800 Subject: Remove deprecated AudioSystem methods Change-Id: I952d504e03af9a1d3e1e0aa379c82dfb00197d9f --- media/libmedia/AudioSystem.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'media/libmedia/AudioSystem.cpp') diff --git a/media/libmedia/AudioSystem.cpp b/media/libmedia/AudioSystem.cpp index 767c452..488edac 100644 --- a/media/libmedia/AudioSystem.cpp +++ b/media/libmedia/AudioSystem.cpp @@ -205,11 +205,6 @@ int AudioSystem::logToLinear(float volume) return volume ? 100 - int(dBConvertInverse * log(volume) + 0.5) : 0; } -// DEPRECATED -status_t AudioSystem::getOutputSamplingRate(int* samplingRate, int streamType) { - return getOutputSamplingRate(samplingRate, (audio_stream_type_t)streamType); -} - status_t AudioSystem::getOutputSamplingRate(int* samplingRate, audio_stream_type_t streamType) { audio_io_handle_t output; @@ -252,11 +247,6 @@ status_t AudioSystem::getSamplingRate(audio_io_handle_t output, return NO_ERROR; } -// DEPRECATED -status_t AudioSystem::getOutputFrameCount(int* frameCount, int streamType) { - return getOutputFrameCount(frameCount, (audio_stream_type_t)streamType); -} - status_t AudioSystem::getOutputFrameCount(int* frameCount, audio_stream_type_t streamType) { audio_io_handle_t output; -- cgit v1.1