| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 #include "media/audio/point.h" | 5 #include "media/base/audio_point.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| 11 #include "base/strings/string_split.h" | 11 #include "base/strings/string_split.h" |
| 12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
| 14 | 14 |
| 15 namespace media { | 15 namespace media { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 points.reserve(float_tokens.size() / 3); | 54 points.reserve(float_tokens.size() / 3); |
| 55 for (size_t i = 0; i < float_tokens.size(); i += 3) { | 55 for (size_t i = 0; i < float_tokens.size(); i += 3) { |
| 56 points.push_back( | 56 points.push_back( |
| 57 Point(float_tokens[i + 0], float_tokens[i + 1], float_tokens[i + 2])); | 57 Point(float_tokens[i + 0], float_tokens[i + 1], float_tokens[i + 2])); |
| 58 } | 58 } |
| 59 | 59 |
| 60 return points; | 60 return points; |
| 61 } | 61 } |
| 62 | 62 |
| 63 } // namespace media | 63 } // namespace media |
| OLD | NEW |