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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // For file recording | 95 // For file recording |
96 void PlayNotification(int32_t id, uint32_t durationMs); | 96 void PlayNotification(int32_t id, uint32_t durationMs); |
97 | 97 |
98 void RecordNotification(int32_t id, uint32_t durationMs); | 98 void RecordNotification(int32_t id, uint32_t durationMs); |
99 | 99 |
100 void PlayFileEnded(int32_t id); | 100 void PlayFileEnded(int32_t id); |
101 void RecordFileEnded(int32_t id); | 101 void RecordFileEnded(int32_t id); |
102 | 102 |
103 private: | 103 private: |
104 OutputMixer(uint32_t instanceId); | 104 OutputMixer(uint32_t instanceId); |
105 void APMProcessReverseStream(); | |
106 int InsertInbandDtmfTone(); | 105 int InsertInbandDtmfTone(); |
107 | 106 |
108 // uses | 107 // uses |
109 Statistics* _engineStatisticsPtr; | 108 Statistics* _engineStatisticsPtr; |
110 AudioProcessing* _audioProcessingModulePtr; | 109 AudioProcessing* _audioProcessingModulePtr; |
111 | 110 |
112 // owns | 111 // owns |
113 CriticalSectionWrapper& _callbackCritSect; | 112 CriticalSectionWrapper& _callbackCritSect; |
114 // protect the _outputFileRecorderPtr and _outputFileRecording | 113 // protect the _outputFileRecorderPtr and _outputFileRecording |
115 CriticalSectionWrapper& _fileCritSect; | 114 CriticalSectionWrapper& _fileCritSect; |
(...skipping 13 matching lines...) Expand all Loading... |
129 int _mixingFrequencyHz; | 128 int _mixingFrequencyHz; |
130 FileRecorder* _outputFileRecorderPtr; | 129 FileRecorder* _outputFileRecorderPtr; |
131 bool _outputFileRecording; | 130 bool _outputFileRecording; |
132 }; | 131 }; |
133 | 132 |
134 } // namespace voe | 133 } // namespace voe |
135 | 134 |
136 } // namespace werbtc | 135 } // namespace werbtc |
137 | 136 |
138 #endif // VOICE_ENGINE_OUTPUT_MIXER_H_ | 137 #endif // VOICE_ENGINE_OUTPUT_MIXER_H_ |
OLD | NEW |