diff options
author | Leena Winterrowd <lenhardw@codeaurora.org> | 2015-12-23 12:22:18 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-02-01 17:23:51 -0800 |
commit | 0276a2fa56d6d8074e88940a4d21caa3e54f4972 (patch) | |
tree | df0109f99f659f9ed9b6d16ad84235d8926c1588 | |
parent | 77062b4e631b8500203e45f84b2b06061be0f863 (diff) | |
download | frameworks_av-0276a2fa56d6d8074e88940a4d21caa3e54f4972.zip frameworks_av-0276a2fa56d6d8074e88940a4d21caa3e54f4972.tar.gz frameworks_av-0276a2fa56d6d8074e88940a4d21caa3e54f4972.tar.bz2 |
audioflinger: Enable TEE_SINK compilation
Change CHECK to ALOG_ASSERT to allow compilation of the TEE_SINK
dump feature.
Change-Id: I1114a9d185cfd24cdbdda51c526f48be7fd009f9
-rw-r--r-- | services/audioflinger/AudioFlinger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index fdedabb..23215dd 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp @@ -3029,7 +3029,7 @@ void AudioFlinger::dumpTee(int fd, const sp<NBAIO_Source>& source, audio_io_hand bool firstRead = true; #define TEE_SINK_READ 1024 // frames per I/O operation void *buffer = malloc(TEE_SINK_READ * frameSize); - CHECK (buffer != NULL); + ALOG_ASSERT(buffer != NULL); for (;;) { size_t count = TEE_SINK_READ; ssize_t actual = teeSource->read(buffer, count, |