Mercurial > sdl-ios-xcode
annotate docs/man3/SDL_GetAudioStatus.3 @ 890:416158ec61a0
Date: Sat, 10 Apr 2004 10:05:46 +0200
From: Christian Walther
Subject: [SDL] OpenGL Accumulation Buffer on Mac OS X
Is there a reason for not having OpenGL accumulation buffer support in
SDL 1.2.7 (and as far as I have checked also in the current CVS) on Mac OS
X?
Maybe I am doing something wrong, but it seems very easy to add (at least
it works for for me in 10.3.3) - just add
if ( this->gl_config.accum_red_size + this->gl_config.accum_green_size + this->gl_config.accum_blue_size + this->gl_config.accum_alpha_size > 0) {
attr[i++] = NSOpenGLPFAAccumSize;
attr[i++] = this->gl_config.accum_red_size + this->gl_config.accum_green_size + this->gl_config.accum_blue_size + this->gl_config.accum_alpha_size;
}
to QZ_SetupOpenGL() in SDL_QuartzGL.m
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 16 May 2004 18:06:27 +0000 |
parents | e5bc29de3f0a |
children | 546f7c1eb755 |
rev | line source |
---|---|
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
1 .TH "SDL_GetAudioStatus" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" |
0 | 2 .SH "NAME" |
3 SDL_GetAudioStatus\- Get the current audio state | |
4 .SH "SYNOPSIS" | |
5 .PP | |
6 \fB#include "SDL\&.h" | |
7 .sp | |
8 \fBSDL_audiostatus\fBSDL_GetAudioStatus\fP\fR(\fBvoid\fR); | |
9 .SH "DESCRIPTION" | |
10 .PP | |
11 .nf | |
12 \f(CWtypedef enum{ | |
13 SDL_AUDIO_STOPPED, | |
14 SDL_AUDIO_PAUSED, | |
15 SDL_AUDIO_PLAYING | |
16 } SDL_audiostatus;\fR | |
17 .fi | |
18 .PP | |
19 .PP | |
20 Returns either \fBSDL_AUDIO_STOPPED\fP, \fBSDL_AUDIO_PAUSED\fP or \fBSDL_AUDIO_PLAYING\fP depending on the current audio state\&. | |
21 .SH "SEE ALSO" | |
22 .PP | |
23 \fI\fBSDL_PauseAudio\fP\fR | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
24 ...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58 |