summaryrefslogtreecommitdiffstats
path: root/media/build
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 19:45:47 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 19:45:47 +0000
commit7413f6a7f24f9038efb54b6a3407795e13780795 (patch)
tree7ab9203c732800d6e37ad13a502ed6a6a17d2d05 /media/build
parentfd92a5ebb136503324e896149de7f24cce19cbc1 (diff)
downloadchromium_src-7413f6a7f24f9038efb54b6a3407795e13780795.zip
chromium_src-7413f6a7f24f9038efb54b6a3407795e13780795.tar.gz
chromium_src-7413f6a7f24f9038efb54b6a3407795e13780795.tar.bz2
Checking in media::NullAudioRenderer, the equivalent of decoding to /dev/null.
NullAudioRenderer effectively uses an extra thread to "throw away" the audio data at a rate resembling normal playback speed. NullAudioRenderer can also be used in situations where the client has no audio device or we haven't written an audio implementation for a particular platform yet. It supports any type of MediaFormat as long as the mime type has been set to audio/x-uncompressed. Playback rate is also supported and NullAudioRenderer will slow down and speed up accordingly. Review URL: http://codereview.chromium.org/20339 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9780 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/build')
-rw-r--r--media/build/media.vcproj8
1 files changed, 8 insertions, 0 deletions
diff --git a/media/build/media.vcproj b/media/build/media.vcproj
index 8f9ce19..5b1dff7 100644
--- a/media/build/media.vcproj
+++ b/media/build/media.vcproj
@@ -204,6 +204,14 @@
RelativePath="..\filters\file_data_source.h"
>
</File>
+ <File
+ RelativePath="..\filters\null_audio_renderer.cc"
+ >
+ </File>
+ <File
+ RelativePath="..\filters\null_audio_renderer.h"
+ >
+ </File>
</Filter>
<Filter
Name="audio"