| 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_WEBRTC_VOICE | 11 #ifdef HAVE_WEBRTC_VOICE | 
| 12 | 12 | 
| 13 #include "webrtc/media/engine/webrtcvoiceengine.h" | 13 #include "webrtc/media/engine/webrtcvoiceengine.h" | 
| 14 | 14 | 
| 15 #include <algorithm> | 15 #include <algorithm> | 
| 16 #include <cstdio> | 16 #include <cstdio> | 
| 17 #include <string> | 17 #include <string> | 
| 18 #include <vector> | 18 #include <vector> | 
| 19 | 19 | 
| 20 #include "webrtc/audio_sink.h" | 20 #include "webrtc/audio_sink.h" | 
| 21 #include "webrtc/base/arraysize.h" | 21 #include "webrtc/base/arraysize.h" | 
| 22 #include "webrtc/base/base64.h" | 22 #include "webrtc/base/base64.h" | 
| 23 #include "webrtc/base/byteorder.h" | 23 #include "webrtc/base/byteorder.h" | 
| 24 #include "webrtc/base/common.h" | 24 #include "webrtc/base/common.h" | 
|  | 25 #include "webrtc/base/constructormagic.h" | 
| 25 #include "webrtc/base/helpers.h" | 26 #include "webrtc/base/helpers.h" | 
| 26 #include "webrtc/base/logging.h" | 27 #include "webrtc/base/logging.h" | 
| 27 #include "webrtc/base/stringencode.h" | 28 #include "webrtc/base/stringencode.h" | 
| 28 #include "webrtc/base/stringutils.h" | 29 #include "webrtc/base/stringutils.h" | 
| 29 #include "webrtc/base/trace_event.h" | 30 #include "webrtc/base/trace_event.h" | 
| 30 #include "webrtc/call/rtc_event_log.h" | 31 #include "webrtc/call/rtc_event_log.h" | 
| 31 #include "webrtc/common.h" | 32 #include "webrtc/common.h" | 
| 32 #include "webrtc/media/base/audiosource.h" | 33 #include "webrtc/media/base/audiosource.h" | 
| 33 #include "webrtc/media/base/mediaconstants.h" | 34 #include "webrtc/media/base/mediaconstants.h" | 
| 34 #include "webrtc/media/base/streamparams.h" | 35 #include "webrtc/media/base/streamparams.h" | 
| (...skipping 2540 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2575     } | 2576     } | 
| 2576   } else { | 2577   } else { | 
| 2577     LOG(LS_INFO) << "Stopping playout for channel #" << channel; | 2578     LOG(LS_INFO) << "Stopping playout for channel #" << channel; | 
| 2578     engine()->voe()->base()->StopPlayout(channel); | 2579     engine()->voe()->base()->StopPlayout(channel); | 
| 2579   } | 2580   } | 
| 2580   return true; | 2581   return true; | 
| 2581 } | 2582 } | 
| 2582 }  // namespace cricket | 2583 }  // namespace cricket | 
| 2583 | 2584 | 
| 2584 #endif  // HAVE_WEBRTC_VOICE | 2585 #endif  // HAVE_WEBRTC_VOICE | 
| OLD | NEW | 
|---|