Hhenrika@chromium.orgTrivial EOL fix (removed Windows CR-LF).
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Adds COM init to AudioManager thread to ensure that we can call COM APIs (e.g. ask for native sample rate in WASAPI) from this thread. BUG=none TEST=content_unittests on Windows Review URL: https://chromiumcodereview.appspot.com/10909271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157225 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Adds COM init to AudioManager thread to ensure that we can call COM APIs (e.g. ask for native sample rate in WASAPI) from this thread. BUG=none TEST=content_unittests on Windows Review URL: https://chromiumcodereview.appspot.com/10909271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157225 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Update uses of TimeDelta in audio code. R=tommi@chromium.org BUG=108171 Review URL: http://codereview.chromium.org/10029005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131711 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Trivial EOL fix (removed Windows CR-LF). BUG=none TEST=none Review URL: https://codereview.chromium.org/10964040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157946 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
This CL is an attempt to improve sanity in WASAPIAudioOutputStream where we today see odd crashes related to an illegal AudioSourceCallback pointer. BUG=150619 TEST=media_unittests and content_unittests Review URL: https://codereview.chromium.org/10970010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157756 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Allow audio system to handle synchronized low-latency audio I/O As an important part of WebAudio/WebRTC integration, we need to be able to process and analyse live audio. This change adds the ability to our audio system for handling synchronized audio input and output in the same callback (same thread) which is important for good performance and low-latency. As a part of this change, the audio IPC system now takes an optional |input_channels| argument in the CreateStream() message and associated browser-side code in AudioRendererHost::OnCreateStream(), etc. |input_channels| will be 0 during normal operation of audio output (and no input). But when synchronized audio I/O is needed, then a non-zero value can be passed in here. The |params| passed in represents both the input and output format, particularly the frames_per_buffer() and sample_rate(). AudioRendererSink now has an new InitializeIO() method which will allow the use of synchronized I/O with the |input_channels| argument. AudioRendererSink::RenderCallback now has a new RenderIO() which will be called instead of Render() in the case where a non-zero value is passed in for |input_channels|. BUG=none TEST=none (manual testing on early Mac OS X and Windows audio back-ends) Review URL: https://chromiumcodereview.appspot.com/10830268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156234 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Bypass audio resampler on XP / non-WASAPI wave out path. The non-WASAPI path (WaveOut) will automatically handle resampling and bits per sample differences, so skip invoking AudioOutputResampler's resampler and bits per sample adjustment code. BUG=148418 TEST=windows build / henrika TBR=scherkus Review URL: https://codereview.chromium.org/10913267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156801 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Pass through small buffer sizes without FIFO on Linux. TBR=dalecurtis@chromium.org BUG=150570 TEST=content_unittests, manual tests: WebRTC on linux works fine. Review URL: https://codereview.chromium.org/10937027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157542 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Allow audio system to handle synchronized low-latency audio I/O As an important part of WebAudio/WebRTC integration, we need to be able to process and analyse live audio. This change adds the ability to our audio system for handling synchronized audio input and output in the same callback (same thread) which is important for good performance and low-latency. As a part of this change, the audio IPC system now takes an optional |input_channels| argument in the CreateStream() message and associated browser-side code in AudioRendererHost::OnCreateStream(), etc. |input_channels| will be 0 during normal operation of audio output (and no input). But when synchronized audio I/O is needed, then a non-zero value can be passed in here. The |params| passed in represents both the input and output format, particularly the frames_per_buffer() and sample_rate(). AudioRendererSink now has an new InitializeIO() method which will allow the use of synchronized I/O with the |input_channels| argument. AudioRendererSink::RenderCallback now has a new RenderIO() which will be called instead of Render() in the case where a non-zero value is passed in for |input_channels|. BUG=none TEST=none (manual testing on early Mac OS X and Windows audio back-ends) Review URL: https://chromiumcodereview.appspot.com/10830268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156234 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Low-latency AudioInputStream implementation based on WASAPI for Windows. Requires Windows Vista or higher. BUG=none TEST=Attached unit test (requires undefined CHROME_HEADLESS) Review URL: http://codereview.chromium.org/8283032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106899 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Low-latency AudioInputStream implementation based on WASAPI for Windows. Requires Windows Vista or higher. BUG=none TEST=Attached unit test (requires undefined CHROME_HEADLESS) Review URL: http://codereview.chromium.org/8283032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106899 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Fix COM initialization on media thread. BUG=134624,136238 TEST=none TBR=tommi@chromium.org Review URL: https://chromiumcodereview.appspot.com/10744002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145682 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
On windows, create PCMWaveInAudioInputStream instance with correct device ID. BUG=None TEST=None Review URL: http://codereview.chromium.org/9566002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126779 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Uses DCHECK_GT() instead of DCHECK_LE(). BUG= TEST= TBR=tommi Review URL: https://chromiumcodereview.appspot.com/10820042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148683 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move media/audio files into media namespace (relanding) BUG=115187 TEST=compiles and runs without breaking audio tag; media_unittests, content_unittests TBR=scherkus,jam Review URL: https://chromiumcodereview.appspot.com/9968054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130288 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Switch OnMoreData() to use AudioBus. As titled, with this change we're now piping float data around the pipeline from end to end. This change is in preparation for browser side channel remixing and resampling. As a consequence of this change the shared memory now represents the contents of an AudioBus object, which is essentially audio data in a float planar format. BUG=114700 TEST=Should be no audible change. Ran all existing tests. Compiled ran WebAudio/HTML5/WebRTC on all platforms and PPAPI on Linux. Review URL: https://chromiumcodereview.appspot.com/10832285 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154951 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Switch OnMoreData() to use AudioBus. As titled, with this change we're now piping float data around the pipeline from end to end. This change is in preparation for browser side channel remixing and resampling. As a consequence of this change the shared memory now represents the contents of an AudioBus object, which is essentially audio data in a float planar format. BUG=114700 TEST=Should be no audible change. Ran all existing tests. Compiled ran WebAudio/HTML5/WebRTC on all platforms and PPAPI on Linux. Review URL: https://chromiumcodereview.appspot.com/10832285 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154951 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |