diff options
Diffstat (limited to 'audio/out/ao.c')
-rw-r--r-- | audio/out/ao.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c index 32ffc3d82d..52a38b63be 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -204,8 +204,6 @@ static struct ao *ao_init(bool probing, struct mpv_global *global, init_buffer_pre(ao); - ao->period_size = 1; - int r = ao->driver->init(ao); if (r < 0) { // Silly exception for coreaudio spdif redirection @@ -222,11 +220,6 @@ static struct ao *ao_init(bool probing, struct mpv_global *global, } ao->driver_initialized = true; - if (ao->period_size < 1) { - MP_ERR(ao, "Invalid period size set.\n"); - goto fail; - } - ao->sstride = af_fmt_to_bytes(ao->format); ao->num_planes = 1; if (af_fmt_is_planar(ao->format)) { |