robmcmullen-apple2/src/sound.h

32 lines
471 B
C
Raw Normal View History

2007-05-29 03:06:33 +00:00
//
// SOUND.H
//
// by James Hammons
// (C) 2004-2018 Underground Software
2007-05-29 03:06:33 +00:00
//
#ifndef __SOUND_H__
#define __SOUND_H__
#include <stdint.h>
2007-05-29 03:06:33 +00:00
#define SAMPLE_RATE (48000.0)
2007-05-29 03:06:33 +00:00
// Global variables (exported)
// Exported functions
2007-05-29 03:06:33 +00:00
void SoundInit(void);
void SoundDone(void);
void SoundPause(void);
void SoundResume(void);
void ToggleSpeaker(void);
void WriteSampleToBuffer(void);
void VolumeUp(void);
void VolumeDown(void);
uint8_t GetVolume(void);
2007-05-29 03:06:33 +00:00
#endif // __SOUND_H__