summaryrefslogtreecommitdiffstats
path: root/media/libmedia/AudioSystem.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-11-13 15:01:05 -0800
committerGlenn Kasten <gkasten@google.com>2012-11-13 15:54:20 -0800
commita552d6049ccf674b083d011ce7b8a443a9cd68a4 (patch)
treedffb6cd91f147c095a016c004353c68d049611e6 /media/libmedia/AudioSystem.cpp
parent2d81f665461409f0c5d0be674a35a0aea63a4fc8 (diff)
downloadframeworks_av-a552d6049ccf674b083d011ce7b8a443a9cd68a4.zip
frameworks_av-a552d6049ccf674b083d011ce7b8a443a9cd68a4.tar.gz
frameworks_av-a552d6049ccf674b083d011ce7b8a443a9cd68a4.tar.bz2
Remove deprecated AudioSystem methods
Change-Id: I952d504e03af9a1d3e1e0aa379c82dfb00197d9f
Diffstat (limited to 'media/libmedia/AudioSystem.cpp')
-rw-r--r--media/libmedia/AudioSystem.cpp10
1 files changed, 0 insertions, 10 deletions
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;