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

Unified Diff: webrtc/modules/audio_processing/ns/include/noise_suppression_x.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_x.h
diff --git a/webrtc/modules/audio_processing/ns/include/noise_suppression_x.h b/webrtc/modules/audio_processing/ns/include/noise_suppression_x.h
index 736cb23fa710d6a9ee13e8b7d48e82ca3509c21e..88fe4cd6358fa2a4b5b92914909154d40740bf76 100644
--- a/webrtc/modules/audio_processing/ns/include/noise_suppression_x.h
+++ b/webrtc/modules/audio_processing/ns/include/noise_suppression_x.h
@@ -20,20 +20,9 @@ extern "C" {
#endif
/*
- * This function creates an instance to the noise reduction structure
- *
- * Input:
- * - nsxInst : Pointer to noise reduction instance that should be
- * created
- *
- * Output:
- * - nsxInst : Pointer to created noise reduction instance
- *
- * Return value : 0 - Ok
- * -1 - Error
+ * This function creates an instance of the fixed point Noise Suppression.
*/
-int WebRtcNsx_Create(NsxHandle** nsxInst);
-
+NsxHandle* WebRtcNsx_Create();
/*
* This function frees the dynamic memory of a specified Noise Suppression
« no previous file with comments | « webrtc/modules/audio_processing/ns/include/noise_suppression.h ('k') | webrtc/modules/audio_processing/ns/noise_suppression.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698