diff options
author | Eric Laurent <elaurent@google.com> | 2014-11-07 18:38:54 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-11-07 18:38:54 +0000 |
commit | c339a921642c38621f57e95b4ec41cfaa99c7a63 (patch) | |
tree | 7b8204818f224904c8df99e6b1ee66e34f2afed2 /media | |
parent | 62fe78b66c87339a64f047561e7b4aac606310e2 (diff) | |
parent | a36060891425c4ce0621e40344ac473ec14924dd (diff) | |
download | frameworks_av-c339a921642c38621f57e95b4ec41cfaa99c7a63.zip frameworks_av-c339a921642c38621f57e95b4ec41cfaa99c7a63.tar.gz frameworks_av-c339a921642c38621f57e95b4ec41cfaa99c7a63.tar.bz2 |
Merge "AudioSystem: remove obsolete method." into lmp-mr1-dev
Diffstat (limited to 'media')
-rw-r--r-- | media/libmedia/AudioSystem.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/media/libmedia/AudioSystem.cpp b/media/libmedia/AudioSystem.cpp index dda3657..e4a5674 100644 --- a/media/libmedia/AudioSystem.cpp +++ b/media/libmedia/AudioSystem.cpp @@ -543,21 +543,6 @@ void AudioSystem::setErrorCallback(audio_error_callback cb) gAudioErrorCallback = cb; } - -bool AudioSystem::routedToA2dpOutput(audio_stream_type_t streamType) -{ - switch (streamType) { - case AUDIO_STREAM_MUSIC: - case AUDIO_STREAM_VOICE_CALL: - case AUDIO_STREAM_BLUETOOTH_SCO: - case AUDIO_STREAM_SYSTEM: - return true; - default: - return false; - } -} - - // client singleton for AudioPolicyService binder interface sp<IAudioPolicyService> AudioSystem::gAudioPolicyService; sp<AudioSystem::AudioPolicyServiceClient> AudioSystem::gAudioPolicyServiceClient; |