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

Issue 2066993005: (OBSOLETE) Increasing audio buffer on Iphone 4S.

Created:
4 years, 6 months ago by minyue-webrtc
Modified:
4 years ago
CC:
webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Increasing audio buffer on Iphone 4S. Iphone 4S is a slow. To allow complicated work in WebRTC audio processing, we need to increase the audio buffer. BUG=

Patch Set 1 : #

Total comments: 4

Patch Set 2 : renaming m->mm #

Patch Set 3 : Addressing comments in PS 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -135 lines) Patch
M webrtc/modules/audio_device/audio_device.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.m View 1 1 chunk +0 lines, -133 lines 0 comments Download
A + webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.mm View 1 2 3 chunks +11 lines, -1 line 2 comments Download

Messages

Total messages: 11 (6 generated)
minyue-webrtc
Henrik, Would you take a look at this?
4 years, 6 months ago (2016-06-16 17:39:18 UTC) #4
henrika_webrtc
Thanks for looking into this. I am fine with the change but have some comments. ...
4 years, 6 months ago (2016-06-17 07:37:37 UTC) #5
minyue-webrtc
Hi Henrik, I updated this CL. I have to rename .m to .mm to be ...
4 years, 6 months ago (2016-06-23 11:35:07 UTC) #8
henrika_webrtc
Sorry if my initial round of comments were not clear but I don't think we ...
4 years, 6 months ago (2016-06-23 11:49:13 UTC) #9
tkchin_webrtc
4 years, 6 months ago (2016-06-24 00:30:48 UTC) #11
https://codereview.webrtc.org/2066993005/diff/90001/webrtc/modules/audio_devi...
File webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.mm
(right):

https://codereview.webrtc.org/2066993005/diff/90001/webrtc/modules/audio_devi...
webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.mm:16:
#include "webrtc/modules/utility/include/helpers_ios.h"
Let's avoid using this file. I want to move helpers away to sdk/objc.

https://codereview.webrtc.org/2066993005/diff/90001/webrtc/modules/audio_devi...
webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.mm:92: if
(webrtc::ios::GetDeviceName() == "iPhone 4S") {
Wouldn't use strings like this. We should enumerate devices elsewhere.

I think the better things to do is to add a category to UIDevice, e.g.
UIDevice+WebRTC.h, define an enum for all the known device types, and then have
a method that does GetDeviceName() except it returns the type instead of the
string.

It should go into webrtc/sdk/objc/Framework/Headers/WebRTC/

Powered by Google App Engine
This is Rietveld 408576698