comparison src/audio/alsa/SDL_alsa_audio.h @ 757:4f46fee887fe

Date: Sun, 14 Dec 2003 15:16:12 +0100 From: Stephane Marchesin Subject: Re: [SDL] compile problem with sdl <-> alsa The attathced patch does the trick (although there will have to be code changes when the alsa 0.9 api get deprecated). On a side-note, the good news is that using alsa 1.0.0rc1 solves the previous issues I had with my ac97 via sound chipset.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 16 Dec 2003 13:16:50 +0000
parents 30935e76acb5
children b8d311d90021
comparison
equal deleted inserted replaced
756:10332c6fad2e 757:4f46fee887fe
22 22
23 #ifndef _ALSA_PCM_audio_h 23 #ifndef _ALSA_PCM_audio_h
24 #define _ALSA_PCM_audio_h 24 #define _ALSA_PCM_audio_h
25 25
26 #include "SDL_sysaudio.h" 26 #include "SDL_sysaudio.h"
27 #define ALSA_PCM_OLD_HW_PARAMS_API
28 #define ALSA_PCM_OLD_SW_PARAMS_API
27 #include <alsa/asoundlib.h> 29 #include <alsa/asoundlib.h>
28 30
29 /* Hidden "this" pointer for the video functions */ 31 /* Hidden "this" pointer for the video functions */
30 #define _THIS SDL_AudioDevice *this 32 #define _THIS SDL_AudioDevice *this
31 33