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
commit7d4cc41ad22e07c15667d853905f1b7b4a4c1a7a (patch)
tree0e1ebda58986211424e3e1ec2121261d8c33f18e /include
parent30b68bae3b487395031e03dd993596e37b80d1c5 (diff)
parente7800946a42c0ebe8e0b3f6eba04a96a9641aaff (diff)
downloadframeworks_base-7d4cc41ad22e07c15667d853905f1b7b4a4c1a7a.zip
frameworks_base-7d4cc41ad22e07c15667d853905f1b7b4a4c1a7a.tar.gz
frameworks_base-7d4cc41ad22e07c15667d853905f1b7b4a4c1a7a.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