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

[DoNotMerge][CI Run Only] CI Run for XRUN notification fix PR #9487

Closed
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
2 changes: 2 additions & 0 deletions app/boards/intel_adsp_ace15_mtpm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,5 @@ CONFIG_GOOGLE_RTC_AUDIO_PROCESSING_MOCK=y

CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL=y
CONFIG_TIMING_FUNCTIONS=y

CONFIG_XRUN_NOTIFICATIONS_ENABLE=y
2 changes: 1 addition & 1 deletion src/audio/chain_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ static struct comp_dev *chain_task_create(const struct comp_driver *drv,
goto error_cd;

#if CONFIG_XRUN_NOTIFICATIONS_ENABLE
cd->msg_xrun = ipc_msg_init(header.dat,
cd->msg_xrun = ipc_msg_init(cdma->primary.dat,
sizeof(struct ipc4_resource_event_data_notification));
if (!cd->msg_xrun)
goto error_cd;
Expand Down
4 changes: 4 additions & 0 deletions src/include/ipc4/notification.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,7 @@ struct ipc4_resource_event_data_notification {
/* Detailed event data */
union ipc4_resource_event_data event_data;
} __packed __aligned(8);

#if CONFIG_XRUN_NOTIFICATIONS_ENABLE
void xrun_notif_msg_init(struct ipc_msg *msg_xrun, uint32_t resource_id, uint32_t event_type);
#endif
1 change: 1 addition & 0 deletions src/ipc/ipc4/notification.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <sof/common.h>
#include <stdbool.h>
#include <ipc4/notification.h>
#include <sof/ipc/msg.h>

#if CONFIG_XRUN_NOTIFICATIONS_ENABLE
void xrun_notif_msg_init(struct ipc_msg *msg_xrun, uint32_t resource_id, uint32_t event_type)
Expand Down
Loading