Mercurial > sdl-ios-xcode
view src/audio/mint/SDL_mintaudiointerrupt_s.h @ 631:52864d66d168
Date: Mon, 5 May 2003 00:08:51 -0400
From: Darrell Walisser
Subject: SDL Active Events Patch
Hi Guys,
I was reading sdl-devel the other day and remembered we don't handle
SDL_APPACTIVE and SDL_APPMOUSEFOCUS. I hacked together a quick patch to
do just this. One thing to note - there are actually two ways to
"iconify" the SDL window (which sets SDL_APPACTIVE): hiding the entire
application (for example, option-click on some other window) and
minimizing the window to the dock. I treat both as SDL_APPACTIVE, since
the window is no longer visible.
Cheers,
Darrell
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 29 May 2003 04:52:36 +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_ */