Index: media/base/audio_bus.h |
diff --git a/media/base/audio_bus.h b/media/base/audio_bus.h |
index 9d9563c1d27864c50c7dd0f7eb32c38ee4878278..73eb6e4cdc12773beda928545117dfa6ad0f7dec 100644 |
--- a/media/base/audio_bus.h |
+++ b/media/base/audio_bus.h |
@@ -92,6 +92,10 @@ class MEDIA_EXPORT AudioBus { |
void ZeroFrames(int frames); |
void ZeroFramesPartial(int start_frame, int frames); |
+ // Scale internal channel values by 0 <= |volume| <= 1. If an invalid value |
Chris Rogers
2013/04/05 21:31:35
please see comment in .cc about supporting other r
DaleCurtis
2013/04/05 23:52:30
Done.
|
+ // is provided, no adjustment is done. |
+ void AdjustVolume(float volume); |
+ |
private: |
friend struct base::DefaultDeleter<AudioBus>; |
~AudioBus(); |