summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-06-01 14:25:11 -0700
committerGlenn Kasten <gkasten@google.com>2014-06-02 09:07:34 -0700
commitf947dbce4390f2c3c460325d37002a34f09c0b74 (patch)
tree5b7de9d1922af62726c5a22dda8b0a4aedd0f75f /services/audioflinger/AudioFlinger.cpp
parente28456465fca86ed1b8b2225de073cfba64c7c42 (diff)
downloadframeworks_av-f947dbce4390f2c3c460325d37002a34f09c0b74.zip
frameworks_av-f947dbce4390f2c3c460325d37002a34f09c0b74.tar.gz
frameworks_av-f947dbce4390f2c3c460325d37002a34f09c0b74.tar.bz2
Remove obsolete IAudioFlinger::channelCount()
Change-Id: Ie623edae2e795f9155f1f452fe4e6c7217a4a4c8
Diffstat (limited to 'services/audioflinger/AudioFlinger.cpp')
-rw-r--r--services/audioflinger/AudioFlinger.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp
index 5b09d54..60810d5 100644
--- a/services/audioflinger/AudioFlinger.cpp
+++ b/services/audioflinger/AudioFlinger.cpp
@@ -667,17 +667,6 @@ uint32_t AudioFlinger::sampleRate(audio_io_handle_t output) const
return thread->sampleRate();
}
-int AudioFlinger::channelCount(audio_io_handle_t output) const
-{
- Mutex::Autolock _l(mLock);
- PlaybackThread *thread = checkPlaybackThread_l(output);
- if (thread == NULL) {
- ALOGW("channelCount() unknown thread %d", output);
- return 0;
- }
- return thread->channelCount();
-}
-
audio_format_t AudioFlinger::format(audio_io_handle_t output) const
{
Mutex::Autolock _l(mLock);