summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-04-02 22:16:57 -0700
committerKevin Mitchell <kevmitch@gmail.com>2015-04-03 15:40:01 -0700
commitbf3e0bc1dad8a51e60494388e3559c9bb5f1d7e5 (patch)
tree62c0492f69e7d3a866cb5da7cfd00b1182d83233 /audio/out/ao_wasapi.c
parent46b9df9f9e1eec5cdaa03ab842b34cf1f2ad9ece (diff)
downloadmpv-bf3e0bc1dad8a51e60494388e3559c9bb5f1d7e5.tar.bz2
mpv-bf3e0bc1dad8a51e60494388e3559c9bb5f1d7e5.tar.xz
ao_wasapi: code formatting and alignment
Diffstat (limited to 'audio/out/ao_wasapi.c')
-rw-r--r--audio/out/ao_wasapi.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c
index 205a25d03e..c86e7311d7 100644
--- a/audio/out/ao_wasapi.c
+++ b/audio/out/ao_wasapi.c
@@ -244,10 +244,10 @@ static int init(struct ao *ao)
MP_WARN(ao, "Error loading thread priority functions\n");
state->init_done = CreateEventW(NULL, FALSE, FALSE, NULL);
- state->hUninit = CreateEventW(NULL, FALSE, FALSE, NULL);
- state->hFeed = CreateEventW(NULL, FALSE, FALSE, NULL); /* for wasapi event mode */
- state->hResume = CreateEventW(NULL, FALSE, FALSE, NULL);
- state->hReset = CreateEventW(NULL, FALSE, FALSE, NULL);
+ state->hUninit = CreateEventW(NULL, FALSE, FALSE, NULL);
+ state->hFeed = CreateEventW(NULL, FALSE, FALSE, NULL); /* for wasapi event mode */
+ state->hResume = CreateEventW(NULL, FALSE, FALSE, NULL);
+ state->hReset = CreateEventW(NULL, FALSE, FALSE, NULL);
if (!state->init_done || !state->hFeed || !state->hUninit ||
!state->hResume || !state->hReset)
{
@@ -400,18 +400,18 @@ static int hotplug_init(struct ao *ao)
#define OPT_BASE_STRUCT struct wasapi_state
const struct ao_driver audio_out_wasapi = {
- .description = "Windows WASAPI audio output (event mode)",
- .name = "wasapi",
- .init = init,
- .uninit = uninit,
- .control = control,
- .reset = audio_reset,
- .resume = audio_resume,
- .list_devs = wasapi_list_devs,
- .hotplug_init = hotplug_init,
+ .description = "Windows WASAPI audio output (event mode)",
+ .name = "wasapi",
+ .init = init,
+ .uninit = uninit,
+ .control = control,
+ .reset = audio_reset,
+ .resume = audio_resume,
+ .list_devs = wasapi_list_devs,
+ .hotplug_init = hotplug_init,
.hotplug_uninit = hotplug_uninit,
- .priv_size = sizeof(wasapi_state),
- .options = (const struct m_option[]) {
+ .priv_size = sizeof(wasapi_state),
+ .options = (const struct m_option[]) {
OPT_FLAG("exclusive", opt_exclusive, 0),
OPT_STRING("device", opt_device, 0),
{NULL},