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

Issue 2935643002: Templated AudioEncoderFactory (Closed)

Created:
3 years, 6 months ago by kwiberg-webrtc
Modified:
3 years, 6 months ago
Reviewers:
the sun, ossu
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), peah-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, kwiberg-webrtc, the sun
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Templated AudioEncoderFactory No real encoder implements the correct API yet, so we're just testing dummies. BUG=webrtc:7823 Review-Url: https://codereview.webrtc.org/2935643002 Cr-Commit-Position: refs/heads/master@{#18637} Committed: https://chromium.googlesource.com/external/webrtc/+/653158338e27faca4dabc9acfe9204bd1e2f2810

Patch Set 1 #

Patch Set 2 : need std::move #

Patch Set 3 : better docs #

Total comments: 7

Patch Set 4 : rebase #

Patch Set 5 : argument names #

Patch Set 6 : Don't use or require ConfigType::IsOk() #

Total comments: 2

Patch Set 7 : rebase #

Patch Set 8 : try ossu@'s suggestion #

Total comments: 15

Patch Set 9 : address review comments #

Patch Set 10 : better docs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -0 lines) Patch
M webrtc/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/audio_codecs/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A webrtc/api/audio_codecs/audio_encoder_factory_template.h View 1 2 3 4 5 6 7 8 9 1 chunk +142 lines, -0 lines 0 comments Download
A webrtc/api/audio_codecs/test/BUILD.gn View 1 chunk +29 lines, -0 lines 0 comments Download
A webrtc/api/audio_codecs/test/audio_encoder_factory_template_unittest.cc View 1 2 3 4 5 1 chunk +120 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (22 generated)
kwiberg-webrtc
3 years, 6 months ago (2017-06-12 11:52:47 UTC) #8
the sun
lgtm https://codereview.webrtc.org/2935643002/diff/40001/webrtc/api/audio_codecs/audio_encoder_factory_template.h File webrtc/api/audio_codecs/audio_encoder_factory_template.h (right): https://codereview.webrtc.org/2935643002/diff/40001/webrtc/api/audio_codecs/audio_encoder_factory_template.h#newcode121 webrtc/api/audio_codecs/audio_encoder_factory_template.h:121: // AudioCodecInfo QueryAudioEncoder(const ConfigType&); missing param name https://codereview.webrtc.org/2935643002/diff/40001/webrtc/api/audio_codecs/audio_encoder_factory_template.h#newcode125 ...
3 years, 6 months ago (2017-06-13 14:56:15 UTC) #9
kwiberg-webrtc
https://codereview.webrtc.org/2935643002/diff/40001/webrtc/api/audio_codecs/audio_encoder_factory_template.h File webrtc/api/audio_codecs/audio_encoder_factory_template.h (right): https://codereview.webrtc.org/2935643002/diff/40001/webrtc/api/audio_codecs/audio_encoder_factory_template.h#newcode121 webrtc/api/audio_codecs/audio_encoder_factory_template.h:121: // AudioCodecInfo QueryAudioEncoder(const ConfigType&); On 2017/06/13 14:56:14, the sun ...
3 years, 6 months ago (2017-06-13 19:28:35 UTC) #10
kwiberg-webrtc
Two new patch sets uploaded. The first adds the argument names that solenberg@ asked for; ...
3 years, 6 months ago (2017-06-13 19:34:11 UTC) #11
the sun
https://codereview.webrtc.org/2935643002/diff/40001/webrtc/api/audio_codecs/audio_encoder_factory_template.h File webrtc/api/audio_codecs/audio_encoder_factory_template.h (right): https://codereview.webrtc.org/2935643002/diff/40001/webrtc/api/audio_codecs/audio_encoder_factory_template.h#newcode134 webrtc/api/audio_codecs/audio_encoder_factory_template.h:134: rtc::scoped_refptr<AudioEncoderFactory> CreateAudioEncoderFactory() { On 2017/06/13 19:28:35, kwiberg-webrtc wrote: > ...
3 years, 6 months ago (2017-06-13 20:30:06 UTC) #12
ossu
Neat! I'd prefer it if you could get rid of the Dummy argument to the ...
3 years, 6 months ago (2017-06-15 13:57:59 UTC) #14
kwiberg-webrtc
New patch set posted. I don't have a preference between the old and the new ...
3 years, 6 months ago (2017-06-16 02:19:27 UTC) #19
kwiberg-webrtc
https://codereview.webrtc.org/2935643002/diff/90001/webrtc/api/audio_codecs/audio_encoder_factory_template.h File webrtc/api/audio_codecs/audio_encoder_factory_template.h (right): https://codereview.webrtc.org/2935643002/diff/90001/webrtc/api/audio_codecs/audio_encoder_factory_template.h#newcode49 webrtc/api/audio_codecs/audio_encoder_factory_template.h:49: template <typename...> On 2017/06/15 13:57:59, ossu wrote: > You ...
3 years, 6 months ago (2017-06-16 02:19:50 UTC) #20
ossu
I do! \o/ lgtm! (also, you should remove the extraneous namespace comment, below) https://codereview.webrtc.org/2935643002/diff/130001/webrtc/api/audio_codecs/audio_encoder_factory_template.h File ...
3 years, 6 months ago (2017-06-16 09:11:36 UTC) #21
the sun
just a few comments! https://codereview.webrtc.org/2935643002/diff/130001/webrtc/api/audio_codecs/audio_encoder_factory_template.h File webrtc/api/audio_codecs/audio_encoder_factory_template.h (right): https://codereview.webrtc.org/2935643002/diff/130001/webrtc/api/audio_codecs/audio_encoder_factory_template.h#newcode63 webrtc/api/audio_codecs/audio_encoder_factory_template.h:63: RTC_CHECK(enc); Is this an expected ...
3 years, 6 months ago (2017-06-16 09:18:06 UTC) #22
kwiberg-webrtc
New patch set posted. I acceded to all demands. :-) https://codereview.webrtc.org/2935643002/diff/130001/webrtc/api/audio_codecs/audio_encoder_factory_template.h File webrtc/api/audio_codecs/audio_encoder_factory_template.h (right): https://codereview.webrtc.org/2935643002/diff/130001/webrtc/api/audio_codecs/audio_encoder_factory_template.h#newcode63 ...
3 years, 6 months ago (2017-06-16 09:57:01 UTC) #25
ossu
https://codereview.webrtc.org/2935643002/diff/130001/webrtc/api/audio_codecs/audio_encoder_factory_template.h File webrtc/api/audio_codecs/audio_encoder_factory_template.h (right): https://codereview.webrtc.org/2935643002/diff/130001/webrtc/api/audio_codecs/audio_encoder_factory_template.h#newcode121 webrtc/api/audio_codecs/audio_encoder_factory_template.h:121: // create an AudioDecoder. I think we should mention ...
3 years, 6 months ago (2017-06-16 11:20:45 UTC) #28
kwiberg-webrtc
New patch set posted. https://codereview.webrtc.org/2935643002/diff/130001/webrtc/api/audio_codecs/audio_encoder_factory_template.h File webrtc/api/audio_codecs/audio_encoder_factory_template.h (right): https://codereview.webrtc.org/2935643002/diff/130001/webrtc/api/audio_codecs/audio_encoder_factory_template.h#newcode121 webrtc/api/audio_codecs/audio_encoder_factory_template.h:121: // create an AudioDecoder. On ...
3 years, 6 months ago (2017-06-16 13:03:25 UTC) #29
kwiberg-webrtc
I'll land this shortly, unless you have more comments?
3 years, 6 months ago (2017-06-16 13:20:41 UTC) #30
ossu
I've a couple of comments, but I'm not sure they're enough to stop this landing, ...
3 years, 6 months ago (2017-06-16 13:36:54 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2935643002/170001
3 years, 6 months ago (2017-06-16 13:37:55 UTC) #34
kwiberg-webrtc
https://codereview.webrtc.org/2935643002/diff/130001/webrtc/api/audio_codecs/audio_encoder_factory_template.h File webrtc/api/audio_codecs/audio_encoder_factory_template.h (right): https://codereview.webrtc.org/2935643002/diff/130001/webrtc/api/audio_codecs/audio_encoder_factory_template.h#newcode63 webrtc/api/audio_codecs/audio_encoder_factory_template.h:63: RTC_CHECK(enc); On 2017/06/16 13:36:53, ossu wrote: > On 2017/06/16 ...
3 years, 6 months ago (2017-06-16 13:40:08 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/27017)
3 years, 6 months ago (2017-06-16 14:07:51 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2935643002/170001
3 years, 6 months ago (2017-06-16 17:37:05 UTC) #39
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 17:42:11 UTC) #42
Message was sent while issue was closed.
Committed patchset #10 (id:170001) as
https://chromium.googlesource.com/external/webrtc/+/653158338e27faca4dabc9acf...

Powered by Google App Engine
This is Rietveld 408576698