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 #ifndef CHROME_BROWSER_COPRESENCE_CHROME_WHISPERNET_CONFIG_H_ | 5 #ifndef CHROME_BROWSER_COPRESENCE_CHROME_WHISPERNET_CONFIG_H_ |
6 #define CHROME_BROWSER_COPRESENCE_CHROME_WHISPERNET_CONFIG_H_ | 6 #define CHROME_BROWSER_COPRESENCE_CHROME_WHISPERNET_CONFIG_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 // Shared structs with whispernet. TODO(rkc): These will be removed once we can | 10 // Shared structs with whispernet. TODO(rkc): These will be removed once we can |
9 // get protobufs working with Nacl. At that point, we'll just pass in | 11 // get protobufs working with Nacl. At that point, we'll just pass in |
10 // config_data.proto to the whispernet nacl wrapper directly. | 12 // config_data.proto to the whispernet nacl wrapper directly. |
11 | 13 |
12 // We will be using fixed types in all these structures since they will be | 14 // We will be using fixed types in all these structures since they will be |
13 // stuffed into a string and then read on the other side via a completely | 15 // stuffed into a string and then read on the other side via a completely |
14 // different toolchain. | 16 // different toolchain. |
15 | 17 |
16 struct AudioDsssParams { | 18 struct AudioDsssParams { |
17 int64_t include_parity_symbol; | 19 int64_t include_parity_symbol; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 }; | 55 }; |
54 | 56 |
55 struct AudioParamData { | 57 struct AudioParamData { |
56 LoggerParam logger; | 58 LoggerParam logger; |
57 AudioDsssParams audio_dsss; | 59 AudioDsssParams audio_dsss; |
58 AudioDtmfParams audio_dtmf; | 60 AudioDtmfParams audio_dtmf; |
59 int64_t recording_channels; | 61 int64_t recording_channels; |
60 }; | 62 }; |
61 | 63 |
62 #endif // CHROME_BROWSER_COPRESENCE_CHROME_WHISPERNET_CONFIG_H_ | 64 #endif // CHROME_BROWSER_COPRESENCE_CHROME_WHISPERNET_CONFIG_H_ |
OLD | NEW |