summaryrefslogtreecommitdiffstats
path: root/media/audio/audio_input_writer.h
blob: 700570b0318eedfecd29278bcb9f8d65a3004ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef MEDIA_AUDIO_AUDIO_INPUT_WRITER_H_
#define MEDIA_AUDIO_AUDIO_INPUT_WRITER_H_

namespace media {

class AudioBus;

// A writer interface used by AudioInputController for writing audio data to
// file for debugging purposes.
class AudioInputWriter {
 public:
  virtual ~AudioInputWriter() {}

  // Write |data| to file.
  virtual void Write(scoped_ptr<AudioBus> data) = 0;
};

}  // namspace media

#endif  // MEDIA_AUDIO_AUDIO_INPUT_WRITER_H_