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

Comparing SIDPlayer/src/sys.h (file contents):
Revision 1.1 by cebix, 2000-07-28T12:42:30Z vs.
Revision 1.2 by cebix, 2000-09-19T15:34:11Z

# Line 29 | Line 29
29  
30   #include "types.h"
31  
32 < // Dummy SDL definitions
32 >
33 > #if defined (SDL)
34 >
35 > #include <SDL.h>
36 >
37 > #else
38 >
39 > // Dummy SDL definitions for SIDPlayer
40   typedef struct {
41          int freq;                       // DSP frequency -- samples per second
42          uint16 format;          // Audio data format
# Line 45 | Line 52 | typedef struct {
52   #define AUDIO_S8 0x8008
53   #define AUDIO_S16SYS 0x0010
54  
55 < #define SDL_OpenAudio(desired, obtained)
55 > #define SDL_OpenAudio(desired, obtained) (0)
56   #define SDL_CloseAudio()
57   #define SDL_PauseAudio(onoff)
58   #define SDL_LockAudio()
59   #define SDL_UnlockAudio()
60  
61   #endif
62 +
63 + #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines