summaryrefslogtreecommitdiff
path: root/src/pcm/pcm_dmix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm/pcm_dmix.c')
-rw-r--r--src/pcm/pcm_dmix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm/pcm_dmix.c b/src/pcm/pcm_dmix.c
index bb79ec61..5b967e86 100644
--- a/src/pcm/pcm_dmix.c
+++ b/src/pcm/pcm_dmix.c
@@ -869,7 +869,7 @@ static void snd_pcm_dmix_dump(snd_pcm_t *pcm, snd_output_t *out)
snd_pcm_dump(dmix->spcm, out);
}
-static snd_pcm_ops_t snd_pcm_dmix_ops = {
+static const snd_pcm_ops_t snd_pcm_dmix_ops = {
.close = snd_pcm_dmix_close,
.info = snd_pcm_direct_info,
.hw_refine = snd_pcm_direct_hw_refine,
@@ -884,7 +884,7 @@ static snd_pcm_ops_t snd_pcm_dmix_ops = {
.munmap = snd_pcm_direct_munmap,
};
-static snd_pcm_fast_ops_t snd_pcm_dmix_fast_ops = {
+static const snd_pcm_fast_ops_t snd_pcm_dmix_fast_ops = {
.status = snd_pcm_dmix_status,
.state = snd_pcm_dmix_state,
.hwsync = snd_pcm_dmix_hwsync,