summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-11-21 00:18:24 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-11-21 00:18:24 -0800
commite7800946a42c0ebe8e0b3f6eba04a96a9641aaff (patch)
tree4761b4ea0b5fb01d1a90eb069a1839e6c6445ab4 /include
parent256da9fb007ac0722a5b1854befda7e7bed2564e (diff)
parent49f02be9d7fafb8841f75394a90f1409c6f82c1f (diff)
downloadframeworks_base-e7800946a42c0ebe8e0b3f6eba04a96a9641aaff.zip
frameworks_base-e7800946a42c0ebe8e0b3f6eba04a96a9641aaff.tar.gz
frameworks_base-e7800946a42c0ebe8e0b3f6eba04a96a9641aaff.tar.bz2
Merge change I49f02be9 into eclair
* changes: 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