2011-08-05 08:25:00 -04:00
|
|
|
/******************************************************************************
|
|
|
|
|
2012-08-02 14:39:25 -04:00
|
|
|
Coypright(C) Jonas 'Sortie' Termansen 2011, 2012.
|
2011-08-05 08:25:00 -04:00
|
|
|
|
|
|
|
This file is part of Sortix.
|
|
|
|
|
|
|
|
Sortix 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 3 of the License, or (at your option) any later
|
|
|
|
version.
|
|
|
|
|
|
|
|
Sortix 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.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
|
|
with Sortix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
sound.h
|
|
|
|
Implements a simple sound system.
|
|
|
|
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
#ifndef SORTIX_SOUND_H
|
|
|
|
#define SORTIX_SOUND_H
|
|
|
|
|
|
|
|
namespace Sortix
|
|
|
|
{
|
|
|
|
namespace Sound
|
|
|
|
{
|
2011-10-26 18:05:20 -04:00
|
|
|
void Init();
|
2011-08-05 08:25:00 -04:00
|
|
|
void Mute();
|
2012-09-21 13:25:22 -04:00
|
|
|
void Play(unsigned Frequency);
|
2011-08-05 08:25:00 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|