OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_COMMON_MEDIA_MEDIA_STREAM_OPTIONS_H_ | 5 #ifndef CONTENT_COMMON_MEDIA_MEDIA_STREAM_OPTIONS_H_ |
6 #define CONTENT_COMMON_MEDIA_MEDIA_STREAM_OPTIONS_H_ | 6 #define CONTENT_COMMON_MEDIA_MEDIA_STREAM_OPTIONS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 StreamDeviceInfo(); | 51 StreamDeviceInfo(); |
52 StreamDeviceInfo(MediaStreamType service_param, | 52 StreamDeviceInfo(MediaStreamType service_param, |
53 const std::string& name_param, | 53 const std::string& name_param, |
54 const std::string& device_param); | 54 const std::string& device_param); |
55 StreamDeviceInfo(MediaStreamType service_param, | 55 StreamDeviceInfo(MediaStreamType service_param, |
56 const std::string& name_param, | 56 const std::string& name_param, |
57 const std::string& device_param, | 57 const std::string& device_param, |
58 int sample_rate, | 58 int sample_rate, |
59 int channel_layout, | 59 int channel_layout, |
60 int frames_per_buffer); | 60 int frames_per_buffer, |
| 61 bool use_platform_aec); |
61 static bool IsEqual(const StreamDeviceInfo& first, | 62 static bool IsEqual(const StreamDeviceInfo& first, |
62 const StreamDeviceInfo& second); | 63 const StreamDeviceInfo& second); |
63 | 64 |
64 MediaStreamDevice device; | 65 MediaStreamDevice device; |
65 | 66 |
66 // Id for this capture session. Unique for all sessions of the same type. | 67 // Id for this capture session. Unique for all sessions of the same type. |
67 int session_id; | 68 int session_id; |
68 }; | 69 }; |
69 | 70 |
70 typedef std::vector<StreamDeviceInfo> StreamDeviceInfoArray; | 71 typedef std::vector<StreamDeviceInfo> StreamDeviceInfoArray; |
71 | 72 |
72 } // namespace content | 73 } // namespace content |
73 | 74 |
74 #endif // CONTENT_COMMON_MEDIA_MEDIA_STREAM_OPTIONS_H_ | 75 #endif // CONTENT_COMMON_MEDIA_MEDIA_STREAM_OPTIONS_H_ |
OLD | NEW |