| 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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 std::ostringstream test_number_str; | 470 std::ostringstream test_number_str; |
| 471 test_number_str << test_number; | 471 test_number_str << test_number; |
| 472 filename += "testallcodecs_out_"; | 472 filename += "testallcodecs_out_"; |
| 473 filename += test_number_str.str(); | 473 filename += test_number_str.str(); |
| 474 filename += ".pcm"; | 474 filename += ".pcm"; |
| 475 outfile_b_.Open(filename, 32000, "wb"); | 475 outfile_b_.Open(filename, 32000, "wb"); |
| 476 } | 476 } |
| 477 | 477 |
| 478 void TestAllCodecs::DisplaySendReceiveCodec() { | 478 void TestAllCodecs::DisplaySendReceiveCodec() { |
| 479 CodecInst my_codec_param; | 479 CodecInst my_codec_param; |
| 480 acm_a_->SendCodec(&my_codec_param); | 480 printf("%s -> ", acm_a_->SendCodec()->plname); |
| 481 printf("%s -> ", my_codec_param.plname); | |
| 482 acm_b_->ReceiveCodec(&my_codec_param); | 481 acm_b_->ReceiveCodec(&my_codec_param); |
| 483 printf("%s\n", my_codec_param.plname); | 482 printf("%s\n", my_codec_param.plname); |
| 484 } | 483 } |
| 485 | 484 |
| 486 } // namespace webrtc | 485 } // namespace webrtc |
| OLD | NEW |