diff options
author | Max Kellermann <max@duempel.org> | 2013-02-22 20:29:03 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-02-22 20:29:03 +0100 |
commit | 9ede4c5f3c5b72e8be2ee2e58ffdf36af019b607 (patch) | |
tree | 95a14714738f76ae5b9a07cfcf82b16f6a05aaab /src/output/WinmmOutputPlugin.hxx | |
parent | 214a526945170308c219ddae0227acea540e97dc (diff) | |
download | mpd-9ede4c5f3c5b72e8be2ee2e58ffdf36af019b607.tar.gz mpd-9ede4c5f3c5b72e8be2ee2e58ffdf36af019b607.tar.xz mpd-9ede4c5f3c5b72e8be2ee2e58ffdf36af019b607.zip |
{output,mixer}/winmm: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/output/WinmmOutputPlugin.hxx (renamed from src/output/winmm_output_plugin.h) | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/output/winmm_output_plugin.h b/src/output/WinmmOutputPlugin.hxx index 364356483..e8688782e 100644 --- a/src/output/winmm_output_plugin.h +++ b/src/output/WinmmOutputPlugin.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -17,21 +17,25 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MPD_WINMM_OUTPUT_PLUGIN_H -#define MPD_WINMM_OUTPUT_PLUGIN_H +#ifndef MPD_WINMM_OUTPUT_PLUGIN_HXX +#define MPD_WINMM_OUTPUT_PLUGIN_HXX #include "check.h" #ifdef ENABLE_WINMM_OUTPUT +#include "gcc.h" + #include <windows.h> #include <mmsystem.h> -struct winmm_output; +struct WinmmOutput; extern const struct audio_output_plugin winmm_output_plugin; -HWAVEOUT winmm_output_get_handle(struct winmm_output*); +gcc_pure +HWAVEOUT +winmm_output_get_handle(WinmmOutput *); #endif |