summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_openal.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/out/ao_openal.c')
-rw-r--r--audio/out/ao_openal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/ao_openal.c b/audio/out/ao_openal.c
index 9d22abb38e..715ffddceb 100644
--- a/audio/out/ao_openal.c
+++ b/audio/out/ao_openal.c
@@ -214,6 +214,7 @@ static int init(struct ao *ao)
}
p->chunk_size = CHUNK_SAMPLES * af_fmt_to_bytes(ao->format);
+ ao->period_size = CHUNK_SAMPLES;
return 0;
err_out: