summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-23 19:07:27 +0200
committerwm4 <wm4@nowhere>2013-10-23 19:30:02 +0200
commitd58d4ec93c6a89cea3488689f12f6e7abd0617c9 (patch)
tree0b8114a6989cceeccde41693160a5db411476fe5 /audio/out/ao_wasapi.c
parent6d44a4dfd1487611dd8ff3da4a6566e64c17106a (diff)
downloadmpv-d58d4ec93c6a89cea3488689f12f6e7abd0617c9.tar.bz2
mpv-d58d4ec93c6a89cea3488689f12f6e7abd0617c9.tar.xz
audio/out: remove useless info struct and redundant fields
Diffstat (limited to 'audio/out/ao_wasapi.c')
-rw-r--r--audio/out/ao_wasapi.c10
1 files changed, 4 insertions, 6 deletions
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,