Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / media / audio / audio_input_writer.h
blob700570b0318eedfecd29278bcb9f8d65a3004ae6
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.
5 #ifndef MEDIA_AUDIO_AUDIO_INPUT_WRITER_H_
6 #define MEDIA_AUDIO_AUDIO_INPUT_WRITER_H_
8 namespace media {
10 class AudioBus;
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() {}
18 // Write |data| to file.
19 virtual void Write(scoped_ptr<AudioBus> data) = 0;
22 } // namspace media
24 #endif // MEDIA_AUDIO_AUDIO_INPUT_WRITER_H_