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; |
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" |