blob: 938baf11b71f4be6c58535772306403931a23ea3 (
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
25
26
|
// 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_
#include "base/memory/scoped_ptr.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_
|