summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Threads.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-07-03 12:23:29 -0700
committerGlenn Kasten <gkasten@google.com>2014-07-03 16:28:41 -0700
commit7df8c0b799d8f52d6386e03313286dbd7d5cdc7c (patch)
treee87404b99042b2c21ffcc0c34ac397ae14b4c2d4 /services/audioflinger/Threads.cpp
parent7c6f87856c0880ee39c2107a0fc3c9b41f8c195c (diff)
downloadframeworks_av-7df8c0b799d8f52d6386e03313286dbd7d5cdc7c.zip
frameworks_av-7df8c0b799d8f52d6386e03313286dbd7d5cdc7c.tar.gz
frameworks_av-7df8c0b799d8f52d6386e03313286dbd7d5cdc7c.tar.bz2
IAudioFlinger::openRecord now suggests notificationFrames
Change-Id: I08885cc381d03c522a23289e74f0e1ed46563863
Diffstat (limited to 'services/audioflinger/Threads.cpp')
-rwxr-xr-xservices/audioflinger/Threads.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index 67a0119..1dcaff8 100755
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -5443,6 +5443,7 @@ sp<AudioFlinger::RecordThread::RecordTrack> AudioFlinger::RecordThread::createRe
audio_channel_mask_t channelMask,
size_t *pFrameCount,
int sessionId,
+ size_t *notificationFrames,
int uid,
IAudioFlinger::track_flags_t *flags,
pid_t tid,
@@ -5512,6 +5513,7 @@ sp<AudioFlinger::RecordThread::RecordTrack> AudioFlinger::RecordThread::createRe
}
}
*pFrameCount = frameCount;
+ *notificationFrames = 0; // FIXME implement
lStatus = initCheck();
if (lStatus != NO_ERROR) {