Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: media/audio/audio_input_device.h

Issue 1907973003: media: Move audio_parameters and audio_point to media/base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/audio/audio_input_controller.h ('k') | media/audio/audio_input_ipc.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // Low-latency audio capturing class utilizing audio input stream provided 5 // Low-latency audio capturing class utilizing audio input stream provided
6 // by a server (browser) process by use of an IPC interface. 6 // by a server (browser) process by use of an IPC interface.
7 // 7 //
8 // Relationship of classes: 8 // Relationship of classes:
9 // 9 //
10 // AudioInputController AudioInputDevice 10 // AudioInputController AudioInputDevice
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #define MEDIA_AUDIO_AUDIO_INPUT_DEVICE_H_ 54 #define MEDIA_AUDIO_AUDIO_INPUT_DEVICE_H_
55 55
56 #include <string> 56 #include <string>
57 57
58 #include "base/compiler_specific.h" 58 #include "base/compiler_specific.h"
59 #include "base/macros.h" 59 #include "base/macros.h"
60 #include "base/memory/scoped_ptr.h" 60 #include "base/memory/scoped_ptr.h"
61 #include "base/memory/shared_memory.h" 61 #include "base/memory/shared_memory.h"
62 #include "media/audio/audio_device_thread.h" 62 #include "media/audio/audio_device_thread.h"
63 #include "media/audio/audio_input_ipc.h" 63 #include "media/audio/audio_input_ipc.h"
64 #include "media/audio/audio_parameters.h"
65 #include "media/audio/scoped_task_runner_observer.h" 64 #include "media/audio/scoped_task_runner_observer.h"
66 #include "media/base/audio_capturer_source.h" 65 #include "media/base/audio_capturer_source.h"
66 #include "media/base/audio_parameters.h"
67 #include "media/base/media_export.h" 67 #include "media/base/media_export.h"
68 68
69 namespace media { 69 namespace media {
70 70
71 // TODO(henrika): This class is based on the AudioOutputDevice class and it has 71 // TODO(henrika): This class is based on the AudioOutputDevice class and it has
72 // many components in common. Investigate potential for re-factoring. 72 // many components in common. Investigate potential for re-factoring.
73 // See http://crbug.com/179597. 73 // See http://crbug.com/179597.
74 // TODO(henrika): Add support for event handling (e.g. OnStateChanged, 74 // TODO(henrika): Add support for event handling (e.g. OnStateChanged,
75 // OnCaptureStopped etc.) and ensure that we can deliver these notifications 75 // OnCaptureStopped etc.) and ensure that we can deliver these notifications
76 // to any clients using this class. 76 // to any clients using this class.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // TODO(miu): Replace this by changing AudioCapturerSource to accept the 166 // TODO(miu): Replace this by changing AudioCapturerSource to accept the
167 // callback via Start(). See http://crbug.com/151051 for details. 167 // callback via Start(). See http://crbug.com/151051 for details.
168 bool stopping_hack_; 168 bool stopping_hack_;
169 169
170 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioInputDevice); 170 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioInputDevice);
171 }; 171 };
172 172
173 } // namespace media 173 } // namespace media
174 174
175 #endif // MEDIA_AUDIO_AUDIO_INPUT_DEVICE_H_ 175 #endif // MEDIA_AUDIO_AUDIO_INPUT_DEVICE_H_
OLDNEW
« no previous file with comments | « media/audio/audio_input_controller.h ('k') | media/audio/audio_input_ipc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698