| 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 // Audio rendering unit utilizing audio output stream provided by browser | 5 // Audio rendering unit utilizing audio output stream provided by browser |
| 6 // process through IPC. | 6 // process through IPC. |
| 7 // | 7 // |
| 8 // Relationship of classes. | 8 // Relationship of classes. |
| 9 // | 9 // |
| 10 // AudioOutputController AudioOutputDevice | 10 // AudioOutputController AudioOutputDevice |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // | 58 // |
| 59 // Implementation notes: | 59 // Implementation notes: |
| 60 // - The user must call Stop() before deleting the class instance. | 60 // - The user must call Stop() before deleting the class instance. |
| 61 | 61 |
| 62 #ifndef MEDIA_AUDIO_AUDIO_OUTPUT_DEVICE_H_ | 62 #ifndef MEDIA_AUDIO_AUDIO_OUTPUT_DEVICE_H_ |
| 63 #define MEDIA_AUDIO_AUDIO_OUTPUT_DEVICE_H_ | 63 #define MEDIA_AUDIO_AUDIO_OUTPUT_DEVICE_H_ |
| 64 | 64 |
| 65 #include <string> | 65 #include <string> |
| 66 | 66 |
| 67 #include "base/bind.h" | 67 #include "base/bind.h" |
| 68 #include "base/macros.h" |
| 68 #include "base/memory/scoped_ptr.h" | 69 #include "base/memory/scoped_ptr.h" |
| 69 #include "base/memory/shared_memory.h" | 70 #include "base/memory/shared_memory.h" |
| 70 #include "base/synchronization/waitable_event.h" | 71 #include "base/synchronization/waitable_event.h" |
| 71 #include "media/audio/audio_device_thread.h" | 72 #include "media/audio/audio_device_thread.h" |
| 72 #include "media/audio/audio_output_ipc.h" | 73 #include "media/audio/audio_output_ipc.h" |
| 73 #include "media/audio/audio_parameters.h" | 74 #include "media/audio/audio_parameters.h" |
| 74 #include "media/audio/scoped_task_runner_observer.h" | 75 #include "media/audio/scoped_task_runner_observer.h" |
| 75 #include "media/base/audio_renderer_sink.h" | 76 #include "media/base/audio_renderer_sink.h" |
| 76 #include "media/base/media_export.h" | 77 #include "media/base/media_export.h" |
| 77 #include "media/base/output_device.h" | 78 #include "media/base/output_device.h" |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 base::WaitableEvent did_receive_auth_; | 205 base::WaitableEvent did_receive_auth_; |
| 205 media::AudioParameters output_params_; | 206 media::AudioParameters output_params_; |
| 206 OutputDeviceStatus device_status_; | 207 OutputDeviceStatus device_status_; |
| 207 | 208 |
| 208 DISALLOW_COPY_AND_ASSIGN(AudioOutputDevice); | 209 DISALLOW_COPY_AND_ASSIGN(AudioOutputDevice); |
| 209 }; | 210 }; |
| 210 | 211 |
| 211 } // namespace media | 212 } // namespace media |
| 212 | 213 |
| 213 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_DEVICE_H_ | 214 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_DEVICE_H_ |
| OLD | NEW |