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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
102 * confused. | 102 * confused. |
103 * | 103 * |
104 * Input | 104 * Input |
105 * - handle : Noise suppression instance. | 105 * - handle : Noise suppression instance. |
106 * | 106 * |
107 * Return value : Prior speech probability in interval [0.0, 1.0]. | 107 * Return value : Prior speech probability in interval [0.0, 1.0]. |
108 * -1 - NULL pointer or uninitialized instance. | 108 * -1 - NULL pointer or uninitialized instance. |
109 */ | 109 */ |
110 float WebRtcNs_prior_speech_probability(NsHandle* handle); | 110 float WebRtcNs_prior_speech_probability(NsHandle* handle); |
111 | 111 |
112 /* Returns a pointer to the noise estimate per frequency bin. The number of | |
113 * frequency bins can be get using WebRtcNs_num_freq(). | |
114 * | |
115 * Input | |
116 * - handle : Noise suppression instance. | |
117 * | |
118 * Return value : Pointer to the noise estimate per frequency bin. | |
119 * NULL pointer - NULL pointer or uninitialized instance. | |
hlundin-webrtc
2016/02/08 10:12:32
"NULL pointer - NULL pointer"?
Suggest: "Returns N
aluebs-webrtc
2016/02/09 00:01:43
Done.
| |
120 */ | |
121 const float* WebRtcNs_noise_estimate(NsHandle* handle); | |
122 | |
123 /* Returns the number of frequency bins, which is the length of the noise | |
124 * estimate for example. | |
125 * | |
126 * Return value : Number of frequency bins. | |
127 */ | |
128 size_t WebRtcNs_num_freq(); | |
129 | |
112 #ifdef __cplusplus | 130 #ifdef __cplusplus |
113 } | 131 } |
114 #endif | 132 #endif |
115 | 133 |
116 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_NS_NOISE_SUPPRESSION_H_ | 134 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_NS_NOISE_SUPPRESSION_H_ |
OLD | NEW |