| 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 MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_ | 5 #ifndef MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_ |
| 6 #define MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_ | 6 #define MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 // audio track element fields. | 31 // audio track element fields. |
| 32 bool InitializeConfig(const std::string& codec_id, | 32 bool InitializeConfig(const std::string& codec_id, |
| 33 const std::vector<uint8>& codec_private, | 33 const std::vector<uint8>& codec_private, |
| 34 const int64 seek_preroll, | 34 const int64 seek_preroll, |
| 35 const int64 codec_delay, | 35 const int64 codec_delay, |
| 36 bool is_encrypted, | 36 bool is_encrypted, |
| 37 AudioDecoderConfig* config); | 37 AudioDecoderConfig* config); |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 // WebMParserClient implementation. | 40 // WebMParserClient implementation. |
| 41 virtual bool OnUInt(int id, int64 val) OVERRIDE; | 41 virtual bool OnUInt(int id, int64 val) override; |
| 42 virtual bool OnFloat(int id, double val) OVERRIDE; | 42 virtual bool OnFloat(int id, double val) override; |
| 43 | 43 |
| 44 LogCB log_cb_; | 44 LogCB log_cb_; |
| 45 int channels_; | 45 int channels_; |
| 46 double samples_per_second_; | 46 double samples_per_second_; |
| 47 double output_samples_per_second_; | 47 double output_samples_per_second_; |
| 48 | 48 |
| 49 DISALLOW_COPY_AND_ASSIGN(WebMAudioClient); | 49 DISALLOW_COPY_AND_ASSIGN(WebMAudioClient); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace media | 52 } // namespace media |
| 53 | 53 |
| 54 #endif // MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_ | 54 #endif // MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_ |
| OLD | NEW |