| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 printf("Could not setup bottleneck and frame-size for client %d\n", | 184 printf("Could not setup bottleneck and frame-size for client %d\n", |
| 185 clientCntr + 1); | 185 clientCntr + 1); |
| 186 return -1; | 186 return -1; |
| 187 } | 187 } |
| 188 } | 188 } |
| 189 } | 189 } |
| 190 | 190 |
| 191 | 191 |
| 192 short streamLen; | 192 short streamLen; |
| 193 short numSamplesRead; | 193 short numSamplesRead; |
| 194 short lenDecodedAudio; | 194 int lenDecodedAudio; |
| 195 short senderIdx; | 195 short senderIdx; |
| 196 short receiverIdx; | 196 short receiverIdx; |
| 197 | 197 |
| 198 printf("\n"); | 198 printf("\n"); |
| 199 short num10ms[MAX_NUM_CLIENTS]; | 199 short num10ms[MAX_NUM_CLIENTS]; |
| 200 memset(num10ms, 0, sizeof(short)*MAX_NUM_CLIENTS); | 200 memset(num10ms, 0, sizeof(short)*MAX_NUM_CLIENTS); |
| 201 FILE* arrivalTimeFile1 = fopen("arrivalTime1.dat", "wb"); | 201 FILE* arrivalTimeFile1 = fopen("arrivalTime1.dat", "wb"); |
| 202 FILE* arrivalTimeFile2 = fopen("arrivalTime2.dat", "wb"); | 202 FILE* arrivalTimeFile2 = fopen("arrivalTime2.dat", "wb"); |
| 203 short numPrint[MAX_NUM_CLIENTS]; | 203 short numPrint[MAX_NUM_CLIENTS]; |
| 204 memset(numPrint, 0, sizeof(short) * MAX_NUM_CLIENTS); | 204 memset(numPrint, 0, sizeof(short) * MAX_NUM_CLIENTS); |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 return -1; | 454 return -1; |
| 455 } | 455 } |
| 456 } | 456 } |
| 457 num10ms[senderIdx] = 0; | 457 num10ms[senderIdx] = 0; |
| 458 } | 458 } |
| 459 //} | 459 //} |
| 460 //} | 460 //} |
| 461 } | 461 } |
| 462 } | 462 } |
| 463 } | 463 } |
| OLD | NEW |