mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05: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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct spa_audio_aec_methods impl_aec = {
|
static const struct spa_audio_aec_methods impl_aec = {
|
||||||
SPA_VERSION_AUDIO_AEC,
|
SPA_VERSION_AUDIO_AEC,
|
||||||
.init = null_init,
|
.init = null_init,
|
||||||
.run = null_run,
|
.run = null_run,
|
||||||
|
|
|
||||||
|
|
@ -158,7 +158,7 @@ static int webrtc_run(void *data, const float *rec[], const float *play[], float
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct spa_audio_aec_methods impl_aec = {
|
static const struct spa_audio_aec_methods impl_aec = {
|
||||||
SPA_VERSION_AUDIO_AEC_METHODS,
|
SPA_VERSION_AUDIO_AEC_METHODS,
|
||||||
.add_listener = NULL,
|
.add_listener = NULL,
|
||||||
.init = webrtc_init,
|
.init = webrtc_init,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue