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

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

Issue 1272223003: Implement writing mic audio input data to file for debugging purposes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 3 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.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_AUDIO_AUDIO_INPUT_WRITER_H_
6 #define MEDIA_AUDIO_AUDIO_INPUT_WRITER_H_
7
8 namespace media {
9
10 class AudioBus;
11
12 // A writer interface used by AudioInputController for writing audio data to
13 // file for debugging purposes.
14 class AudioInputWriter {
15 public:
16 virtual ~AudioInputWriter() {}
17
18 // Write |data| to file.
19 virtual void Write(scoped_ptr<AudioBus> data) = 0;
20 };
21
22 } // namspace media
23
24 #endif // MEDIA_AUDIO_AUDIO_INPUT_WRITER_H_
OLDNEW
« no previous file with comments | « media/audio/audio_input_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698