Add support for ICS audio blobs
Enable with the ICS_AUDIO_BLOB CFLAG
Change-Id: Ie174d5997202b8931c1f11db62b6ec2e377f096a
Conflicts:
services/audioflinger/AudioFlinger.cpp
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index 9c8fd1f..2135e79 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -2705,11 +2705,13 @@
int64_t pts;
status_t status = INVALID_OPERATION;
+#ifndef ICS_AUDIO_BLOB
if (mNormalSink != 0) {
status = mNormalSink->getNextWriteTimestamp(&pts);
} else {
status = mOutputSink->getNextWriteTimestamp(&pts);
}
+#endif
if (status != NO_ERROR) {
pts = AudioBufferProvider::kInvalidPTS;