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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 } else if (err_code == VE_TYPING_NOISE_OFF_WARNING) { | 74 } else if (err_code == VE_TYPING_NOISE_OFF_WARNING) { |
75 printf(" TYPING NOISE OFF DETECTED \n"); | 75 printf(" TYPING NOISE OFF DETECTED \n"); |
76 } else if (err_code == VE_RECEIVE_PACKET_TIMEOUT) { | 76 } else if (err_code == VE_RECEIVE_PACKET_TIMEOUT) { |
77 printf(" RECEIVE PACKET TIMEOUT \n"); | 77 printf(" RECEIVE PACKET TIMEOUT \n"); |
78 } else if (err_code == VE_PACKET_RECEIPT_RESTARTED) { | 78 } else if (err_code == VE_PACKET_RECEIPT_RESTARTED) { |
79 printf(" PACKET RECEIPT RESTARTED \n"); | 79 printf(" PACKET RECEIPT RESTARTED \n"); |
80 } else if (err_code == VE_RUNTIME_PLAY_WARNING) { | 80 } else if (err_code == VE_RUNTIME_PLAY_WARNING) { |
81 printf(" RUNTIME PLAY WARNING \n"); | 81 printf(" RUNTIME PLAY WARNING \n"); |
82 } else if (err_code == VE_RUNTIME_REC_WARNING) { | 82 } else if (err_code == VE_RUNTIME_REC_WARNING) { |
83 printf(" RUNTIME RECORD WARNING \n"); | 83 printf(" RUNTIME RECORD WARNING \n"); |
84 } else if (err_code == VE_SATURATION_WARNING) { | |
85 printf(" SATURATION WARNING \n"); | |
86 } else if (err_code == VE_RUNTIME_PLAY_ERROR) { | 84 } else if (err_code == VE_RUNTIME_PLAY_ERROR) { |
87 printf(" RUNTIME PLAY ERROR \n"); | 85 printf(" RUNTIME PLAY ERROR \n"); |
88 } else if (err_code == VE_RUNTIME_REC_ERROR) { | 86 } else if (err_code == VE_RUNTIME_REC_ERROR) { |
89 printf(" RUNTIME RECORD ERROR \n"); | 87 printf(" RUNTIME RECORD ERROR \n"); |
90 } else if (err_code == VE_REC_DEVICE_REMOVED) { | 88 } else if (err_code == VE_REC_DEVICE_REMOVED) { |
91 printf(" RECORD DEVICE REMOVED \n"); | 89 printf(" RECORD DEVICE REMOVED \n"); |
92 } | 90 } |
93 } | 91 } |
94 | 92 |
95 void SetStereoIfOpus(bool use_stereo, CodecInst* codec_params) { | 93 void SetStereoIfOpus(bool use_stereo, CodecInst* codec_params) { |
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 | 781 |
784 printf("Delete channels \n"); | 782 printf("Delete channels \n"); |
785 res = base1->DeleteChannel(chan); | 783 res = base1->DeleteChannel(chan); |
786 VALIDATE; | 784 VALIDATE; |
787 | 785 |
788 for (int i = 0; i < kMaxNumChannels; ++i) { | 786 for (int i = 0; i < kMaxNumChannels; ++i) { |
789 res = base1->DeleteChannel(channels[i]); | 787 res = base1->DeleteChannel(channels[i]); |
790 VALIDATE; | 788 VALIDATE; |
791 } | 789 } |
792 } | 790 } |
OLD | NEW |