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

Issue 2084123002: Adding an interface to allow extension of the audio player for CRD and iOS. (Closed)

Created:
4 years, 6 months ago by nicholss
Modified:
4 years, 6 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding an interface to allow extension of the audio player for CRD and iOS. This CL changes the audio player for CRD into a consumer of audio packets. The choice of consumer is based on a consumer/provider pattern, the intent is to create a new class that will be used in iOS in a following CL that acts as a middle buffer between the CRD Client and the iOS audio player which will extend both AudioConsumer and AudioProvider(not in this CL). Because of this change, I needed the current usage of audio player to extend from a more generic interface (AudioConsumer) which could apply to either this future buffer or audio player. This is a followup to https://codereview.chromium.org/2052723002, I missed the last upload for the CL changes. R=sergeyu@chromium.org BUG=611181 Committed: https://crrev.com/79d9f91451cbec77bbd6bfbba95ba6da3bc8908f Cr-Commit-Position: refs/heads/master@{#401332}

Patch Set 1 #

Patch Set 2 : Merging with master. #

Patch Set 3 : Removing AudioPlayer::ProcessAudioPacket. #

Total comments: 2

Patch Set 4 : Removing unused counter in fake audio consumer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -42 lines) Patch
M remoting/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/client/audio_consumer.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M remoting/client/audio_decode_scheduler.h View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/client/audio_decode_scheduler.cc View 1 3 chunks +0 lines, -9 lines 0 comments Download
M remoting/client/audio_decode_scheduler_unittest.cc View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M remoting/client/audio_player.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M remoting/client/audio_player.cc View 1 2 2 chunks +1 line, -6 lines 0 comments Download
M remoting/client/audio_player_unittest.cc View 6 chunks +12 lines, -12 lines 0 comments Download
M remoting/client/fake_audio_consumer.h View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M remoting/client/fake_audio_consumer.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M remoting/client/jni/chromoting_jni_runtime.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Sergey Ulanov
https://codereview.chromium.org/2084123002/diff/40001/remoting/client/audio_decode_scheduler.cc File remoting/client/audio_decode_scheduler.cc (right): https://codereview.chromium.org/2084123002/diff/40001/remoting/client/audio_decode_scheduler.cc#newcode108 remoting/client/audio_decode_scheduler.cc:108: } nit: this can be moved to the previous ...
4 years, 6 months ago (2016-06-21 21:47:31 UTC) #1
Sergey Ulanov
lgtm
4 years, 6 months ago (2016-06-21 22:21:59 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2084123002/60001
4 years, 6 months ago (2016-06-22 17:32:31 UTC) #4
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-22 17:39:48 UTC) #5
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 17:41:27 UTC) #7
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/79d9f91451cbec77bbd6bfbba95ba6da3bc8908f
Cr-Commit-Position: refs/heads/master@{#401332}

Powered by Google App Engine
This is Rietveld 408576698