| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 FileAudioDevice(const int32_t id, | 41 FileAudioDevice(const int32_t id, |
| 42 const char* inputFilename, | 42 const char* inputFilename, |
| 43 const char* outputFilename); | 43 const char* outputFilename); |
| 44 virtual ~FileAudioDevice(); | 44 virtual ~FileAudioDevice(); |
| 45 | 45 |
| 46 // Retrieve the currently utilized audio layer | 46 // Retrieve the currently utilized audio layer |
| 47 int32_t ActiveAudioLayer( | 47 int32_t ActiveAudioLayer( |
| 48 AudioDeviceModule::AudioLayer& audioLayer) const override; | 48 AudioDeviceModule::AudioLayer& audioLayer) const override; |
| 49 | 49 |
| 50 // Main initializaton and termination | 50 // Main initializaton and termination |
| 51 int32_t Init() override; | 51 InitStatus Init() override; |
| 52 int32_t Terminate() override; | 52 int32_t Terminate() override; |
| 53 bool Initialized() const override; | 53 bool Initialized() const override; |
| 54 | 54 |
| 55 // Device enumeration | 55 // Device enumeration |
| 56 int16_t PlayoutDevices() override; | 56 int16_t PlayoutDevices() override; |
| 57 int16_t RecordingDevices() override; | 57 int16_t RecordingDevices() override; |
| 58 int32_t PlayoutDeviceName(uint16_t index, | 58 int32_t PlayoutDeviceName(uint16_t index, |
| 59 char name[kAdmMaxDeviceNameSize], | 59 char name[kAdmMaxDeviceNameSize], |
| 60 char guid[kAdmMaxGuidSize]) override; | 60 char guid[kAdmMaxGuidSize]) override; |
| 61 int32_t RecordingDeviceName(uint16_t index, | 61 int32_t RecordingDeviceName(uint16_t index, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 FileWrapper& _inputFile; | 195 FileWrapper& _inputFile; |
| 196 std::string _outputFilename; | 196 std::string _outputFilename; |
| 197 std::string _inputFilename; | 197 std::string _inputFilename; |
| 198 | 198 |
| 199 Clock* _clock; | 199 Clock* _clock; |
| 200 }; | 200 }; |
| 201 | 201 |
| 202 } // namespace webrtc | 202 } // namespace webrtc |
| 203 | 203 |
| 204 #endif // WEBRTC_AUDIO_DEVICE_FILE_AUDIO_DEVICE_H | 204 #endif // WEBRTC_AUDIO_DEVICE_FILE_AUDIO_DEVICE_H |
| OLD | NEW |