ref: 88fe15083f4d55936c6d7708e35d65facd601a5c
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 #ifdef _WIN32 #ifndef __I_WINMUSIC__ #define __I_WINMUSIC__ #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); extern int winmm_reverb_level; extern int winmm_chorus_level; #endif #endif