diff options
author | henrika@chromium.org <henrika@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-05 11:52:55 +0000 |
---|---|---|
committer | henrika@chromium.org <henrika@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-05 11:52:55 +0000 |
commit | e75fe3ded56552f45e19c058e03794bc488429f6 (patch) | |
tree | d6e33d1d9909403d0a0a08e8bbf68f78af4604cb /media/media.gyp | |
parent | de2d4ae90ca20fdc48ca70a0ab6de74076503d2d (diff) | |
download | chromium_src-e75fe3ded56552f45e19c058e03794bc488429f6.zip chromium_src-e75fe3ded56552f45e19c058e03794bc488429f6.tar.gz chromium_src-e75fe3ded56552f45e19c058e03794bc488429f6.tar.bz2 |
Add WASAPI-based unified audio I/O back-end for Windows 7.
Implementation of AudioOuputStream for Windows using the WASAPI API.
Both input and output device must use the same sample rate.
Corresponding implementation for Mac OS X is given by http://codereview.chromium.org/10916105/.
Additional test using full Chrome:
http://webaudiodemos.appspot.com/input/index.html
Local tests have been performed using a wide range of audio devices and sample rates. It has also been verified that the QoS is good between two different devices as well as long as they both run at the same sample rate.
12 hour test of http://webaudiodemos.appspot.com/input/index.html worked well.
Verified that we log a warning "Unified audio I/O is not supported." if the user has selected different sample rates for in and out.
BUG=145092
TEST=media_unittests.exe --gtest_filter=WASAPIUnified* --enable-webaudio-input
Review URL: https://codereview.chromium.org/10959068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160346 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/media.gyp')
-rw-r--r-- | media/media.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/media.gyp b/media/media.gyp index 51a8f17..3168c33 100644 --- a/media/media.gyp +++ b/media/media.gyp @@ -139,6 +139,8 @@ 'audio/win/audio_low_latency_output_win.h', 'audio/win/audio_manager_win.cc', 'audio/win/audio_manager_win.h', + 'audio/win/audio_unified_win.cc', + 'audio/win/audio_unified_win.h', 'audio/win/avrt_wrapper_win.cc', 'audio/win/avrt_wrapper_win.h', 'audio/win/device_enumeration_win.cc', @@ -605,6 +607,7 @@ 'audio/win/audio_low_latency_input_win_unittest.cc', 'audio/win/audio_low_latency_output_win_unittest.cc', 'audio/win/audio_output_win_unittest.cc', + 'audio/win/audio_unified_win_unittest.cc', 'base/audio_bus_unittest.cc', 'base/audio_fifo_unittest.cc', 'base/audio_pull_fifo_unittest.cc', |