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

Issue 2355483003: Voe::Channel: Turned GetPlayoutFrequency into GetRtpTimestampRateHz. (Closed)

Created:
4 years, 3 months ago by ossu
Modified:
4 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, henrika_webrtc, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc, the sun
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Voe::Channel: Turned GetPlayoutFrequency into GetRtpTimestampRateHz. This gets rid of a bit of codec-specific code in VoE. BUG=webrtc:5805 Committed: https://crrev.com/e280cdeb744c2e0c40fa1da24dce59436eda2e39 Cr-Commit-Position: refs/heads/master@{#14614}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Implemented GetPayloadFrequency more properly and renamed it to GetRtpTimestampRateHz. #

Total comments: 7

Patch Set 3 : Handle zero clockrate, make better comments, fix bad spel #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -22 lines) Patch
M webrtc/modules/audio_coding/acm2/acm_receiver.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_receiver.cc View 1 4 chunks +9 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/audio_coding_module.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/include/audio_coding_module.h View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M webrtc/voice_engine/channel.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 chunks +11 lines, -21 lines 0 comments Download

Messages

Total messages: 42 (21 generated)
kwiberg-webrtc
https://codereview.webrtc.org/2355483003/diff/1/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/2355483003/diff/1/webrtc/voice_engine/channel.cc#newcode3148 webrtc/voice_engine/channel.cc:3148: return current_receive_codec.plfreq; CodecInst::plfreq is the actual sample rate of ...
4 years, 3 months ago (2016-09-20 15:34:54 UTC) #2
ossu
https://codereview.webrtc.org/2355483003/diff/1/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/2355483003/diff/1/webrtc/voice_engine/channel.cc#newcode3148 webrtc/voice_engine/channel.cc:3148: return current_receive_codec.plfreq; On 2016/09/20 15:34:54, kwiberg-webrtc wrote: > CodecInst::plfreq ...
4 years, 3 months ago (2016-09-20 15:43:51 UTC) #3
ossu
Alright. I believe I misunderstood CodecInst::plfreq to contain the clockrate and not the samplerate. I've ...
4 years, 2 months ago (2016-10-06 11:12:36 UTC) #5
kwiberg-webrtc
Looks good, provided you can answer "yes" to both questions. Adding hlundin@ to the Reviewers ...
4 years, 2 months ago (2016-10-07 12:05:23 UTC) #8
kwiberg-webrtc
On 2016/10/06 11:12:36, ossu wrote: > I've no automatic way of testing this, though. Do ...
4 years, 2 months ago (2016-10-07 12:06:47 UTC) #9
ossu
https://codereview.webrtc.org/2355483003/diff/40001/webrtc/modules/audio_coding/acm2/acm_receiver.cc File webrtc/modules/audio_coding/acm2/acm_receiver.cc (right): https://codereview.webrtc.org/2355483003/diff/40001/webrtc/modules/audio_coding/acm2/acm_receiver.cc#newcode102 webrtc/modules/audio_coding/acm2/acm_receiver.cc:102: RTC_DCHECK(last_audio_format_); On 2016/10/07 12:05:23, kwiberg-webrtc wrote: > Are you ...
4 years, 2 months ago (2016-10-07 12:21:59 UTC) #10
hlundin-webrtc
I think this is sane. LGTM % comments (mine and kwiberg's). https://codereview.webrtc.org/2355483003/diff/40001/webrtc/modules/audio_coding/include/audio_coding_module.h File webrtc/modules/audio_coding/include/audio_coding_module.h (right): ...
4 years, 2 months ago (2016-10-07 12:32:19 UTC) #11
ossu
https://codereview.webrtc.org/2355483003/diff/40001/webrtc/modules/audio_coding/include/audio_coding_module.h File webrtc/modules/audio_coding/include/audio_coding_module.h (right): https://codereview.webrtc.org/2355483003/diff/40001/webrtc/modules/audio_coding/include/audio_coding_module.h#newcode545 webrtc/modules/audio_coding/include/audio_coding_module.h:545: virtual rtc::Optional<SdpAudioFormat> ReceiveFormat() const = 0; On 2016/10/07 12:32:19, ...
4 years, 2 months ago (2016-10-07 12:41:33 UTC) #12
kwiberg-webrtc
https://codereview.webrtc.org/2355483003/diff/40001/webrtc/modules/audio_coding/include/audio_coding_module.h File webrtc/modules/audio_coding/include/audio_coding_module.h (right): https://codereview.webrtc.org/2355483003/diff/40001/webrtc/modules/audio_coding/include/audio_coding_module.h#newcode545 webrtc/modules/audio_coding/include/audio_coding_module.h:545: virtual rtc::Optional<SdpAudioFormat> ReceiveFormat() const = 0; On 2016/10/07 12:41:32, ...
4 years, 2 months ago (2016-10-07 12:53:53 UTC) #15
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/2355483003/60001
4 years, 2 months ago (2016-10-11 00:15:12 UTC) #20
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/2355483003/60001
4 years, 2 months ago (2016-10-11 00:16:11 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/9105)
4 years, 2 months ago (2016-10-11 00:30:02 UTC) #26
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/2355483003/60001
4 years, 2 months ago (2016-10-11 18:33:36 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/9128)
4 years, 2 months ago (2016-10-11 18:36:27 UTC) #30
ossu
On 2016/10/11 18:36:27, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 2 months ago (2016-10-11 18:41:22 UTC) #31
kwiberg-webrtc
lgtm
4 years, 2 months ago (2016-10-11 18:54:19 UTC) #32
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/2355483003/60001
4 years, 2 months ago (2016-10-11 18:56:46 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/9134)
4 years, 2 months ago (2016-10-11 19:25:43 UTC) #36
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/2355483003/60001
4 years, 2 months ago (2016-10-12 17:12:42 UTC) #38
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 2 months ago (2016-10-12 18:04:14 UTC) #40
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 18:04:25 UTC) #42
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e280cdeb744c2e0c40fa1da24dce59436eda2e39
Cr-Commit-Position: refs/heads/master@{#14614}

Powered by Google App Engine
This is Rietveld 408576698