summaryrefslogtreecommitdiffstats
path: root/include/media/AudioSystem.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-17 11:32:53 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-17 11:32:53 -0800
commit0696400a6bb9abbed62b3b9c6aa105495dc600a2 (patch)
tree2368d7ccb33fbceb99585839b85420e38e59abf0 /include/media/AudioSystem.h
parenta9b21c5a7c24fe14d20372263c0bf5faf3d3e348 (diff)
parentf78aee70d15daf4690de7e7b4983ee68b0d1381d (diff)
downloadframeworks_av-0696400a6bb9abbed62b3b9c6aa105495dc600a2.zip
frameworks_av-0696400a6bb9abbed62b3b9c6aa105495dc600a2.tar.gz
frameworks_av-0696400a6bb9abbed62b3b9c6aa105495dc600a2.tar.bz2
Merge "Use audio_mode_t consistently"
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r--include/media/AudioSystem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h
index e49d8f5..2ba083d 100644
--- a/include/media/AudioSystem.h
+++ b/include/media/AudioSystem.h
@@ -62,8 +62,8 @@ public:
static status_t setStreamMute(audio_stream_type_t stream, bool mute);
static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
- // set audio mode in audio hardware (see audio_mode_t)
- static status_t setMode(int mode);
+ // set audio mode in audio hardware
+ static status_t setMode(audio_mode_t mode);
// returns true in *state if tracks are active on the specified stream or has been active
// in the past inPastMs milliseconds
@@ -142,7 +142,7 @@ public:
//
static status_t setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, const char *device_address);
static audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device, const char *device_address);
- static status_t setPhoneState(int state);
+ static status_t setPhoneState(audio_mode_t state);
static status_t setRingerMode(uint32_t mode, uint32_t mask);
static status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config);
static audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage);