diff options
author | Glenn Kasten <gkasten@google.com> | 2012-01-04 11:00:47 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-01-12 09:52:37 -0800 |
commit | f78aee70d15daf4690de7e7b4983ee68b0d1381d (patch) | |
tree | c84e36c036a847bdf12f44c949eacb7b3ba79698 /services/audioflinger/AudioPolicyService.cpp | |
parent | d5a8bf0bca459389cdb81fdcc30893516bdce951 (diff) | |
download | frameworks_av-f78aee70d15daf4690de7e7b4983ee68b0d1381d.zip frameworks_av-f78aee70d15daf4690de7e7b4983ee68b0d1381d.tar.gz frameworks_av-f78aee70d15daf4690de7e7b4983ee68b0d1381d.tar.bz2 |
Use audio_mode_t consistently
It was int or uint32_t.
Also make getMode() const.
Change-Id: Ibe45aadbf413b9158e4dd17f2b3bcc6355288d37
Diffstat (limited to 'services/audioflinger/AudioPolicyService.cpp')
-rw-r--r-- | services/audioflinger/AudioPolicyService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioPolicyService.cpp b/services/audioflinger/AudioPolicyService.cpp index 3f86d58..6b59538 100644 --- a/services/audioflinger/AudioPolicyService.cpp +++ b/services/audioflinger/AudioPolicyService.cpp @@ -185,7 +185,7 @@ audio_policy_dev_state_t AudioPolicyService::getDeviceConnectionState( device_address); } -status_t AudioPolicyService::setPhoneState(int state) +status_t AudioPolicyService::setPhoneState(audio_mode_t state) { if (mpAudioPolicy == NULL) { return NO_INIT; |