|
|
1.1 root 1: /*
1.1.1.4 root 2: Hatari - audio.h
3:
4: This file is distributed under the GNU Public License, version 2 or at
5: your option any later version. Read the file gpl.txt for details.
1.1 root 6: */
7:
1.1.1.4 root 8: #ifndef HATARI_AUDIO_H
9: #define HATARI_AUDIO_H
10:
11: /* Frequency index */
12: enum
13: {
1.1 root 14: FREQ_11Khz,
15: FREQ_22Khz,
16: FREQ_44Khz
17: };
18:
19: extern int SoundPlayBackFrequencies[];
1.1.1.2 root 20: extern BOOL bSoundWorking;
1.1 root 21: extern int OutputAudioFreqIndex;
1.1.1.4 root 22: extern int SoundBufferSize;
23: extern int CompleteSndBufIdx;
1.1 root 24:
1.1.1.2 root 25: extern void Audio_Init(void);
26: extern void Audio_UnInit(void);
1.1.1.4 root 27: extern void Audio_Lock(void);
28: extern void Audio_Unlock(void);
1.1.1.2 root 29: extern void Audio_FreeSoundBuffer(void);
30: extern void Audio_SetOutputAudioFreq(int Frequency);
1.1.1.4 root 31: extern void Audio_EnableAudio(BOOL bEnable);
32:
33: #endif /* HATARI_AUDIO_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.