openMSX
Main Page
Namespaces
Classes
Files
File List
File Members
sound
SoundDriver.hh
Go to the documentation of this file.
1
#ifndef SOUNDDRIVER_HH
2
#define SOUNDDRIVER_HH
3
4
namespace
openmsx {
5
6
class
SoundDriver
7
{
8
public
:
9
virtual
~SoundDriver
() {}
10
13
virtual
void
mute
() = 0;
14
17
virtual
void
unmute
() = 0;
18
22
virtual
unsigned
getFrequency
()
const
= 0;
23
27
virtual
unsigned
getSamples
()
const
= 0;
28
29
virtual
void
uploadBuffer
(
short
* buffer,
unsigned
len) = 0;
30
31
protected
:
32
SoundDriver
() {}
33
};
34
35
}
// namespace openmsx
36
37
#endif
Generated on Mon May 20 2013 12:17:00 for openMSX by
1.8.1.2