summaryrefslogtreecommitdiffstats
path: root/media/shared_memory_support.gypi
Commit message (Collapse)AuthorAgeFilesLines
* Switch audio synchronization from sleep() based to select() based.dalecurtis@chromium.org2013-10-231-2/+0
| | | | | | | | | | | | | | | Uses select() to efficiently wait for data from the renderer with a timeout instead of using sleep() or always assuming the renderer is ready. Fixes glitching and / or CPU hogging when the renderer isn't ready. BUG=179058, 180841, 260772, 269672, TEST=Swap from 44kHz to 16kHz html5 playback, ensure glitch free. Review URL: https://codereview.chromium.org/22886005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230515 0039d316-1c4b-4281-b951-d872f2087c98
* Add vector_math::FMUL. Replace audio_util::AdjustVolume.dalecurtis@chromium.org2013-04-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | Removes the integer based volume adjustment code from the melting pot that is audio_util in favor of an AudioBus::AdjustVolume() method which works on float. The driver behind the method is a new vector_math::FMUL method which is SSE optimized. Benchmarks put it in line with the vector_math::FMAC() method. Benchmarking 200000 iterations: FMUL_C took 1962.52ms. FMUL_SSE (unaligned size) took 493.03ms; which is 3.98x faster than FMUL_C. FMUL_SSE (aligned size) took 491.79ms; which is 3.99x faster than FMUL_C and 1.00x faster than FMUL_SSE (unaligned size). BUG=120319, 171540, 226447 TEST=new media_unittests. Review URL: https://chromiumcodereview.appspot.com/13726011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192905 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce shared_memory_support media target for PPAPI.dalecurtis@chromium.org2012-08-241-0/+23
| | | | | | | | | | | | | | | | | | Allows PPAPI to directly utilize shared memory utility code instead of duplicating it and CHECK'ing for equivalency. Required to eventually convert PPAPI to using an AudioBus and floats in PPB_Audio_Shared::Run(). http://crbug.com/114700 BUG=123203 TEST=unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152406 Review URL: https://chromiumcodereview.appspot.com/10826296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153262 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 152406 - Introduce shared_memory_support media target for PPAPI.dalecurtis@google.com2012-08-201-23/+0
| | | | | | | | | | | | | | | | | | | Allows PPAPI to directly utilize shared memory utility code instead of duplicating it and CHECK'ing for equivalency. Required to eventually convert PPAPI to using an AudioBus and floats in PPB_Audio_Shared::Run(). http://crbug.com/114700 BUG=123203 TEST=unittests Review URL: https://chromiumcodereview.appspot.com/10826296 TBR=dalecurtis@chromium.org Review URL: https://chromiumcodereview.appspot.com/10837350 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152431 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce shared_memory_support media target for PPAPI.dalecurtis@chromium.org2012-08-201-0/+23
Allows PPAPI to directly utilize shared memory utility code instead of duplicating it and CHECK'ing for equivalency. Required to eventually convert PPAPI to using an AudioBus and floats in PPB_Audio_Shared::Run(). http://crbug.com/114700 BUG=123203 TEST=unittests Review URL: https://chromiumcodereview.appspot.com/10826296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152406 0039d316-1c4b-4281-b951-d872f2087c98