spa: aec: mark aec method tables const

This commit is contained in:
Barnabás Pőcze 2022-07-22 01:46:16 +02:00 committed by Wim Taymans
parent 51b5aafeaa
commit 44e7817702
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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,