diff options
Diffstat (limited to 'audio/out/ao_dsound.c')
-rw-r--r-- | audio/out/ao_dsound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_dsound.c b/audio/out/ao_dsound.c index 126989936e..da1742e077 100644 --- a/audio/out/ao_dsound.c +++ b/audio/out/ao_dsound.c @@ -585,7 +585,7 @@ static int get_space(struct ao *ao) int space = check_free_buffer_size(ao); if (space < p->min_free_space) return 0; - return (space - p->min_free_space) / ao->sstride; + return (space - p->min_free_space) / p->outburst * p->outburst / ao->sstride; } /** |