module-echo-cancel: Consolidate includes

This commit is contained in:
Arun Raghavan 2021-06-01 12:10:23 -04:00
parent 35e81fbfdc
commit 42196a331d

View file

@ -22,24 +22,35 @@
* DEALINGS IN THE SOFTWARE. * DEALINGS IN THE SOFTWARE.
*/ */
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "config.h" #include "config.h"
#include <spa/utils/result.h> #include <errno.h>
#include <spa/utils/string.h> #include <fcntl.h>
#include <spa/utils/json.h> #include <getopt.h>
#include <spa/param/profiler.h> #include <limits.h>
#include <math.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <spa/debug/pod.h> #include <spa/debug/pod.h>
#include <spa/param/audio/format-utils.h>
#include <spa/param/audio/raw.h>
#include <spa/param/profiler.h>
#include <spa/pod/builder.h>
#include <spa/utils/json.h>
#include <spa/utils/result.h>
#include <spa/utils/ringbuffer.h>
#include <spa/utils/string.h>
#include <pipewire/private.h> #include <pipewire/private.h>
#include <pipewire/impl.h> #include <pipewire/impl.h>
#include <pipewire/pipewire.h>
#include <extensions/profiler.h> #include <extensions/profiler.h>
#include "module-echo-cancel/echo-cancel.h" #include "module-echo-cancel/echo-cancel.h"
@ -61,18 +72,6 @@ static const struct spa_dict_item module_props[] = {
{ PW_KEY_MODULE_VERSION, PACKAGE_VERSION }, { PW_KEY_MODULE_VERSION, PACKAGE_VERSION },
}; };
#include <stdlib.h>
#include <signal.h>
#include <getopt.h>
#include <limits.h>
#include <math.h>
#include <spa/pod/builder.h>
#include <spa/param/audio/format-utils.h>
#include <spa/param/audio/raw.h>
#include <pipewire/pipewire.h>
struct impl { struct impl {
struct pw_context *context; struct pw_context *context;