| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef COMPONENTS_AUDIO_MODEM_AUDIO_RECORDER_H_ | 5 #ifndef COMPONENTS_AUDIO_MODEM_AUDIO_RECORDER_H_ |
| 6 #define COMPONENTS_AUDIO_MODEM_AUDIO_RECORDER_H_ | 6 #define COMPONENTS_AUDIO_MODEM_AUDIO_RECORDER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/gtest_prod_util.h" | |
| 11 #include "base/macros.h" | 10 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 13 #include "media/audio/audio_io.h" | 12 #include "media/audio/audio_io.h" |
| 14 #include "media/audio/audio_parameters.h" | 13 #include "media/audio/audio_parameters.h" |
| 15 #include "media/base/audio_converter.h" | 14 #include "media/base/audio_converter.h" |
| 16 | 15 |
| 17 namespace audio_modem { | 16 namespace audio_modem { |
| 18 | 17 |
| 19 // The AudioRecorder class will record audio until told to stop. | 18 // The AudioRecorder class will record audio until told to stop. |
| 20 class AudioRecorder { | 19 class AudioRecorder { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 32 // Cleans up and deletes this object. Do not use object after this call. | 31 // Cleans up and deletes this object. Do not use object after this call. |
| 33 virtual void Finalize() = 0; | 32 virtual void Finalize() = 0; |
| 34 | 33 |
| 35 protected: | 34 protected: |
| 36 virtual ~AudioRecorder() {} | 35 virtual ~AudioRecorder() {} |
| 37 }; | 36 }; |
| 38 | 37 |
| 39 } // namespace audio_modem | 38 } // namespace audio_modem |
| 40 | 39 |
| 41 #endif // COMPONENTS_AUDIO_MODEM_AUDIO_RECORDER_H_ | 40 #endif // COMPONENTS_AUDIO_MODEM_AUDIO_RECORDER_H_ |
| OLD | NEW |