OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROMECAST_MEDIA_BASE_CONVERTERS_H_ |
| 6 #define CHROMECAST_MEDIA_BASE_CONVERTERS_H_ |
| 7 |
| 8 #include "chromecast/public/media/cast_audio_output_stream.h" |
| 9 #include "media/audio/audio_parameters.h" |
| 10 |
| 11 namespace chromecast { |
| 12 namespace media { |
| 13 |
| 14 // Converts ::media::AudioParameters to chromecast::media::AudioParameters. |
| 15 AudioParameters FromChromiumParams(const ::media::AudioParameters& in_params); |
| 16 |
| 17 // Converts chromecast::media::AudioParameters to ::media::AudioParameters. |
| 18 ::media::AudioParameters FromChromecastParams(const AudioParameters& in_params); |
| 19 |
| 20 } // namespace media |
| 21 } // namespace chromecast |
| 22 |
| 23 #endif // CHROMECAST_MEDIA_BASE_CONVERTERS_H_ |
OLD | NEW |