| 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_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_SYNC_WRITER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_SYNC_WRITER_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_SYNC_WRITER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_SYNC_WRITER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <deque> | 11 #include <deque> |
| 12 | 12 |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
| 16 #include "base/process/process.h" | 16 #include "base/process/process.h" |
| 17 #include "base/sync_socket.h" | 17 #include "base/sync_socket.h" |
| 18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 20 #include "content/common/content_export.h" | 20 #include "content/common/content_export.h" |
| 21 #include "media/audio/audio_input_controller.h" | 21 #include "media/audio/audio_input_controller.h" |
| 22 #include "media/audio/audio_parameters.h" | |
| 23 #include "media/base/audio_bus.h" | 22 #include "media/base/audio_bus.h" |
| 23 #include "media/base/audio_parameters.h" |
| 24 | 24 |
| 25 #if defined(OS_POSIX) | 25 #if defined(OS_POSIX) |
| 26 #include "base/file_descriptor_posix.h" | 26 #include "base/file_descriptor_posix.h" |
| 27 #endif | 27 #endif |
| 28 | 28 |
| 29 namespace content { | 29 namespace content { |
| 30 | 30 |
| 31 // A AudioInputController::SyncWriter implementation using SyncSocket. This | 31 // A AudioInputController::SyncWriter implementation using SyncSocket. This |
| 32 // is used by AudioInputController to provide a low latency data source for | 32 // is used by AudioInputController to provide a low latency data source for |
| 33 // transmitting audio packets between the browser process and the renderer | 33 // transmitting audio packets between the browser process and the renderer |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 bool key_pressed; | 163 bool key_pressed; |
| 164 }; | 164 }; |
| 165 std::deque<OverflowParams> overflow_params_; | 165 std::deque<OverflowParams> overflow_params_; |
| 166 | 166 |
| 167 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioInputSyncWriter); | 167 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioInputSyncWriter); |
| 168 }; | 168 }; |
| 169 | 169 |
| 170 } // namespace content | 170 } // namespace content |
| 171 | 171 |
| 172 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_SYNC_WRITER_H_ | 172 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_SYNC_WRITER_H_ |
| OLD | NEW |