Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1218)

Side by Side Diff: webrtc/base/physicalsocketserver.cc

Issue 2665693002: Moves channel-dependent audio input processing to separate encoder task queue (Closed)
Patch Set: BUILD changes Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/voice_engine/BUILD.gn » ('j') | webrtc/voice_engine/channel.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 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 #include "webrtc/base/physicalsocketserver.h" 10 #include "webrtc/base/physicalsocketserver.h"
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 default: 708 default:
709 // Assume that all other errors are just blocking errors, meaning the 709 // Assume that all other errors are just blocking errors, meaning the
710 // connection is still good but we just can't read from it right now. 710 // connection is still good but we just can't read from it right now.
711 // This should only happen when connecting (and at most once), because 711 // This should only happen when connecting (and at most once), because
712 // in all other cases this function is only called if the file 712 // in all other cases this function is only called if the file
713 // descriptor is already known to be in the readable state. However, 713 // descriptor is already known to be in the readable state. However,
714 // it's not necessary a problem if we spuriously interpret a 714 // it's not necessary a problem if we spuriously interpret a
715 // "connection lost"-type error as a blocking error, because typically 715 // "connection lost"-type error as a blocking error, because typically
716 // the next recv() will get EOF, so we'll still eventually notice that 716 // the next recv() will get EOF, so we'll still eventually notice that
717 // the socket is closed. 717 // the socket is closed.
718 LOG_ERR(LS_WARNING) << "Assuming benign blocking error"; 718 // LOG_ERR(LS_WARNING) << "Assuming benign blocking error";
719 return false; 719 return false;
720 } 720 }
721 } 721 }
722 } 722 }
723 723
724 #endif // WEBRTC_POSIX 724 #endif // WEBRTC_POSIX
725 725
726 uint32_t SocketDispatcher::GetRequestedEvents() { 726 uint32_t SocketDispatcher::GetRequestedEvents() {
727 return enabled_events_; 727 return enabled_events_;
728 } 728 }
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
1596 break; 1596 break;
1597 } 1597 }
1598 } 1598 }
1599 1599
1600 // Done 1600 // Done
1601 return true; 1601 return true;
1602 } 1602 }
1603 #endif // WEBRTC_WIN 1603 #endif // WEBRTC_WIN
1604 1604
1605 } // namespace rtc 1605 } // namespace rtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/voice_engine/BUILD.gn » ('j') | webrtc/voice_engine/channel.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698