summaryrefslogtreecommitdiffstats
path: root/media/audio
Commit message (Collapse)AuthorAgeFilesLines
* Add destruction to AudioManager singleton for windowscpu@google.com2009-02-242-6/+14
| | | | | | | | | -Current unit tests sufice Review URL: http://codereview.chromium.org/28036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10248 0039d316-1c4b-4281-b951-d872f2087c98
* Audio related IPC messages and handlers from browser tohclam@chromium.org2009-02-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | renderer 1. Added 4 IPC messages and corresponding handlers for audio: - RequestAudioPacket(int stream_id) Browser process is hungry for audio packet, notify renderer process to provide more. - NotifyAudioStreamCreated(int stream_id, SharedMemoryHandler buffer, int len) Notify stream created event and provide buffer for filling in the future. - NotifyAudioStreamStateChanged(int stream_id, enum state, nt info) The internal state of the audio stream has chagned, notify renderer process of the change. int info provides additional information of the change, e.g. platform specific error code. - NotifyAudioStreamVolume(int stream_id, double left, double right) Notify the current volume for the audio stream. 2. Added methods to RenderView for creating audio streams and delegate audio related requests to browser process with IPC. Now the registration and bookkeeping of AudioRendererImpl happens in RenderView (see audio_renderers_). The reason being that the code is almost just an base::IDMap that doesn't worth creating a new class. Review URL: http://codereview.chromium.org/20410 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10078 0039d316-1c4b-4281-b951-d872f2087c98
* IPC messages definitions for audio related requests fromhclam@chromium.org2009-02-161-3/+5
| | | | | | | | | | | | renderer to browser. Defined IPC messages that maps to methods exposed by AudioRendererHost that serves audio related requests. Also with handlers in ResourceMessageFilter for the newly added IPC messages. Review URL: http://codereview.chromium.org/21340 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9864 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r9861 to fix buildhclam@chromium.org2009-02-161-5/+3
| | | | | | | | TBR=? Review URL: http://codereview.chromium.org/21399 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9862 0039d316-1c4b-4281-b951-d872f2087c98
* IPC messages definitions for audio related requests fromhclam@chromium.org2009-02-161-3/+5
| | | | | | | | | | | | renderer to browser. Defined IPC messages that maps to methods exposed by AudioRendererHost that serves audio related requests. Also with handlers in ResourceMessageFilter for the newly added IPC messages. Review URL: http://codereview.chromium.org/21340 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9861 0039d316-1c4b-4281-b951-d872f2087c98
* Construct AudioRendererHost in BrowserRendererProcessHost, also constructhclam@chromium.org2009-02-113-0/+22
| | | | | | | | ResourceMessageFilter with pointer to it so we can delegate requests to it from IPC later. Review URL: http://codereview.chromium.org/20131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9551 0039d316-1c4b-4281-b951-d872f2087c98
* Do not runsome PCM audio tests on the botscpu@google.com2009-01-192-3/+25
| | | | | | | | | | | | | | - They are flaky when somebody RDPs into the bots. The system somehow installs an audio device on the fly that goes bad. - I think this is the issue as well on the trybots TBR=nsylvain Review URL: http://codereview.chromium.org/18197 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8272 0039d316-1c4b-4281-b951-d872f2087c98
* Testing to determine why some trybots have issues with some PCMWave testing.cpu@google.com2009-01-171-2/+3
| | | | | | | | TBR=maruel Review URL: http://codereview.chromium.org/18188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8254 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable the audio tests that fail in the botscpu@google.com2009-01-144-4/+24
| | | | | | | | | - Basically skip some tests if the OS reports there is no audio device. Review URL: http://codereview.chromium.org/16811 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8047 0039d316-1c4b-4281-b951-d872f2087c98
* disable failing media unit teststc@google.com2009-01-141-4/+4
| | | | | | | | | | these don't work on my machine either TBR=cpu Review URL: http://codereview.chromium.org/18039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8000 0039d316-1c4b-4281-b951-d872f2087c98
* Low level windows audio support (part 2 of 2)cpu@google.com2009-01-133-9/+569
| | | | | | | | | | | | | - Implementation using the WaveXXXX windows API - Unit tests for the implementation and for the previous CL that had the sine wave simple source. This is the harder one :) I tried to add comments to illuminate the thinking. Review URL: http://codereview.chromium.org/17403 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7988 0039d316-1c4b-4281-b951-d872f2087c98
* Low level windows audio support (part 1 of 2)cpu@google.com2009-01-133-33/+125
| | | | | | | | | | | | | - Windows specific changes to AudioManager Allows testing for mock streams This this the first part of the code that adds support for audio using waveXXX API. Since is relatively lot of code I will do two CLs, unfortunately the complexity is not evenly split. Review URL: http://codereview.chromium.org/17401 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7987 0039d316-1c4b-4281-b951-d872f2087c98
* A simple tone source useful for testing and troubleshootingcpu@google.com2009-01-052-0/+83
| | | | | | | | - Only windows 16 PCM mono implementation so far. Review URL: http://codereview.chromium.org/16226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7557 0039d316-1c4b-4281-b951-d872f2087c98
* Audio support drop 2cpu@google.com2008-12-203-1/+157
| | | | | | | | | | | - First part of Windows mock stream support - Windows unittests Scons modifications will come next Review URL: http://codereview.chromium.org/15087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7341 0039d316-1c4b-4281-b951-d872f2087c98
* Same as 14820 but moved into media foldercpu@google.com2008-12-181-0/+135
- Low level audio interface for 'raw' formats - Upcomming windows implementation Review URL: http://codereview.chromium.org/15047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7254 0039d316-1c4b-4281-b951-d872f2087c98