--- hatari/src/includes/audio.h 2019/04/01 07:13:04 1.1.1.6 +++ hatari/src/includes/audio.h 2019/04/09 08:53:08 1.1.1.11 @@ -1,26 +1,20 @@ /* Hatari - audio.h - This file is distributed under the GNU Public License, version 2 or at - your option any later version. Read the file gpl.txt for details. + This file is distributed under the GNU General Public License, version 2 + or at your option any later version. Read the file gpl.txt for details. */ #ifndef HATARI_AUDIO_H #define HATARI_AUDIO_H -/* Frequency index */ -enum -{ - FREQ_11Khz, - FREQ_22Khz, - FREQ_44Khz -}; - -extern const int SoundPlayBackFrequencies[]; -extern BOOL bSoundWorking; -extern int OutputAudioFreqIndex; +extern int nAudioFrequency; +extern bool bSoundWorking; extern int SoundBufferSize; extern int CompleteSndBufIdx; +extern int SdlAudioBufferSize; +extern int pulse_swallowing_count; + extern void Audio_Init(void); extern void Audio_UnInit(void); @@ -28,6 +22,6 @@ extern void Audio_Lock(void); extern void Audio_Unlock(void); extern void Audio_FreeSoundBuffer(void); extern void Audio_SetOutputAudioFreq(int Frequency); -extern void Audio_EnableAudio(BOOL bEnable); +extern void Audio_EnableAudio(bool bEnable); #endif /* HATARI_AUDIO_H */