ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/SID.cpp
(Generate patch)

Comparing Frodo4/Src/SID.cpp (file contents):
Revision 1.9 by cebix, 2010-04-22T07:58:53Z vs.
Revision 1.10 by cebix, 2010-04-22T09:09:28Z

# Line 437 | Line 437 | private:
437          int play_buf;                                   // Number of buffer currently playing
438   #endif
439  
440 < #ifdef __linux__
440 >
441 > #ifdef HAVE_SDL
442 >        static void buffer_proc(void *cookie, uint8 *buffer, int size);
443 > #else
444 >
445 > # ifdef __linux__
446          int devfd, sndbufsize, buffer_rate;
447          int16 *sound_buffer;
448 < #endif
448 > # endif
449  
450 < #ifdef SUN
450 > # ifdef SUN
451          int fd;
452          audio_info status;
453          uint_t sent_samples,delta_samples;
454          int16 *sound_calc_buf;
455 < #endif
455 > # endif
456  
457 < #ifdef __hpux
457 > # ifdef __hpux
458          int fd;
459          audio_status status;
460          int16 *sound_calc_buf;
461          int linecnt;
462 < #endif
462 > # endif
463 >
464 > #endif // ndef HAVE_SDL
465 >
466  
467   #ifdef __mac__
468          SndChannelPtr chan1;
# Line 1336 | Line 1344 | void DigitalRenderer::calc_buffer(int16
1344   #elif defined(AMIGA)
1345   #include "SID_Amiga.h"
1346  
1347 + #elif defined(HAVE_SDL)
1348 + #include "SID_SDL.h"
1349 + # if defined(__linux__)
1350 + # include "SID_catweasel.h"
1351 + # endif
1352 +
1353   #elif defined(__linux__)
1354   #include "SID_linux.h"
1355 + #include "SID_catweasel.h"
1356  
1357   #elif defined(SUN)
1358   #include "SID_sun.h"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines