]> Shamusworld >> Repos - apple2/blob - src/sound.h
49dca4bf7ee5f40483ad994dcde16a7bb6a15947
[apple2] / src / sound.h
1 //
2 // SOUND.H
3 //
4 // by James L. Hammons
5 // (C) 2004 Underground Software
6 //
7
8 #ifndef __SOUND_H__
9 #define __SOUND_H__
10
11 #include <stdint.h>
12
13 // Global variables (exported)
14
15
16 // Functions
17
18 void SoundInit(void);
19 void SoundDone(void);
20 void SoundPause(void);
21 void SoundResume(void);
22 void ToggleSpeaker(uint64_t elapsedCycles);
23 void WriteSampleToBuffer(void);
24 //void AddToSoundTimeBase(uint64_t cycles);
25 void AdjustLastToggleCycles(uint64_t elapsedCycles);
26 void VolumeUp(void);
27 void VolumeDown(void);
28 uint8_t GetVolume(void);
29
30 #endif  // __SOUND_H__