ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/audio_oss_esd.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/audio_oss_esd.cpp (file contents):
Revision 1.4 by cebix, 2000-04-10T18:53:00Z vs.
Revision 1.5 by cebix, 2000-07-13T13:47:06Z

# Line 41 | Line 41
41   #include "audio.h"
42   #include "audio_defs.h"
43  
44 < #if ENABLE_ESD
44 > #ifdef ENABLE_ESD
45   #include <esd.h>
46   #endif
47  
# Line 138 | Line 138 | bool audio_init_dsp(void)
138   // Init using ESD, returns false on error
139   bool audio_init_esd(void)
140   {
141 < #if ENABLE_ESD
141 > #ifdef ENABLE_ESD
142          printf("Using ESD audio output\n");
143  
144          // ESD audio format
# Line 195 | Line 195 | void AudioInit(void)
195          // Try to open /dev/dsp
196          audio_fd = open(DSP_NAME, O_WRONLY);
197          if (audio_fd < 0) {
198 < #if ENABLE_ESD
198 > #ifdef ENABLE_ESD
199                  if (!audio_init_esd())
200                          return;
201   #else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines