view src/audio/mint/SDL_mintaudiointerrupt_s.h @ 610:95433459fbd2

Date: Mon, 14 Apr 2003 22:08:27 +0100 From: Patrice Mandin Subject: [SDL][PATCH] 2 patches for sdl Here are 2 patches for SDL: - One is to put the dummy video drivers at the end of the video drivers list. It gave me problems, when SDL_VIDEODRIVER is not set, and the dummy driver is used instead of the platform's driver, just because it is always available. So the dummy driver must always be at the end of the list. I suppose picogui and dc video drivers also don't work.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 15 Apr 2003 15:46:56 +0000
parents d219b0e02f5f
children
line wrap: on
line source

/*
 *	Audio interrupt
 *
 *	Patrice Mandin
 */

#ifndef _SDL_MINTAUDIOINTERRUPT_S_H_
#define _SDL_MINTAUDIOINTERRUPT_S_H_

#include "SDL_types.h"

/* Variables */

extern void *SDL_MintAudio_audiobuf[2];	/* Pointers to buffers */
extern long SDL_MintAudio_audiosize;	/* Length of audio buffer */
extern long SDL_MintAudio_numbuf;		/* Buffer to play */
extern long SDL_MintAudio_mutex;

/* Functions */
void SDL_MintAudio_IntDma(void);
void SDL_MintAudio_IntXbios(void);
void SDL_MintAudio_IntGsxb(void);

#endif /* _SDL_MINTAUDIOINTERRUPT_S_H_ */