shithub: choc

ref: c74cb1b65f46fc2b3846238418bc6c8272d454a3
dir: /src/i_winmusic.h/

View raw version
//
// 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_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

#endif