diff options
author | Glenn Kasten <gkasten@google.com> | 2013-08-02 15:51:35 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2013-08-02 15:56:04 -0700 |
commit | 743732236ab84e94168378cdb293964861b1ed00 (patch) | |
tree | b437f01649d5358e8cd65a1873c5cd71c78aa9de /include/media/AudioTrack.h | |
parent | f36dbfe3d517e9311be0a4d0fd6658380690e84c (diff) | |
download | frameworks_av-743732236ab84e94168378cdb293964861b1ed00.zip frameworks_av-743732236ab84e94168378cdb293964861b1ed00.tar.gz frameworks_av-743732236ab84e94168378cdb293964861b1ed00.tar.bz2 |
Remove default parameters for AudioTrack
The defaults aren't needed; all users must know these values.
Change-Id: I0c1c97cb80bfea8e69a7cfa53ec85a91a8d48bb5
Diffstat (limited to 'include/media/AudioTrack.h')
-rw-r--r-- | include/media/AudioTrack.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h index 523bd32..aa2dd4e 100644 --- a/include/media/AudioTrack.h +++ b/include/media/AudioTrack.h @@ -170,9 +170,9 @@ public: */ AudioTrack( audio_stream_type_t streamType, - uint32_t sampleRate = 0, - audio_format_t format = AUDIO_FORMAT_DEFAULT, - audio_channel_mask_t channelMask = 0, + uint32_t sampleRate, + audio_format_t format, + audio_channel_mask_t, int frameCount = 0, audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE, callback_t cbf = NULL, @@ -194,10 +194,10 @@ public: */ AudioTrack( audio_stream_type_t streamType, - uint32_t sampleRate = 0, - audio_format_t format = AUDIO_FORMAT_DEFAULT, - audio_channel_mask_t channelMask = 0, - const sp<IMemory>& sharedBuffer = 0, + uint32_t sampleRate, + audio_format_t format, + audio_channel_mask_t channelMask, + const sp<IMemory>& sharedBuffer, audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE, callback_t cbf = NULL, void* user = NULL, @@ -227,10 +227,10 @@ public: * * threadCanCallJava: Whether callbacks are made from an attached thread and thus can call JNI. */ - status_t set(audio_stream_type_t streamType = AUDIO_STREAM_DEFAULT, - uint32_t sampleRate = 0, - audio_format_t format = AUDIO_FORMAT_DEFAULT, - audio_channel_mask_t channelMask = 0, + status_t set(audio_stream_type_t streamType, + uint32_t sampleRate, + audio_format_t format, + audio_channel_mask_t channelMask, int frameCount = 0, audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE, callback_t cbf = NULL, |