1 |
|
/* |
2 |
|
* audio.h - Audio support |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2001 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
25 |
|
|
26 |
|
extern bool AudioAvailable; // Flag: audio output available (from the software point of view) |
27 |
|
|
28 |
+ |
extern int16 SoundInOpen(uint32 pb, uint32 dce); |
29 |
+ |
extern int16 SoundInPrime(uint32 pb, uint32 dce); |
30 |
+ |
extern int16 SoundInControl(uint32 pb, uint32 dce); |
31 |
+ |
extern int16 SoundInStatus(uint32 pb, uint32 dce); |
32 |
+ |
extern int16 SoundInClose(uint32 pb, uint32 dce); |
33 |
+ |
|
34 |
|
// System specific and internal functions/data |
35 |
|
extern void AudioInit(void); |
36 |
|
extern void AudioExit(void); |
37 |
+ |
extern void AudioReset(void); |
38 |
|
|
39 |
|
extern void AudioInterrupt(void); |
40 |
|
|
47 |
|
|
48 |
|
extern bool audio_get_main_mute(void); |
49 |
|
extern uint32 audio_get_main_volume(void); |
50 |
< |
extern bool audio_get_dac_mute(void); |
51 |
< |
extern uint32 audio_get_dac_volume(void); |
50 |
> |
extern bool audio_get_speaker_mute(void); |
51 |
> |
extern uint32 audio_get_speaker_volume(void); |
52 |
|
extern void audio_set_main_mute(bool mute); |
53 |
|
extern void audio_set_main_volume(uint32 vol); |
54 |
< |
extern void audio_set_dac_mute(bool mute); |
55 |
< |
extern void audio_set_dac_volume(uint32 vol); |
54 |
> |
extern void audio_set_speaker_mute(bool mute); |
55 |
> |
extern void audio_set_speaker_volume(uint32 vol); |
56 |
|
|
57 |
|
// Current audio status |
58 |
|
struct audio_status { |