summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2013-07-31 16:14:50 -0700
committerGlenn Kasten <gkasten@google.com>2013-08-02 16:22:42 -0700
commitddb0ccf3fb6fe8da8c71a6deb30561b821f3c0a2 (patch)
treea467af6f181bff45e8c1e47284ebbc4d6d3ccead /services
parenteeca32671896739e84050da5992d5f151a1629de (diff)
downloadframeworks_av-ddb0ccf3fb6fe8da8c71a6deb30561b821f3c0a2.zip
frameworks_av-ddb0ccf3fb6fe8da8c71a6deb30561b821f3c0a2.tar.gz
frameworks_av-ddb0ccf3fb6fe8da8c71a6deb30561b821f3c0a2.tar.bz2
RecordTrack::createRecordTrack_l flags are in/out
The flags are currently unused, but will be used for requesting a fast track. Making flags in/out will allow reporting back up to client that the request is denied. Change-Id: Ifbee57da3632ce130551065a426577fb97b1a68d
Diffstat (limited to 'services')
-rw-r--r--services/audioflinger/AudioFlinger.cpp2
-rw-r--r--services/audioflinger/Threads.cpp2
-rw-r--r--services/audioflinger/Threads.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp
index f789eca..3d65c44 100644
--- a/services/audioflinger/AudioFlinger.cpp
+++ b/services/audioflinger/AudioFlinger.cpp
@@ -1261,7 +1261,7 @@ sp<IAudioRecord> AudioFlinger::openRecord(
// create new record track.
// The record track uses one track in mHardwareMixerThread by convention.
recordTrack = thread->createRecordTrack_l(client, sampleRate, format, channelMask,
- frameCount, lSessionId, *flags, tid, &lStatus);
+ frameCount, lSessionId, flags, tid, &lStatus);
}
if (lStatus != NO_ERROR) {
// remove local strong reference to Client before deleting the RecordTrack so that the
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index f0c27c3..305270a 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -4433,7 +4433,7 @@ sp<AudioFlinger::RecordThread::RecordTrack> AudioFlinger::RecordThread::createR
audio_channel_mask_t channelMask,
size_t frameCount,
int sessionId,
- IAudioFlinger::track_flags_t flags,
+ IAudioFlinger::track_flags_t *flags,
pid_t tid,
status_t *status)
{
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h
index aa04fd4..1453698 100644
--- a/services/audioflinger/Threads.h
+++ b/services/audioflinger/Threads.h
@@ -837,7 +837,7 @@ public:
audio_channel_mask_t channelMask,
size_t frameCount,
int sessionId,
- IAudioFlinger::track_flags_t flags,
+ IAudioFlinger::track_flags_t *flags,
pid_t tid,
status_t *status);