mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 22:05:38 +00:00
11d1d61bc2
- Removed TRUE and FALSE, changed to 'true' and 'false' keywords.
32 lines
604 B
C
Executable file
32 lines
604 B
C
Executable file
#ifndef INCLUDED_AUDIO_H
|
|
#define INCLUDED_AUDIO_H
|
|
|
|
/*
|
|
* Audio.h
|
|
*
|
|
* Function-based interface for audio output.
|
|
*/
|
|
|
|
/*
|
|
* OpenAudio()
|
|
*
|
|
* Initializes the audio system.
|
|
*/
|
|
extern bool OpenAudio();
|
|
|
|
/*
|
|
* OutputAudio(unsigned numSamples, *INT16 leftBuffer, *INT16 rightBuffer)
|
|
*
|
|
* Sends a chunk of two-channel audio with the given number of samples to the audio system.
|
|
*/
|
|
extern void OutputAudio(unsigned numSamples, INT16 *leftBuffer, INT16 *rightBuffer);
|
|
|
|
/*
|
|
* CloseAudio()
|
|
*
|
|
* Shuts down the audio system.
|
|
*/
|
|
extern void CloseAudio();
|
|
|
|
#endif // INCLUDED_AUDIO_H
|