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

Issue 1296693003: Fix initialization/termination of AudioDeviceTemplate (Closed)

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

Description

Fix initialization/termination of AudioDeviceTemplate AudioDeviceTemplate doesn't initialize `output_` and `input_` if the initialization of `audio_manager_` succeeds. Similarly, it doesn't terminate `input_` and `audio_manager_` if the termination of `output_` succeeds. This CL fixes this. BUG= Committed: https://crrev.com/9deaa86136e74fbf22065bf8a479780942e81fc8 Cr-Commit-Position: refs/heads/master@{#9760}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address feedback from tommi #

Patch Set 3 : address feedback from tommi (try to handle initialization failure) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -5 lines) Patch
M webrtc/modules/audio_device/android/audio_device_template.h View 1 2 1 chunk +19 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Satoshi Matsumoto
5 years, 4 months ago (2015-08-16 10:54:05 UTC) #2
tommi (sloooow) - chröme
https://codereview.webrtc.org/1296693003/diff/1/webrtc/modules/audio_device/android/audio_device_template.h File webrtc/modules/audio_device/android/audio_device_template.h (right): https://codereview.webrtc.org/1296693003/diff/1/webrtc/modules/audio_device/android/audio_device_template.h#newcode64 webrtc/modules/audio_device/android/audio_device_template.h:64: audio_manager_->Init() & ((output_.Init() | input_.Init()) == 0); Great that ...
5 years, 4 months ago (2015-08-17 08:23:19 UTC) #4
Satoshi Matsumoto
Thanks for the review. https://codereview.webrtc.org/1296693003/diff/1/webrtc/modules/audio_device/android/audio_device_template.h File webrtc/modules/audio_device/android/audio_device_template.h (right): https://codereview.webrtc.org/1296693003/diff/1/webrtc/modules/audio_device/android/audio_device_template.h#newcode64 webrtc/modules/audio_device/android/audio_device_template.h:64: audio_manager_->Init() & ((output_.Init() | input_.Init()) ...
5 years, 4 months ago (2015-08-17 16:40:23 UTC) #5
henrika_webrtc
Thanks for fixing. LGTM
5 years, 4 months ago (2015-08-18 07:23:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1296693003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1296693003/40001
5 years, 4 months ago (2015-08-22 00:55:18 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-22 01:38:54 UTC) #9
commit-bot: I haz the power
5 years, 4 months ago (2015-08-22 01:39:06 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9deaa86136e74fbf22065bf8a479780942e81fc8
Cr-Commit-Position: refs/heads/master@{#9760}

Powered by Google App Engine
This is Rietveld 408576698