summaryrefslogtreecommitdiffstats
path: root/include/media/AudioRecord.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2013-08-12 19:18:00 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-08-12 19:18:00 -0700
commit8845337fff1c8faa4296b3bcafcefb41e07fc3ad (patch)
treeb7bc54df66ae2b831058bb65519313ad06e87132 /include/media/AudioRecord.h
parent9156ef3e11b68cc4b6d3cea77f1f63673855a6d1 (diff)
parent82278b2ceeebbcf345ed81413eeffa82fa82e05b (diff)
downloadframeworks_av-8845337fff1c8faa4296b3bcafcefb41e07fc3ad.zip
frameworks_av-8845337fff1c8faa4296b3bcafcefb41e07fc3ad.tar.gz
frameworks_av-8845337fff1c8faa4296b3bcafcefb41e07fc3ad.tar.bz2
am 82278b2c: am fe9611bd: Merge "Fix potential leak of audio input handle." into klp-dev
* commit '82278b2ceeebbcf345ed81413eeffa82fa82e05b': Fix potential leak of audio input handle.
Diffstat (limited to 'include/media/AudioRecord.h')
-rw-r--r--include/media/AudioRecord.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h
index 7fcb661..b426798 100644
--- a/include/media/AudioRecord.h
+++ b/include/media/AudioRecord.h
@@ -423,14 +423,7 @@ private:
nsecs_t processAudioBuffer(const sp<AudioRecordThread>& thread);
// caller must hold lock on mLock for all _l methods
- status_t openRecord_l(uint32_t sampleRate,
- audio_format_t format,
- size_t frameCount,
- audio_input_flags_t flags,
- audio_io_handle_t input,
- size_t epoch);
-
- audio_io_handle_t getInput_l();
+ status_t openRecord_l(size_t epoch);
// FIXME enum is faster than strcmp() for parameter 'from'
status_t restoreRecord_l(const char *from);