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

Side by Side Diff: webrtc/voice_engine/shared_data.h

Issue 1652983002: Remove mutable from rtc::CriticalSections. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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 | « webrtc/voice_engine/level_indicator.h ('k') | webrtc/voice_engine/statistics.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 int NumOfPlayingChannels(); 56 int NumOfPlayingChannels();
57 57
58 // Convenience methods for calling statistics().SetLastError(). 58 // Convenience methods for calling statistics().SetLastError().
59 void SetLastError(int32_t error) const; 59 void SetLastError(int32_t error) const;
60 void SetLastError(int32_t error, TraceLevel level) const; 60 void SetLastError(int32_t error, TraceLevel level) const;
61 void SetLastError(int32_t error, TraceLevel level, 61 void SetLastError(int32_t error, TraceLevel level,
62 const char* msg) const; 62 const char* msg) const;
63 63
64 protected: 64 protected:
65 const uint32_t _instanceId; 65 const uint32_t _instanceId;
66 mutable rtc::CriticalSection _apiCritPtr; 66 rtc::CriticalSection _apiCritPtr;
67 ChannelManager _channelManager; 67 ChannelManager _channelManager;
68 Statistics _engineStatistics; 68 Statistics _engineStatistics;
69 AudioDeviceModule* _audioDevicePtr; 69 AudioDeviceModule* _audioDevicePtr;
70 OutputMixer* _outputMixerPtr; 70 OutputMixer* _outputMixerPtr;
71 TransmitMixer* _transmitMixerPtr; 71 TransmitMixer* _transmitMixerPtr;
72 rtc::scoped_ptr<AudioProcessing> audioproc_; 72 rtc::scoped_ptr<AudioProcessing> audioproc_;
73 rtc::scoped_ptr<ProcessThread> _moduleProcessThreadPtr; 73 rtc::scoped_ptr<ProcessThread> _moduleProcessThreadPtr;
74 74
75 AudioDeviceModule::AudioLayer _audioDeviceLayer; 75 AudioDeviceModule::AudioLayer _audioDeviceLayer;
76 76
77 SharedData(const Config& config); 77 SharedData(const Config& config);
78 virtual ~SharedData(); 78 virtual ~SharedData();
79 }; 79 };
80 80
81 } // namespace voe 81 } // namespace voe
82 82
83 } // namespace webrtc 83 } // namespace webrtc
84 #endif // WEBRTC_VOICE_ENGINE_SHARED_DATA_H 84 #endif // WEBRTC_VOICE_ENGINE_SHARED_DATA_H
OLDNEW
« no previous file with comments | « webrtc/voice_engine/level_indicator.h ('k') | webrtc/voice_engine/statistics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698