summaryrefslogtreecommitdiffstats
path: root/media/libmedia/AudioSystem.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-01-17 10:23:01 -0800
committerGlenn Kasten <gkasten@google.com>2014-03-25 17:29:00 -0700
commit45faf7e02791993a487d6e038d16ff46395f1975 (patch)
treed54ff27f6fd42e670ddebfa993a00b5202fb7633 /media/libmedia/AudioSystem.cpp
parent1392eb3d1802e9f894f87d7a7387207d1b6faca1 (diff)
downloadframeworks_av-45faf7e02791993a487d6e038d16ff46395f1975.zip
frameworks_av-45faf7e02791993a487d6e038d16ff46395f1975.tar.gz
frameworks_av-45faf7e02791993a487d6e038d16ff46395f1975.tar.bz2
Use symbol AUDIO_DEVICE_NONE from <system/audio.h>
Change-Id: I61f882c5e7c949bf00d3bfc745ebf3b5e1c42a58
Diffstat (limited to 'media/libmedia/AudioSystem.cpp')
-rw-r--r--media/libmedia/AudioSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmedia/AudioSystem.cpp b/media/libmedia/AudioSystem.cpp
index 140fb66..dafccd6 100644
--- a/media/libmedia/AudioSystem.cpp
+++ b/media/libmedia/AudioSystem.cpp
@@ -739,7 +739,7 @@ uint32_t AudioSystem::getStrategyForStream(audio_stream_type_t stream)
audio_devices_t AudioSystem::getDevicesForStream(audio_stream_type_t stream)
{
const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service();
- if (aps == 0) return (audio_devices_t)0;
+ if (aps == 0) return AUDIO_DEVICE_NONE;
return aps->getDevicesForStream(stream);
}