diff options
Diffstat (limited to 'audio/out/ao.c')
-rw-r--r-- | audio/out/ao.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c index 9ac42806e4..32ffc3d82d 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -236,7 +236,7 @@ static struct ao *ao_init(bool probing, struct mpv_global *global, } ao->bps = ao->samplerate * ao->sstride; - if (ao->device_buffer < 0 && ao->driver->write) { + if (ao->device_buffer <= 0 && ao->driver->write) { MP_ERR(ao, "Device buffer size not set.\n"); goto fail; } |