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

Issue 2700983002: Remove the Windows Wave audio device implementation. (Closed)

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

Description

Remove the Windows Wave audio device implementation. This implementation uses various legacy classes such as EventTimeWrapper, CriticalSectionWrapper, EventWrapper etc and hasn't been maintained (or used?) for a long time. Instead of spending time on testing and updating the class, I think we should just remove it. For versions of Windows that we support, following Win7, we use the CoreAudio implementation. BUG=webrtc:7183 R=solenberg@webrtc.org Review-Url: https://codereview.webrtc.org/2700983002 . Cr-Commit-Position: refs/heads/master@{#16678} Committed: https://chromium.googlesource.com/external/webrtc/+/cc8588c0400df7c03f305da0a96c32bae3b5b2fa

Patch Set 1 #

Patch Set 2 : Remove kAudioWindowsWave (silly me only removing kWindowsWaveAudio). #

Total comments: 5

Patch Set 3 : Delete even more code and clean up _WIN32 usage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -4224 lines) Patch
M webrtc/common_types.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_device/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_impl.cc View 1 2 3 chunks +0 lines, -23 lines 0 comments Download
M webrtc/modules/audio_device/include/audio_device.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_device/test/audio_device_test_api.cc View 1 2 22 chunks +20 lines, -125 lines 0 comments Download
D webrtc/modules/audio_device/win/audio_device_wave_win.h View 1 chunk +0 lines, -343 lines 0 comments Download
D webrtc/modules/audio_device/win/audio_device_wave_win.cc View 1 chunk +0 lines, -3723 lines 0 comments Download
M webrtc/voice_engine/voe_hardware_impl.cc View 2 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
tommi
3 years, 10 months ago (2017-02-17 16:57:29 UTC) #2
the sun
On 2017/02/17 16:57:29, tommi (webrtc) wrote: Good call! I'm happy to take a closer look ...
3 years, 10 months ago (2017-02-17 17:20:18 UTC) #7
tommi
On 2017/02/17 17:20:18, the sun wrote: > On 2017/02/17 16:57:29, tommi (webrtc) wrote: > > ...
3 years, 10 months ago (2017-02-17 18:09:48 UTC) #8
tommi
Remove kAudioWindowsWave (silly me only removing kWindowsWaveAudio).
3 years, 10 months ago (2017-02-17 18:14:51 UTC) #9
the sun
On 2017/02/17 18:14:51, tommi (webrtc) wrote: > Remove kAudioWindowsWave (silly me only removing kWindowsWaveAudio). It ...
3 years, 10 months ago (2017-02-17 18:34:26 UTC) #14
the sun
lgtm % comments https://codereview.webrtc.org/2700983002/diff/20001/webrtc/modules/audio_device/audio_device_impl.cc File webrtc/modules/audio_device/audio_device_impl.cc (right): https://codereview.webrtc.org/2700983002/diff/20001/webrtc/modules/audio_device/audio_device_impl.cc#newcode202 webrtc/modules/audio_device/audio_device_impl.cc:202: #if defined(_WIN32) Can we remove the ...
3 years, 10 months ago (2017-02-17 18:41:55 UTC) #15
tommi
Delete even more code and clean up _WIN32 usage
3 years, 10 months ago (2017-02-17 21:43:34 UTC) #16
tommi
https://codereview.webrtc.org/2700983002/diff/20001/webrtc/modules/audio_device/audio_device_impl.cc File webrtc/modules/audio_device/audio_device_impl.cc (right): https://codereview.webrtc.org/2700983002/diff/20001/webrtc/modules/audio_device/audio_device_impl.cc#newcode202 webrtc/modules/audio_device/audio_device_impl.cc:202: #if defined(_WIN32) On 2017/02/17 18:41:55, the sun wrote: > ...
3 years, 10 months ago (2017-02-17 21:44:22 UTC) #19
tommi
https://codereview.webrtc.org/2700983002/diff/20001/webrtc/modules/audio_device/test/audio_device_test_api.cc File webrtc/modules/audio_device/test/audio_device_test_api.cc (right): https://codereview.webrtc.org/2700983002/diff/20001/webrtc/modules/audio_device/test/audio_device_test_api.cc#newcode173 webrtc/modules/audio_device/test/audio_device_test_api.cc:173: kId, AudioDeviceModule::kLinuxAlsaAudio)) == NULL); On 2017/02/17 21:44:22, tommi (webrtc) ...
3 years, 10 months ago (2017-02-17 21:44:46 UTC) #20
tommi
Committed patchset #3 (id:40001) manually as cc8588c0400df7c03f305da0a96c32bae3b5b2fa (presubmit successful).
3 years, 10 months ago (2017-02-17 22:48:48 UTC) #26
henrika_webrtc
3 years, 10 months ago (2017-02-20 08:15:09 UTC) #27
Message was sent while issue was closed.
Thanks. lgtm

Powered by Google App Engine
This is Rietveld 408576698