From d58d4ec93c6a89cea3488689f12f6e7abd0617c9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Oct 2013 19:07:27 +0200 Subject: audio/out: remove useless info struct and redundant fields --- audio/out/ao_wasapi.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'audio/out/ao_wasapi.c') diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c index d5860ae3ea..47c6fcfdb7 100644 --- a/audio/out/ao_wasapi.c +++ b/audio/out/ao_wasapi.c @@ -1,6 +1,8 @@ /* * This file is part of mpv. * + * Original author: Jonathan Yong <10walls@gmail.com> + * * mpv is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -1369,12 +1371,8 @@ static float get_delay(struct ao *ao) #define OPT_BASE_STRUCT struct wasapi_state const struct ao_driver audio_out_wasapi = { - .info = &(const struct ao_info) { - "Windows WASAPI audio output (event mode)", - "wasapi", - "Jonathan Yong <10walls@gmail.com>", - "" - }, + .description = "Windows WASAPI audio output (event mode)", + .name = "wasapi", .init = init, .uninit = uninit, .control = control, -- cgit v1.2.3