Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Issue 1206783002: Cleanup of iOS AudioDevice implementation (Closed)

Created:
5 years, 6 months ago by henrika_webrtc
Modified:
5 years, 5 months ago
Reviewers:
tkchin_webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Cleanup of iOS AudioDevice implementation TBR=tkchin BUG=webrtc:4789 TEST=modules_unittests --gtest_filter=AudioDeviceTest* and AppRTCDemo Committed: https://chromium.googlesource.com/external/webrtc/+/ba35d05a4918b3efa7ab88674781aadb48017ff8

Patch Set 1 #

Patch Set 2 : Added GetPlayout/RecordAudioParameters to the ADM interface #

Patch Set 3 : Improved comments and setting of audio parameters #

Total comments: 2

Patch Set 4 : Builds in Release mode as well #

Patch Set 5 : Added GetHardwareAudioParameters and fixed a real bug #

Patch Set 6 : More cleanup #

Total comments: 39

Patch Set 7 : Feedback from tkchin@ #

Total comments: 10

Patch Set 8 : Final changes... #

Patch Set 9 : Minor test improvements to improve detection in loopback latency test #

Patch Set 10 : Added LogDeviceInfo() method #

Patch Set 11 : Fixes linker issue #

Patch Set 12 : Rebased #

Patch Set 13 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2237 lines, -2836 lines) Patch
M webrtc/base/logging.cc View 1 2 3 4 5 6 2 chunks +3 lines, -4 lines 0 comments Download
M webrtc/modules/audio_device/android/audio_manager.h View 2 chunks +1 line, -54 lines 0 comments Download
M webrtc/modules/audio_device/audio_device.gypi View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_buffer.cc View 4 chunks +0 lines, -8 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_generic.h View 1 1 chunk +153 lines, -161 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_generic.cc View 1 2 3 4 5 6 1 chunk +39 lines, -44 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_impl.h View 1 1 chunk +187 lines, -195 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_impl.cc View 1 2 chunks +11 lines, -1 line 0 comments Download
M webrtc/modules/audio_device/include/audio_device.h View 1 1 chunk +10 lines, -1 line 0 comments Download
M webrtc/modules/audio_device/include/audio_device_defines.h View 1 1 chunk +152 lines, -101 lines 0 comments Download
M webrtc/modules/audio_device/ios/audio_device_ios.h View 1 2 3 4 5 6 7 6 chunks +121 lines, -155 lines 0 comments Download
M webrtc/modules/audio_device/ios/audio_device_ios.mm View 1 2 3 4 5 6 7 8 9 1 chunk +922 lines, -1781 lines 0 comments Download
A webrtc/modules/audio_device/ios/audio_device_not_implemented_ios.mm View 1 2 3 4 5 6 7 1 chunk +286 lines, -0 lines 0 comments Download
A + webrtc/modules/audio_device/ios/audio_device_unittest_ios.cc View 1 2 3 4 5 6 7 8 9 30 chunks +117 lines, -330 lines 0 comments Download
M webrtc/modules/modules.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -1 line 0 comments Download
A webrtc/modules/utility/interface/helpers_ios.h View 1 2 3 4 5 6 7 8 9 1 chunk +55 lines, -0 lines 0 comments Download
A webrtc/modules/utility/source/helpers_ios.mm View 1 2 3 4 5 6 7 8 9 1 chunk +172 lines, -0 lines 0 comments Download
M webrtc/modules/utility/utility.gypi View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
henrika_webrtc
Uploaded a new CL here instead. Please use this one. Thanks.
5 years, 6 months ago (2015-06-24 08:26:39 UTC) #2
henrika_webrtc
Improved how we derive the fundamental audio parameters. A new method is called at construction ...
5 years, 6 months ago (2015-06-25 16:12:32 UTC) #3
tkchin_webrtc
https://codereview.webrtc.org/1206783002/diff/40001/webrtc/modules/audio_device/audio_device_generic.h File webrtc/modules/audio_device/audio_device_generic.h (right): https://codereview.webrtc.org/1206783002/diff/40001/webrtc/modules/audio_device/audio_device_generic.h#newcode150 webrtc/modules/audio_device/audio_device_generic.h:150: // Windows Core Audio and Android only. nit: if ...
5 years, 5 months ago (2015-07-06 03:46:29 UTC) #4
henrika_webrtc
Comments and question only. No new upload at this stage (did not have time to ...
5 years, 5 months ago (2015-07-07 16:01:39 UTC) #5
henrika_webrtc
Great comments; thanks. New version uploaded. PTAL ;-) https://codereview.webrtc.org/1206783002/diff/100001/webrtc/modules/audio_device/ios/audio_device_ios.mm File webrtc/modules/audio_device/ios/audio_device_ios.mm (right): https://codereview.webrtc.org/1206783002/diff/100001/webrtc/modules/audio_device/ios/audio_device_ios.mm#newcode40 webrtc/modules/audio_device/ios/audio_device_ios.mm:40: CHECK(CheckAndLogError(success, ...
5 years, 5 months ago (2015-07-08 15:20:10 UTC) #6
tkchin_webrtc
https://codereview.webrtc.org/1206783002/diff/100001/webrtc/modules/audio_device/ios/audio_device_ios.mm File webrtc/modules/audio_device/ios/audio_device_ios.mm (right): https://codereview.webrtc.org/1206783002/diff/100001/webrtc/modules/audio_device/ios/audio_device_ios.mm#newcode25 webrtc/modules/audio_device/ios/audio_device_ios.mm:25: #define TAG "AudioDeviceIOS::" On 2015/07/07 16:01:38, henrika_webrtc wrote: > ...
5 years, 5 months ago (2015-07-08 19:41:14 UTC) #7
henrika_webrtc
I think we are in phase now ;-) Thanks! https://codereview.webrtc.org/1206783002/diff/100001/webrtc/modules/audio_device/ios/audio_device_not_implemented_ios.h File webrtc/modules/audio_device/ios/audio_device_not_implemented_ios.h (right): https://codereview.webrtc.org/1206783002/diff/100001/webrtc/modules/audio_device/ios/audio_device_not_implemented_ios.h#newcode23 webrtc/modules/audio_device/ios/audio_device_not_implemented_ios.h:23: ...
5 years, 5 months ago (2015-07-09 12:58:02 UTC) #8
henrika_webrtc
Also added some extra device logging which I think will be useful. Example output: [2055] ...
5 years, 5 months ago (2015-07-10 13:29:50 UTC) #9
henrika_webrtc
Landing with tkchin@ as TBR. Hope that's fine. Do ping me if there were some ...
5 years, 5 months ago (2015-07-14 15:03:48 UTC) #10
henrika_webrtc
Committed patchset #13 (id:240001) manually as ba35d05a4918b3efa7ab88674781aadb48017ff8 (presubmit successful).
5 years, 5 months ago (2015-07-14 15:04:26 UTC) #11
henrika_webrtc
Sorry, forgot that we had CQ.
5 years, 5 months ago (2015-07-14 15:05:11 UTC) #12
tkchin_webrtc
5 years, 5 months ago (2015-07-14 18:16:29 UTC) #13
Message was sent while issue was closed.
On 2015/07/14 15:05:11, henrika_webrtc wrote:
> Sorry, forgot that we had CQ.

lgtm

Powered by Google App Engine
This is Rietveld 408576698