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

Unified Diff: webrtc/modules/audio_processing/ns/include/noise_suppression.h

Issue 1175903002: audio_processing: Create now returns a pointer to the object (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed review comments Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/ns/include/noise_suppression.h
diff --git a/webrtc/modules/audio_processing/ns/include/noise_suppression.h b/webrtc/modules/audio_processing/ns/include/noise_suppression.h
index 14e686a8e393c5fad3335f32be0dce94c1b46587..41bf9aca41bb30c479bc1a0335a27137a7c95a8c 100644
--- a/webrtc/modules/audio_processing/ns/include/noise_suppression.h
+++ b/webrtc/modules/audio_processing/ns/include/noise_suppression.h
@@ -20,20 +20,9 @@ extern "C" {
#endif
/*
- * This function creates an instance to the noise suppression structure
- *
- * Input:
- * - NS_inst : Pointer to noise suppression instance that should be
- * created
- *
- * Output:
- * - NS_inst : Pointer to created noise suppression instance
- *
- * Return value : 0 - Ok
- * -1 - Error
+ * This function creates an instance of the floating point Noise Suppression.
*/
-int WebRtcNs_Create(NsHandle** NS_inst);
-
+NsHandle* WebRtcNs_Create();
/*
* This function frees the dynamic memory of a specified noise suppression

Powered by Google App Engine
This is Rietveld 408576698