| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Also moves kChannelOrderings extern into a function for export compatibility
with MSVC++ and the shared_memory_support target.
BUG=none
TEST=compiles.
Review URL: https://codereview.chromium.org/11198018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162502 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Lets us remove AudioUtil::DeinterleaveAudioChannel(). Modifies
AudioBus to add a new FromInterleavedPartial() function which
allows for streaming deinterleave. Also adds supporting method:
ZeroFramesPartial().
BUG=114700, 120319
TEST=unittests + WebAudio test page.
Review URL: https://chromiumcodereview.appspot.com/10871051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154099 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduces AudioBus::WrapMemory(...) for constructing an
AudioBus object via an existing block of memory.
Introduces AudioBus::CalculateMemorySize(...) for sizing
the shared memory without having to create an empty AudioBus.
Introduces AudioBus::FromInterleaved(...) and AudioBus::
ToInterleaved() for converting between formats. Fixes off
by one errors in our existing audio_util implmentations.
Removes InterleaveFloatToInt from audio_util.
Removes data(), data_size() methods in favor of CopyTo()
helper method combined with AudioBus::WrapMemory().
And of course adds new tests for all of the above.
This CL is an extraction of all AudioBus functionality
required to land the WIP CL which converts browser side to
use AudioBus: http://codereview.chromium.org/10832285/
BUG=114700, 120319
TEST=unit tests under ASAN.
Review URL: https://chromiumcodereview.appspot.com/10824304
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152494 0039d316-1c4b-4281-b951-d872f2087c98
|
|
AudioRenderSink::RenderCallback.
The first step towards unifying our pipeline on float. Adds a
new AudioBus class for managing audio channel data. Includes
helper methods for shared memory transfers and common tasks
such as zeroing the audio data. Inspired by WebKit's AudioBus.
BUG=114700
TEST=Unit tests.
Review URL: https://chromiumcodereview.appspot.com/10829183
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150660 0039d316-1c4b-4281-b951-d872f2087c98
|