diff options
author | Glenn Kasten <gkasten@google.com> | 2013-12-19 16:35:06 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2013-12-19 17:09:50 -0800 |
commit | 6a5e79733c760d7555aacec53c8bd21e8516c0a1 (patch) | |
tree | 7ce9f73d42d72446a588bee157424dee9f1c862a /include/media/AudioSystem.h | |
parent | bd72d22097f78f5bd668b223bc8c94e351311e31 (diff) | |
download | frameworks_av-6a5e79733c760d7555aacec53c8bd21e8516c0a1.zip frameworks_av-6a5e79733c760d7555aacec53c8bd21e8516c0a1.tar.gz frameworks_av-6a5e79733c760d7555aacec53c8bd21e8516c0a1.tar.bz2 |
Remove unnecessary defaults for parameters in AudioSystem
Change-Id: I0ee7bc13cf64f50b1ea780f4d99899aed20421a0
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r-- | include/media/AudioSystem.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h index b96b8a1..a183264 100644 --- a/include/media/AudioSystem.h +++ b/include/media/AudioSystem.h @@ -67,12 +67,12 @@ public: // returns true in *state if tracks are active on the specified stream or have been active // in the past inPastMs milliseconds - static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs = 0); + static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs); // returns true in *state if tracks are active for what qualifies as remote playback // on the specified stream or have been active in the past inPastMs milliseconds. Remote // playback isn't mutually exclusive with local playback. static status_t isStreamActiveRemotely(audio_stream_type_t stream, bool *state, - uint32_t inPastMs = 0); + uint32_t inPastMs); // returns true in *state if a recorder is currently recording with the specified source static status_t isSourceActive(audio_source_t source, bool *state); @@ -91,11 +91,11 @@ public: static int logToLinear(float volume); static status_t getOutputSamplingRate(uint32_t* samplingRate, - audio_stream_type_t stream = AUDIO_STREAM_DEFAULT); + audio_stream_type_t stream); static status_t getOutputFrameCount(size_t* frameCount, - audio_stream_type_t stream = AUDIO_STREAM_DEFAULT); + audio_stream_type_t stream); static status_t getOutputLatency(uint32_t* latency, - audio_stream_type_t stream = AUDIO_STREAM_DEFAULT); + audio_stream_type_t stream); static status_t getSamplingRate(audio_io_handle_t output, audio_stream_type_t streamType, uint32_t* samplingRate); @@ -202,16 +202,16 @@ public: const audio_offload_info_t *offloadInfo = NULL); static status_t startOutput(audio_io_handle_t output, audio_stream_type_t stream, - int session = 0); + int session); static status_t stopOutput(audio_io_handle_t output, audio_stream_type_t stream, - int session = 0); + int session); static void releaseOutput(audio_io_handle_t output); static audio_io_handle_t getInput(audio_source_t inputSource, - uint32_t samplingRate = 0, - audio_format_t format = AUDIO_FORMAT_DEFAULT, - audio_channel_mask_t channelMask = AUDIO_CHANNEL_IN_MONO, - int sessionId = 0); + uint32_t samplingRate, + audio_format_t format, + audio_channel_mask_t channelMask, + int sessionId); static status_t startInput(audio_io_handle_t input); static status_t stopInput(audio_io_handle_t input); static void releaseInput(audio_io_handle_t input); |