| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 class AudioDeviceMac : public AudioDeviceGeneric { | 61 class AudioDeviceMac : public AudioDeviceGeneric { |
| 62 public: | 62 public: |
| 63 AudioDeviceMac(const int32_t id); | 63 AudioDeviceMac(const int32_t id); |
| 64 ~AudioDeviceMac(); | 64 ~AudioDeviceMac(); |
| 65 | 65 |
| 66 // Retrieve the currently utilized audio layer | 66 // Retrieve the currently utilized audio layer |
| 67 virtual int32_t ActiveAudioLayer( | 67 virtual int32_t ActiveAudioLayer( |
| 68 AudioDeviceModule::AudioLayer& audioLayer) const; | 68 AudioDeviceModule::AudioLayer& audioLayer) const; |
| 69 | 69 |
| 70 // Main initializaton and termination | 70 // Main initializaton and termination |
| 71 virtual int32_t Init(); | 71 virtual InitStatus Init(); |
| 72 virtual int32_t Terminate(); | 72 virtual int32_t Terminate(); |
| 73 virtual bool Initialized() const; | 73 virtual bool Initialized() const; |
| 74 | 74 |
| 75 // Device enumeration | 75 // Device enumeration |
| 76 virtual int16_t PlayoutDevices(); | 76 virtual int16_t PlayoutDevices(); |
| 77 virtual int16_t RecordingDevices(); | 77 virtual int16_t RecordingDevices(); |
| 78 virtual int32_t PlayoutDeviceName(uint16_t index, | 78 virtual int32_t PlayoutDeviceName(uint16_t index, |
| 79 char name[kAdmMaxDeviceNameSize], | 79 char name[kAdmMaxDeviceNameSize], |
| 80 char guid[kAdmMaxGuidSize]); | 80 char guid[kAdmMaxGuidSize]); |
| 81 virtual int32_t RecordingDeviceName(uint16_t index, | 81 virtual int32_t RecordingDeviceName(uint16_t index, |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 // Typing detection | 375 // Typing detection |
| 376 // 0x5c is key "9", after that comes function keys. | 376 // 0x5c is key "9", after that comes function keys. |
| 377 bool prev_key_state_[0x5d]; | 377 bool prev_key_state_[0x5d]; |
| 378 | 378 |
| 379 int get_mic_volume_counter_ms_; | 379 int get_mic_volume_counter_ms_; |
| 380 }; | 380 }; |
| 381 | 381 |
| 382 } // namespace webrtc | 382 } // namespace webrtc |
| 383 | 383 |
| 384 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_MAC_AUDIO_DEVICE_MAC_H_ | 384 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_MAC_AUDIO_DEVICE_MAC_H_ |
| OLD | NEW |