| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 /* Returns a pointer to the noise estimate per frequency bin. The number of | 86 /* Returns a pointer to the noise estimate per frequency bin. The number of |
| 87 * frequency bins can be provided using WebRtcNsx_num_freq(). | 87 * frequency bins can be provided using WebRtcNsx_num_freq(). |
| 88 * | 88 * |
| 89 * Input | 89 * Input |
| 90 * - nsxInst : NSx instance. Needs to be initiated before call. | 90 * - nsxInst : NSx instance. Needs to be initiated before call. |
| 91 * | 91 * |
| 92 * Return value : Pointer to the noise estimate per frequency bin. | 92 * Return value : Pointer to the noise estimate per frequency bin. |
| 93 * Returns NULL if the input is a NULL pointer or an | 93 * Returns NULL if the input is a NULL pointer or an |
| 94 * uninitialized instance. | 94 * uninitialized instance. |
| 95 */ | 95 */ |
| 96 const uint32_t* WebRtcNsx_noise_estimate(const NsxHandle* nsxInst); | 96 const uint16_t* WebRtcNsx_noise_estimate(NsxHandle* nsxInst); |
| 97 | 97 |
| 98 /* Returns the number of frequency bins, which is the length of the noise | 98 /* Returns the number of frequency bins, which is the length of the noise |
| 99 * estimate for example. | 99 * estimate for example. |
| 100 * | 100 * |
| 101 * Return value : Number of frequency bins. | 101 * Return value : Number of frequency bins. |
| 102 */ | 102 */ |
| 103 size_t WebRtcNsx_num_freq(); | 103 size_t WebRtcNsx_num_freq(); |
| 104 | 104 |
| 105 #ifdef __cplusplus | 105 #ifdef __cplusplus |
| 106 } | 106 } |
| 107 #endif | 107 #endif |
| 108 | 108 |
| 109 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_NS_NOISE_SUPPRESSION_X_H_ | 109 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_NS_NOISE_SUPPRESSION_X_H_ |
| OLD | NEW |