milan-avb: cmd-audio-mappings: add command handler stub

This commit is contained in:
hackerman-kl 2026-04-25 11:09:11 +02:00 committed by Wim Taymans
parent d9f224b122
commit 2f4dbe3ca7
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,29 @@
/* SPDX-FileCopyrightText: Copyright © 2025 Alexandre Malki */
/* SPDX-License-Identifier: MIT */
#include "../aecp.h"
#include "../aecp-aem.h"
#include "cmd-audio-mappings.h"
#include "cmd-resp-helpers.h"
int handle_cmd_get_audio_map_milan_v12(struct aecp *aecp, int64_t now,
const void *m, int len)
{
pw_log_warn("%s: not yet implemented", __func__);
return reply_not_implemented(aecp, m, len);
}
int handle_cmd_add_audio_mappings_milan_v12(struct aecp *aecp, int64_t now,
const void *m, int len)
{
pw_log_warn("%s: not yet implemented", __func__);
return reply_not_implemented(aecp, m, len);
}
int handle_cmd_remove_audio_mappings_milan_v12(struct aecp *aecp, int64_t now,
const void *m, int len)
{
pw_log_warn("%s: not yet implemented", __func__);
return reply_not_implemented(aecp, m, len);
}

View file

@ -0,0 +1,18 @@
/* SPDX-FileCopyrightText: Copyright © 2025 Alexandre Malki */
/* SPDX-License-Identifier: MIT */
#ifndef __AVB_AECP_AEM_CMD_AUDIO_MAPPINGS_H__
#define __AVB_AECP_AEM_CMD_AUDIO_MAPPINGS_H__
#include "../aecp-aem.h"
int handle_cmd_get_audio_map_milan_v12(struct aecp *aecp, int64_t now,
const void *m, int len);
int handle_cmd_add_audio_mappings_milan_v12(struct aecp *aecp, int64_t now,
const void *m, int len);
int handle_cmd_remove_audio_mappings_milan_v12(struct aecp *aecp, int64_t now,
const void *m, int len);
#endif /* __AVB_AECP_AEM_CMD_AUDIO_MAPPINGS_H__ */