ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/include/audio.h
(Generate patch)

Comparing BasiliskII/src/include/audio.h (file contents):
Revision 1.1 by cebix, 1999-10-03T14:16:26Z vs.
Revision 1.6 by cebix, 2001-02-02T20:52:59Z

# Line 1 | Line 1
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
# Line 25 | Line 25 | extern int32 AudioDispatch(uint32 params
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  
# Line 40 | Line 47 | extern void audio_set_channels(int index
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 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines