Skip to content

Commit

Permalink
Audio: up_down_mixer: move up_down_mixer header files to module folder
Browse files Browse the repository at this point in the history
This is a clean up, purpose is de-cluster 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 authored and lgirdwood committed Dec 5, 2023
1 parent a0ce6c8 commit b7dc3ba
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions src/audio/up_down_mixer/up_down_mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Author: Bartosz Kokoszko <bartoszx.kokoszko@intel.com>
// Author: Adrian Bonislawski <adrian.bonislawski@intel.com>

#include <sof/audio/coefficients/up_down_mixer/up_down_mixer.h>
#include <sof/audio/up_down_mixer/up_down_mixer.h>
#include <sof/audio/buffer.h>
#include <sof/audio/format.h>
#include <sof/audio/module_adapter/module/generic.h>
Expand All @@ -28,6 +26,9 @@
#include <stddef.h>
#include <stdint.h>

#include "up_down_mixer_coef.h"
#include "up_down_mixer.h"

LOG_MODULE_REGISTER(up_down_mixer, CONFIG_SOF_LOG_LEVEL);

/* these ids aligns windows driver requirement to support windows driver */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
#include <sof/audio/ipc-config.h>
#include <sof/common.h>
#include <ipc/stream.h>
#include <ipc4/up_down_mixer.h>
#include <ipc4/module.h>
#include <ipc4/base-config.h>
#include <stddef.h>
#include <stdint.h>

#include "up_down_mixer_ipc4.h"

/** This type is introduced for better readability. */
typedef const int32_t *downmix_coefficients;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Author: Bartosz Kokoszko <bartoszx.kokoszko@intel.com>
// Author: Adrian Bonislawski <adrian.bonislawski@intel.com>

#include <ipc4/up_down_mixer.h>
#include "up_down_mixer_ipc4.h"
#include <stdint.h>

#if CONFIG_COMP_UP_DOWN_MIXER
Expand Down
2 changes: 1 addition & 1 deletion src/audio/up_down_mixer/up_down_mixer_hifi3.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
// Author: Bartosz Kokoszko <bartoszx.kokoszko@intel.com>

#include <sof/audio/up_down_mixer/up_down_mixer.h>
#include "up_down_mixer.h"

#if defined(__XCC__) && XCHAL_HAVE_HIFI3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef __SOF_IPC4_UP_DOWN_MIXER_H__
#define __SOF_IPC4_UP_DOWN_MIXER_H__

#include "base-config.h"
#include <ipc4/base-config.h>

/**
* \brief bits field map which helps to describe each channel location a the data stream buffer
Expand Down

0 comments on commit b7dc3ba

Please sign in to comment.