comparison src/audio/dsp/SDL_dspaudio.c @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents 19418e4422cb
children 97d0966f4bf7
comparison
equal deleted inserted replaced
1401:1819fd069e89 1402:d910939febfa
20 slouken@libsdl.org 20 slouken@libsdl.org
21 21
22 Modified in Oct 2004 by Hannu Savolainen 22 Modified in Oct 2004 by Hannu Savolainen
23 hannu@opensound.com 23 hannu@opensound.com
24 */ 24 */
25 #include "SDL_config.h"
25 26
26 /* Allow access to a raw mixing buffer */ 27 /* Allow access to a raw mixing buffer */
27 28
28 #include <stdio.h> /* For perror() */ 29 #include <stdio.h> /* For perror() */
29 #include <string.h> /* For strerror() */ 30 #include <string.h> /* For strerror() */
33 #include <signal.h> 34 #include <signal.h>
34 #include <sys/time.h> 35 #include <sys/time.h>
35 #include <sys/ioctl.h> 36 #include <sys/ioctl.h>
36 #include <sys/stat.h> 37 #include <sys/stat.h>
37 38
38 #include "SDL_config.h"
39
40 #if SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H 39 #if SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H
41 /* This is installed on some systems */ 40 /* This is installed on some systems */
42 #include <soundcard.h> 41 #include <soundcard.h>
43 #else 42 #else
44 /* This is recommended by OSS */ 43 /* This is recommended by OSS */