OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 PPAPI_SHARED_IMPL_AUDIO_INPUT_IMPL_H_ | 5 #ifndef PPAPI_SHARED_IMPL_AUDIO_INPUT_IMPL_H_ |
6 #define PPAPI_SHARED_IMPL_AUDIO_INPUT_IMPL_H_ | 6 #define PPAPI_SHARED_IMPL_AUDIO_INPUT_IMPL_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "base/sync_socket.h" | 10 #include "base/sync_socket.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 // Callback to call when audio is ready to produce new samples. | 79 // Callback to call when audio is ready to produce new samples. |
80 PPB_AudioInput_Callback callback_; | 80 PPB_AudioInput_Callback callback_; |
81 | 81 |
82 // User data pointer passed verbatim to the callback function. | 82 // User data pointer passed verbatim to the callback function. |
83 void* user_data_; | 83 void* user_data_; |
84 }; | 84 }; |
85 | 85 |
86 } // namespace ppapi | 86 } // namespace ppapi |
87 | 87 |
88 #endif // PPAPI_SHARED_IMPL_AUDIO_INPUT_IMPL_H_ | 88 #endif // PPAPI_SHARED_IMPL_AUDIO_INPUT_IMPL_H_ |
OLD | NEW |