ref: 016554564a92f8e2260681ce12783b4c90a52d23
dir: /src/i_winmusic.h/
// // Copyright(C) 2021 Roman Fomin // // This program 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 (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // DESCRIPTION: // Windows native MIDI #ifndef __I_WINMUSIC__ #define __I_WINMUSIC__ #ifdef _WIN32 #include "doomtype.h" boolean I_WIN_InitMusic(void); void I_WIN_PlaySong(boolean looping); void I_WIN_PauseSong(void); void I_WIN_ResumeSong(void); void I_WIN_StopSong(void); void I_WIN_SetMusicVolume(int volume); boolean I_WIN_RegisterSong(char* filename); void I_WIN_UnRegisterSong(void); void I_WIN_ShutdownMusic(void); #endif // _WIN32 #endif // __I_WINMUSIC__