Skip to content

Commit

Permalink
crossover: move header file to module folder
Browse files Browse the repository at this point in the history
This is a clean up, purpose is declutter headers, toml files,
Readme.md etc per module basis, since today everything is scattered
in current code base.

Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
  • Loading branch information
btian1 committed Dec 20, 2023
1 parent b2fc3b8 commit f5e24e6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/audio/crossover/crossover.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <sof/audio/pipeline.h>
#include <sof/audio/ipc-config.h>
#include <sof/math/crossover_common.h>
#include <sof/audio/crossover/crossover.h>
#include <sof/common.h>
#include <rtos/panic.h>
#include <sof/ipc/msg.h>
Expand All @@ -30,13 +29,15 @@
#include <ipc/stream.h>
#include <ipc/topology.h>
#include <user/trace.h>
#include <user/crossover.h>
#include <user/eq.h>
#include <errno.h>
#include <stddef.h>
#include <stdint.h>
#include <limits.h>

#include "crossover_user.h"
#include "crossover.h"

LOG_MODULE_REGISTER(crossover, CONFIG_SOF_LOG_LEVEL);

/* 948c9ad1-806a-4131-ad6c-b2bda9e35a9f */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
#include <sof/math/iir_df2t.h>
#include <sof/math/crossover_common.h>
#include <sof/platform.h>
#include <user/crossover.h>
#include <stdint.h>

#include "crossover_user.h"

struct comp_buffer;
struct comp_dev;

Expand Down
3 changes: 2 additions & 1 deletion src/audio/crossover/crossover_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
#include <ipc/stream.h>
#include <sof/audio/module_adapter/module/module_interface.h>
#include <sof/audio/component.h>
#include <sof/audio/crossover/crossover.h>
#include <sof/audio/format.h>
#include <sof/math/iir_df2t.h>
#include <stdint.h>

#include "crossover.h"

/*
* \brief Splits x into two based on the coefficients set in the lp
* and hp filters. The output of the lp is in y1, the output of
Expand Down
File renamed without changes.

0 comments on commit f5e24e6

Please sign in to comment.