OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMECAST_MEDIA_CMA_PIPELINE_AUDIO_PIPELINE_H_ | 5 #ifndef CHROMECAST_RENDERER_MEDIA_AUDIO_PIPELINE_H_ |
6 #define CHROMECAST_MEDIA_CMA_PIPELINE_AUDIO_PIPELINE_H_ | 6 #define CHROMECAST_RENDERER_MEDIA_AUDIO_PIPELINE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "chromecast/media/cma/pipeline/av_pipeline_client.h" | 9 #include "chromecast/media/cma/pipeline/av_pipeline_client.h" |
10 | 10 |
11 namespace chromecast { | 11 namespace chromecast { |
12 namespace media { | 12 namespace media { |
13 | 13 |
14 class AudioPipeline { | 14 class AudioPipeline { |
slan
2015/10/07 02:06:47
I don't think this class needs to exist anymore. S
kmackay
2015/10/07 16:37:58
Done.
| |
15 public: | 15 public: |
16 AudioPipeline(); | 16 AudioPipeline(); |
17 virtual ~AudioPipeline(); | 17 virtual ~AudioPipeline(); |
18 | 18 |
19 // Set the audio client. | 19 // Set the audio client. |
20 virtual void SetClient(const AvPipelineClient& client) = 0; | 20 virtual void SetClient(const AvPipelineClient& client) = 0; |
21 | 21 |
22 // Set the stream volume. | 22 // Set the stream volume. |
23 // - A value of 1.0 is the neutral value. | 23 // - A value of 1.0 is the neutral value. |
24 // - |volume|=0.0 mutes the stream. | 24 // - |volume|=0.0 mutes the stream. |
25 virtual void SetVolume(float volume) = 0; | 25 virtual void SetVolume(float volume) = 0; |
26 | 26 |
27 private: | 27 private: |
28 DISALLOW_COPY_AND_ASSIGN(AudioPipeline); | 28 DISALLOW_COPY_AND_ASSIGN(AudioPipeline); |
29 }; | 29 }; |
30 | 30 |
31 } // namespace media | 31 } // namespace media |
32 } // namespace chromecast | 32 } // namespace chromecast |
33 | 33 |
34 #endif // CHROMECAST_MEDIA_CMA_PIPELINE_AUDIO_PIPELINE_H_ | 34 #endif // CHROMECAST_RENDERER_MEDIA_AUDIO_PIPELINE_H_ |
OLD | NEW |