forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a stub for the library so fuzzers and CI can compile the adapter Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
- Loading branch information
1 parent
266a8f8
commit c5f00bf
Showing
4 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
// | ||
// Copyright(c) 2023 Google LLC. All rights reserved. | ||
// | ||
// Author: Curtis Malainey <cujomalainey@chromium.org> | ||
// | ||
|
||
#include "dsm_api_public.h" | ||
|
||
enum DSM_API_MESSAGE dsm_api_get_mem(struct dsm_api_memory_size_ext_t *iopmmemparam, | ||
int iparamsize) | ||
{ | ||
return DSM_API_OK; | ||
} | ||
|
||
enum DSM_API_MESSAGE dsm_api_init(void *ipmodulehandler, | ||
struct dsm_api_init_ext_t *iopparamstruct, | ||
int iparamsize) | ||
{ | ||
return DSM_API_OK; | ||
} | ||
|
||
enum DSM_API_MESSAGE dsm_api_ff_process(void *ipmodulehandler, | ||
int channelmask, | ||
short *ibufferorg, | ||
int *ipnrsamples, | ||
short *obufferorg, | ||
int *opnrsamples) | ||
{ | ||
return DSM_API_OK; | ||
} | ||
|
||
enum DSM_API_MESSAGE dsm_api_fb_process(void *ipmodulehandler, | ||
int ichannelmask, | ||
short *icurrbuffer, | ||
short *ivoltbuffer, | ||
int *iopnrsamples) | ||
{ | ||
return DSM_API_OK; | ||
} | ||
|
||
enum DSM_API_MESSAGE dsm_api_set_params(void *ipmodulehandler, | ||
int icommandnumber, void *ipparamsbuffer) | ||
{ | ||
return DSM_API_OK; | ||
} | ||
|
||
enum DSM_API_MESSAGE dsm_api_get_params(void *ipmodulehandler, | ||
int icommandnumber, void *opparams) | ||
{ | ||
return DSM_API_OK; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters