diff options
author | Eric Laurent <elaurent@google.com> | 2013-02-04 17:05:30 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-02-04 17:05:30 +0000 |
commit | 83fa606bd629ac32a2dab5af255188acfa30db4a (patch) | |
tree | 41d2c6dc2fbb8ef4a30eac3593ffa22279513874 /services/audioflinger/Threads.cpp | |
parent | 5fa419b962f668e6fa9adf7e14fddea97cdb736e (diff) | |
parent | 201fc9c9feb4765a12bc39e95d25f3aa1deb8ffe (diff) | |
download | frameworks_av-83fa606bd629ac32a2dab5af255188acfa30db4a.zip frameworks_av-83fa606bd629ac32a2dab5af255188acfa30db4a.tar.gz frameworks_av-83fa606bd629ac32a2dab5af255188acfa30db4a.tar.bz2 |
Merge "AudioFlinger: fix RecordThread initial device"
Diffstat (limited to 'services/audioflinger/Threads.cpp')
-rw-r--r-- | services/audioflinger/Threads.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp index 6f748d7..ba848d7 100644 --- a/services/audioflinger/Threads.cpp +++ b/services/audioflinger/Threads.cpp @@ -3573,9 +3573,10 @@ AudioFlinger::RecordThread::RecordThread(const sp<AudioFlinger>& audioFlinger, uint32_t sampleRate, audio_channel_mask_t channelMask, audio_io_handle_t id, - audio_devices_t device, + audio_devices_t outDevice, + audio_devices_t inDevice, const sp<NBAIO_Sink>& teeSink) : - ThreadBase(audioFlinger, id, AUDIO_DEVICE_NONE, device, RECORD), + ThreadBase(audioFlinger, id, outDevice, inDevice, RECORD), mInput(input), mResampler(NULL), mRsmpOutBuffer(NULL), mRsmpInBuffer(NULL), // mRsmpInIndex and mInputBytes set by readInputParameters() mReqChannelCount(popcount(channelMask)), |