| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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 |
| 11 #ifdef HAVE_CONFIG_H | |
| 12 #include <config.h> | |
| 13 #endif | |
| 14 | |
| 15 #ifdef HAVE_WEBRTC_VOICE | 11 #ifdef HAVE_WEBRTC_VOICE |
| 16 | 12 |
| 17 #include "webrtc/media/engine/webrtcvoiceengine.h" | 13 #include "webrtc/media/engine/webrtcvoiceengine.h" |
| 18 | 14 |
| 19 #include <algorithm> | 15 #include <algorithm> |
| 20 #include <cstdio> | 16 #include <cstdio> |
| 21 #include <string> | 17 #include <string> |
| 22 #include <vector> | 18 #include <vector> |
| 23 | 19 |
| 24 #include "webrtc/audio_sink.h" | 20 #include "webrtc/audio_sink.h" |
| (...skipping 2523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2548 } | 2544 } |
| 2549 } else { | 2545 } else { |
| 2550 LOG(LS_INFO) << "Stopping playout for channel #" << channel; | 2546 LOG(LS_INFO) << "Stopping playout for channel #" << channel; |
| 2551 engine()->voe()->base()->StopPlayout(channel); | 2547 engine()->voe()->base()->StopPlayout(channel); |
| 2552 } | 2548 } |
| 2553 return true; | 2549 return true; |
| 2554 } | 2550 } |
| 2555 } // namespace cricket | 2551 } // namespace cricket |
| 2556 | 2552 |
| 2557 #endif // HAVE_WEBRTC_VOICE | 2553 #endif // HAVE_WEBRTC_VOICE |
| OLD | NEW |