mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa: aec: mark aec method tables const
This commit is contained in:
parent
51b5aafeaa
commit
44e7817702
2 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ static int null_run(void *object, const float *rec[], const float *play[], float
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct spa_audio_aec_methods impl_aec = {
|
||||
static const struct spa_audio_aec_methods impl_aec = {
|
||||
SPA_VERSION_AUDIO_AEC,
|
||||
.init = null_init,
|
||||
.run = null_run,
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ static int webrtc_run(void *data, const float *rec[], const float *play[], float
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct spa_audio_aec_methods impl_aec = {
|
||||
static const struct spa_audio_aec_methods impl_aec = {
|
||||
SPA_VERSION_AUDIO_AEC_METHODS,
|
||||
.add_listener = NULL,
|
||||
.init = webrtc_init,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue