summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-11-21 00:22:06 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2009-11-21 00:22:06 -0800
commit0478cd8b9468d54a32a6befd2654ebb9ae538b2d (patch)
tree6dd98367a3bd44e881eb8aabfb72257b398cf5dd /include
parent9da546f16810e8041046405ea4924f42ea5c1242 (diff)
parent4ddf30b2b118068d82bb37858186d668eddbbe6d (diff)
downloadframeworks_av-0478cd8b9468d54a32a6befd2654ebb9ae538b2d.zip
frameworks_av-0478cd8b9468d54a32a6befd2654ebb9ae538b2d.tar.gz
frameworks_av-0478cd8b9468d54a32a6befd2654ebb9ae538b2d.tar.bz2
am e7800946: Merge change I49f02be9 into eclair
Merge commit 'e7800946a42c0ebe8e0b3f6eba04a96a9641aaff' into eclair-plus-aosp * commit 'e7800946a42c0ebe8e0b3f6eba04a96a9641aaff': Issue 2265163: Audio still reported routed through earpiece on sholes
Diffstat (limited to 'include')
-rw-r--r--include/media/AudioRecord.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h
index 008468c..622c596 100644
--- a/include/media/AudioRecord.h
+++ b/include/media/AudioRecord.h
@@ -268,7 +268,7 @@ public:
* Returned value:
* handle on audio hardware input
*/
- audio_io_handle_t getInput() { return mInput; }
+ audio_io_handle_t getInput();
/* obtains a buffer of "frameCount" frames. The buffer must be
* filled entirely. If the track is stopped, obtainBuffer() returns
@@ -318,7 +318,8 @@ private:
int format,
int channelCount,
int frameCount,
- uint32_t flags);
+ uint32_t flags,
+ audio_io_handle_t input);
sp<IAudioRecord> mAudioRecord;
sp<IMemory> mCblkMemory;
@@ -345,8 +346,8 @@ private:
bool mMarkerReached;
uint32_t mNewPosition;
uint32_t mUpdatePeriod;
- audio_io_handle_t mInput;
uint32_t mFlags;
+ uint32_t mChannels;
};
}; // namespace android