OSDN Git Service
(root)
/
android-x86
/
frameworks-av.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77062b4
)
audioflinger: Enable TEE_SINK compilation
author
Leena Winterrowd
<lenhardw@codeaurora.org>
Wed, 23 Dec 2015 20:22:18 +0000
(12:22 -0800)
committer
Steve Kondik
<steve@cyngn.com>
Tue, 2 Feb 2016 01:23:51 +0000
(17:23 -0800)
Change CHECK to ALOG_ASSERT to allow compilation of the TEE_SINK
dump feature.
Change-Id: I1114a9d185cfd24cdbdda51c526f48be7fd009f9
services/audioflinger/AudioFlinger.cpp
patch
|
blob
|
history
diff --git
a/services/audioflinger/AudioFlinger.cpp
b/services/audioflinger/AudioFlinger.cpp
index
fdedabb
..
23215dd
100644
(file)
--- 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,