summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-03-19 12:16:56 -0700
committerGlenn Kasten <gkasten@google.com>2012-03-21 15:41:02 -0700
commit291f4d505aff81969e6666049d3cc3446f836af2 (patch)
treef2ad96c1acfb08c190148f8f12a7f86825cd7728 /include
parentccf89b54f973f11082150d02ed957f7e967fbc8b (diff)
downloadframeworks_av-291f4d505aff81969e6666049d3cc3446f836af2.zip
frameworks_av-291f4d505aff81969e6666049d3cc3446f836af2.tar.gz
frameworks_av-291f4d505aff81969e6666049d3cc3446f836af2.tar.bz2
Remove enforceFrameCount
It was only used to decide whether to issue a warning. The warning was issued the first time track was created but not at re-creation. Now it is a verbose message every time, not a warning since it happens all the time with key clicks on A2DP. Change-Id: I9d39f53c0a7eb84b666e55b1b76ff830cf8f37ba
Diffstat (limited to 'include')
-rw-r--r--include/media/AudioTrack.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h
index ad27a1e..7d5d772 100644
--- a/include/media/AudioTrack.h
+++ b/include/media/AudioTrack.h
@@ -476,8 +476,7 @@ protected:
int frameCount,
audio_policy_output_flags_t flags,
const sp<IMemory>& sharedBuffer,
- audio_io_handle_t output,
- bool enforceFrameCount);
+ audio_io_handle_t output);
void flush_l();
status_t setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount);
audio_io_handle_t getOutput_l();