Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio: aria: move aria header to aria module folder #8371

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/audio/aria/aria.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
//
// Author: Adrian Bonislawski <[email protected]>

#include <sof/audio/aria/aria.h>
#include <sof/audio/buffer.h>
#include <sof/audio/format.h>
#include <sof/audio/pipeline.h>
Expand All @@ -20,13 +19,13 @@
#include <rtos/string.h>
#include <sof/ut.h>
#include <sof/trace/trace.h>
#include <ipc4/aria.h>
#include <ipc4/fw_reg.h>
#include <ipc/dai.h>
#include <user/trace.h>
#include <errno.h>
#include <stddef.h>
#include <stdint.h>
#include "aria.h"

#define ARIA_SET_ATTENUATION 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

/**
* \file audio/aria/aria.h
* \file aria.h
* \brief Aria component header file
* \authors Adrian Bonislawski <[email protected]>
*/
Expand All @@ -16,6 +16,7 @@

#include <sof/audio/component_ext.h>
#include <sof/audio/ipc-config.h>
#include <sof/compiler_attributes.h>
#include <rtos/bit.h>
#include <sof/common.h>
#include <sof/trace/trace.h>
Expand Down Expand Up @@ -92,4 +93,9 @@ struct aria_data {

extern const uint8_t INDEX_TAB[];

struct ipc4_aria_module_cfg {
struct ipc4_base_module_cfg base_cfg;
uint32_t attenuation;
} __packed __aligned(8);

#endif /* __SOF_AUDIO_ARIA_H__ */
3 changes: 1 addition & 2 deletions src/audio/aria/aria_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
//
// Copyright(c) 2023 Intel Corporation. All rights reserved.

#include <sof/audio/aria/aria.h>
#include <ipc4/aria.h>
#include "aria.h"

#ifdef ARIA_GENERIC

Expand Down
2 changes: 1 addition & 1 deletion src/audio/aria/aria_hifi3.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// Copyright(c) 2021 Intel Corporation. All rights reserved.

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

#ifdef ARIA_HIFI3
#include <xtensa/config/defs.h>
Expand Down
34 changes: 0 additions & 34 deletions src/include/ipc4/aria.h

This file was deleted.