Mercurial > sdl-ios-xcode
annotate docs/html/guideaboutsdldoc.html @ 765:4c2ba6161939
Editors Note: The original patch was modified to use SDL_Delay() instead of
nanosleep because nanosleep may not be portable to all systems
using SDL with the ALSA backend. This may be a moot point with
the switch to blocking writes anyway...
Date: Sat, 27 Dec 2003 21:47:36 +0100
From: Michel Daenzer
To: Debian Bug Tracking System
Subject: [SDL] Bug#225252: [PATCH] ALSA fixes
Package: libsdl1.2debian-all
Version: 1.2.6-2
Severity: normal
Tags: patch
For SDL 1.2.6, the ALSA backend was changed to call snd_pcm_open() with
SND_PCM_NONBLOCK. That's a good idea per se, however, it causes high CPU
usage, interrupted sound and stuttering in some games here. Taking a nanosleep
whenever snd_pcm_writei() returns -EAGAIN fixes this, but I think it's more
efficient to use blocking mode for the actual sound playback. Feedback from the
SDL and ALSA lists appreciated.
The patch also fixes the default ALSA device to be used.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 04 Jan 2004 15:40:50 +0000 |
parents | 55f1f1b3e27d |
children | 355632dca928 |
rev | line source |
---|---|
0 | 1 <HTML |
2 ><HEAD | |
3 ><TITLE | |
4 >About SDLdoc</TITLE | |
5 ><META | |
6 NAME="GENERATOR" | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 |
0 | 8 "><LINK |
9 REL="HOME" | |
10 TITLE="SDL Library Documentation" | |
11 HREF="index.html"><LINK | |
12 REL="UP" | |
13 TITLE="Preface" | |
14 HREF="guidepreface.html"><LINK | |
15 REL="PREVIOUS" | |
16 TITLE="Preface" | |
17 HREF="guidepreface.html"><LINK | |
18 REL="NEXT" | |
19 TITLE="Credits" | |
20 HREF="guidecredits.html"></HEAD | |
21 ><BODY | |
22 CLASS="SECT1" | |
23 BGCOLOR="#FFF8DC" | |
24 TEXT="#000000" | |
25 LINK="#0000ee" | |
26 VLINK="#551a8b" | |
27 ALINK="#ff0000" | |
28 ><DIV | |
29 CLASS="NAVHEADER" | |
30 ><TABLE | |
31 WIDTH="100%" | |
32 BORDER="0" | |
33 CELLPADDING="0" | |
34 CELLSPACING="0" | |
35 ><TR | |
36 ><TH | |
37 COLSPAN="3" | |
38 ALIGN="center" | |
39 >SDL Library Documentation</TH | |
40 ></TR | |
41 ><TR | |
42 ><TD | |
43 WIDTH="10%" | |
44 ALIGN="left" | |
45 VALIGN="bottom" | |
46 ><A | |
47 HREF="guidepreface.html" | |
48 >Prev</A | |
49 ></TD | |
50 ><TD | |
51 WIDTH="80%" | |
52 ALIGN="center" | |
53 VALIGN="bottom" | |
54 >Preface</TD | |
55 ><TD | |
56 WIDTH="10%" | |
57 ALIGN="right" | |
58 VALIGN="bottom" | |
59 ><A | |
60 HREF="guidecredits.html" | |
61 >Next</A | |
62 ></TD | |
63 ></TR | |
64 ></TABLE | |
65 ><HR | |
66 ALIGN="LEFT" | |
67 WIDTH="100%"></DIV | |
68 ><DIV | |
69 CLASS="SECT1" | |
70 ><H1 | |
71 CLASS="SECT1" | |
72 ><A | |
73 NAME="GUIDEABOUTSDLDOC" | |
74 >About SDLdoc</A | |
75 ></H1 | |
76 ><P | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
77 >SDLdoc (The SDL Documentation Project) was formed to completely rewrite the SDL documentation and to keep it continually up to date. The team consists completely of volunteers ranging from people working with SDL in their spare time to people who use SDL in their everyday working lives.</P |
0 | 78 ><P |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
79 >The latest version of this documentation can always be found here: http://sdldoc.csn.ul.ie Downloadable PS, man pages and html tarballs are available at http://sdldoc.csn.ul.ie/pub/</P |
0 | 80 ></DIV |
81 ><DIV | |
82 CLASS="NAVFOOTER" | |
83 ><HR | |
84 ALIGN="LEFT" | |
85 WIDTH="100%"><TABLE | |
86 WIDTH="100%" | |
87 BORDER="0" | |
88 CELLPADDING="0" | |
89 CELLSPACING="0" | |
90 ><TR | |
91 ><TD | |
92 WIDTH="33%" | |
93 ALIGN="left" | |
94 VALIGN="top" | |
95 ><A | |
96 HREF="guidepreface.html" | |
97 >Prev</A | |
98 ></TD | |
99 ><TD | |
100 WIDTH="34%" | |
101 ALIGN="center" | |
102 VALIGN="top" | |
103 ><A | |
104 HREF="index.html" | |
105 >Home</A | |
106 ></TD | |
107 ><TD | |
108 WIDTH="33%" | |
109 ALIGN="right" | |
110 VALIGN="top" | |
111 ><A | |
112 HREF="guidecredits.html" | |
113 >Next</A | |
114 ></TD | |
115 ></TR | |
116 ><TR | |
117 ><TD | |
118 WIDTH="33%" | |
119 ALIGN="left" | |
120 VALIGN="top" | |
121 >Preface</TD | |
122 ><TD | |
123 WIDTH="34%" | |
124 ALIGN="center" | |
125 VALIGN="top" | |
126 ><A | |
127 HREF="guidepreface.html" | |
128 >Up</A | |
129 ></TD | |
130 ><TD | |
131 WIDTH="33%" | |
132 ALIGN="right" | |
133 VALIGN="top" | |
134 >Credits</TD | |
135 ></TR | |
136 ></TABLE | |
137 ></DIV | |
138 ></BODY | |
139 ></HTML | |
140 > |