Mercurial > sdl-ios-xcode
annotate BUGS @ 2042:3908e1f808e1
Fixed bug #292
I might be on crack here.
It looks like SDL_ConvertMono() in src/audio/SDL_audiocvt.c adds the left and
right channels of a stereo stream together, and clamps the new mono channel if
it would overflow.
Shouldn't it be dividing by 2 to average the two sample points instead of
clamping? Otherwise the mono sample point's volume doubles in the conversion.
This would also make the conversion faster, as it replaces two branches per
sample frame with a bitwise shift.
--ryan.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 24 Sep 2006 15:56:36 +0000 |
parents | f12379c41042 |
children | c9aa6bcb26f3 |
rev | line source |
---|---|
0 | 1 |
2 All: | |
3 Audio rate conversion is only implemented by multiplying or dividing | |
4 by a power of two. This is a side-effect of the requirement that the | |
5 raw audio buffer size be a power of two, and can hopefully be fixed. | |
6 This means 8 KHz audio converted to 22 KHz ends up being 16 KHz. :-/ | |
7 | |
8 When the implementation is writing directly to video memory the mouse | |
9 cursor doesn't work properly. Applications which do this should use | |
10 their own mouse cursor and call SDL_ShowCursor(0) to hide the system | |
11 cursor. | |
12 | |
13 Linux: | |
14 Wide UNICODE character input (Kanji, etc.) is not yet supported. | |
15 It requires handling of keyboard mapping events and using the XIM | |
16 input translation extension. I will implement it as requested. | |
17 Latin-1 keyboard input works fine. | |
1178
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
18 (UPDATE 04/06/2004: this bug is now fixed) |
0 | 19 |
27
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
20 The keyboard modifiers are not set to the correct state on startup. |
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
21 |
0 | 22 The AAlib, GGI, and SVGAlib video drivers are not heavily tested. |
23 | |
24 Win32: | |
25 The MCI driver can't tell if the CD-ROM drive is paused or stopped. | |
26 | |
27 The SDL_INIT_EVENTTHREAD flag is not supported on Win32 | |
28 (Idea: create a separate DirectInput polling thread) | |
29 The main purpose of this flag is for smooth cursor motion in | |
30 fullscreen environments. | |
31 | |
32 Wide UNICODE character input (Kanji, etc.) is not yet supported. | |
33 This requires the ToUnicode() API which is only implemented on | |
34 Windows NT/2000, not on Windows 95/98. | |
35 Latin-1 keyboard input works fine. | |
36 | |
37 Joysticks are only supported under the Win32 MultiMedia API, | |
38 DirectInput support is not yet implemented. | |
39 | |
40 BeOS: | |
41 BePPC is not supported, apparently not even by Be Inc. | |
42 | |
43 SDL_WM_GrabInput() is not implemented. | |
44 Does anyone know how to do this? SDL_WM_GrabInput() is designed | |
45 to prevent the user from switching input and mouse focus away from | |
46 the SDL application. | |
47 | |
48 Continuous relative mouse motion is not implemented. | |
49 | |
50 Wide UNICODE character input (Kanji, etc.) has not been tested. | |
51 Latin-1 keyboard input works fine. | |
52 | |
53 MacOS: | |
54 Palette handling isn't implemented in windowed mode yet. | |
55 | |
56 Audio hasn't been extensively tested, in particular the locking | |
57 isn't implemented and mixer routines may not call malloc() or free() | |
58 because they are called at interrupt time. | |
59 | |
60 SDL_WM_GrabInput() is not implemented. | |
61 Does anyone know how to do this? SDL_WM_GrabInput() is designed | |
62 to prevent the user from switching input and mouse focus away from | |
63 the SDL application. | |
64 | |
65 Continuous relative mouse motion is not implemented. | |
66 | |
67 SDL_AddTimer() and SDL_RemoveTimer() haven't been implemented yet. | |
68 | |
69 Not all of the keys are properly recognized on the keyboard. | |
70 | |
1621 | 71 Mac OS X: |
47
45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
Sam Lantinga <slouken@lokigames.com>
parents:
27
diff
changeset
|
72 Depth switching for windowed mode isn't implemented yet. |
45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
Sam Lantinga <slouken@lokigames.com>
parents:
27
diff
changeset
|
73 |
0 | 74 Palette handling isn't implemented in windowed mode yet. |
47
45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
Sam Lantinga <slouken@lokigames.com>
parents:
27
diff
changeset
|
75 |
390
19e73568a75c
Date: Sat, 1 Jun 2002 17:56:45 -0500
Sam Lantinga <slouken@libsdl.org>
parents:
279
diff
changeset
|
76 Command-line arguments dialog is not implemented yet. |
0 | 77 |
47
45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
Sam Lantinga <slouken@lokigames.com>
parents:
27
diff
changeset
|
78 Fullscreen drawing has some artifacts. |
45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
Sam Lantinga <slouken@lokigames.com>
parents:
27
diff
changeset
|
79 |
45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
Sam Lantinga <slouken@lokigames.com>
parents:
27
diff
changeset
|
80 Fullscreen OpenGL for the software renderer is broken. |
0 | 81 |
47
45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
Sam Lantinga <slouken@lokigames.com>
parents:
27
diff
changeset
|
82 Some OpenGL parameters are not accounted for, for example color bits customization. |
45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
Sam Lantinga <slouken@lokigames.com>
parents:
27
diff
changeset
|
83 |
45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
Sam Lantinga <slouken@lokigames.com>
parents:
27
diff
changeset
|
84 Continuous mouse motion perhaps is not as smooth as it should be. |
0 | 85 |
47
45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
Sam Lantinga <slouken@lokigames.com>
parents:
27
diff
changeset
|
86 SDL_WM_GrabInput() is implemented, but it "freezes" the hardware |
45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
Sam Lantinga <slouken@lokigames.com>
parents:
27
diff
changeset
|
87 cursor in the center of the window/screen. Also, mouse moved events |
45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
Sam Lantinga <slouken@lokigames.com>
parents:
27
diff
changeset
|
88 are not generated, and the keyboard cannot be grabbed. |
0 | 89 |
1621 | 90 Mac OS X seems to have a broken pthread_cancel() implementation. |
931
abe872771687
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
777
diff
changeset
|
91 Actually, it just only has one cancellation point defined. |
abe872771687
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
777
diff
changeset
|
92 http://lists.apple.com/archives/darwin-development/2004/Jun/24/killingapthread.001.txt |
0 | 93 |
94 FreeBSD: | |
95 pthread_cancel() isn't supported by FreeBSD 3.X, so threads don't | |
96 work on versions of FreeBSD earlier than 4.0. | |
97 | |
98 The CD-ROM handling doesn't work completely. | |
99 | |
100 Wide UNICODE character input (Kanji, etc.) is not yet supported. | |
101 It requires handling of keyboard mapping events and using the XIM | |
102 input translation extension. I will implement it as requested. | |
103 Latin-1 keyboard input works fine. | |
1178
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
104 (UPDATE 04/06/2004: this bug is now fixed but needs testing) |
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
105 |
27
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
106 The keyboard modifiers are not set to the correct state on startup. |
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
107 |
0 | 108 Solaris: |
109 The joystick functions are not implemented yet. | |
110 | |
111 Wide UNICODE character input (Kanji, etc.) is not yet supported. | |
112 It requires handling of keyboard mapping events and using the XIM | |
113 input translation extension. I will implement it as requested. | |
114 Latin-1 keyboard input works fine. | |
1178
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
115 (UPDATE 04/06/2004: this bug is now fixed but needs testing) |
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
116 |
27
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
117 The keyboard modifiers are not set to the correct state on startup. |
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
118 |
0 | 119 IRIX: |
120 The CD-ROM handling doesn't work completely. | |
121 | |
122 The joystick functions are not implemented yet. | |
123 | |
124 Wide UNICODE character input (Kanji, etc.) is not yet supported. | |
125 It requires handling of keyboard mapping events and using the XIM | |
126 input translation extension. I will implement it as requested. | |
127 Latin-1 keyboard input works fine. | |
1178
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
128 (UPDATE 04/06/2004: this bug is now fixed but needs testing) |
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
129 |
27
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
130 The keyboard modifiers are not set to the correct state on startup. |
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
131 |
250
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
132 EPOC: |
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
133 Only Crystal version of Epoc/SymbianOS is currently supported. |
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
134 |
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
135 SDL is implemented in static library only. SDL uses static/global |
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
136 variables and that is not allowed in EPOC dll libraries. |
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
137 |
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
138 Sound is not yet supported. |
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
139 |
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
140 Joystick, OpenGL and cdrom is not supported (think about cdrom in a cell phone:-). |
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
141 |
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
142 No console output screen. Printing to stdout do not have any effect. |
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
143 |
663
8bedd6d61642
Date: Sat, 2 Aug 2003 16:22:51 +0300
Sam Lantinga <slouken@libsdl.org>
parents:
571
diff
changeset
|
144 QNX: |
692
04dd6c6d7c30
Date: Fri, 15 Aug 2003 09:13:59 +0300
Sam Lantinga <slouken@libsdl.org>
parents:
663
diff
changeset
|
145 Fullscreen switch doesn't work (disabled for now). |
663
8bedd6d61642
Date: Sat, 2 Aug 2003 16:22:51 +0300
Sam Lantinga <slouken@libsdl.org>
parents:
571
diff
changeset
|
146 |
8bedd6d61642
Date: Sat, 2 Aug 2003 16:22:51 +0300
Sam Lantinga <slouken@libsdl.org>
parents:
571
diff
changeset
|
147 |
0 | 148 OpenBSD: -= NOT YET SUPPORTED =- |
149 This is reported to work, but I haven't verified this. | |
150 | |
151 Wide UNICODE character input (Kanji, etc.) is not yet supported. | |
152 It requires handling of keyboard mapping events and using the XIM | |
153 input translation extension. I will implement it as requested. | |
154 Latin-1 keyboard input works fine. | |
1178
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
155 (UPDATE 04/06/2004: this bug is now fixed but needs testing) |
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
156 |
27
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
157 The keyboard modifiers are not set to the correct state on startup. |
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
158 |
0 | 159 OSF/Tru64: -= NOT YET SUPPORTED =- |
160 The audio functions are not implemented yet. | |
161 | |
162 Joysticks and CD-ROM functions are not implemented yet. | |
163 | |
164 Wide UNICODE character input (Kanji, etc.) is not yet supported. | |
165 It requires handling of keyboard mapping events and using the XIM | |
166 input translation extension. I will implement it as requested. | |
167 Latin-1 keyboard input works fine. | |
1178
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
168 (UPDATE 04/06/2004: this bug is now fixed but needs testing) |
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
169 |
27
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
170 The keyboard modifiers are not set to the correct state on startup. |
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
171 |
0 | 172 AIX: -= NOT YET SUPPORTED =- |
173 This port has only been tested with AIX 4.3.3 | |
174 | |
175 The OpenGL support doesn't work yet. | |
176 | |
177 The joystick subsystem isn't implemented yet. | |
178 | |
179 Endian detection doesn't work yet - needs a unique CPP symbol. | |
180 | |
181 Wide UNICODE character input (Kanji, etc.) is not yet supported. | |
182 It requires handling of keyboard mapping events and using the XIM | |
183 input translation extension. I will implement it as requested. | |
184 Latin-1 keyboard input works fine. | |
1178
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
185 (UPDATE 04/06/2004: this bug is now fixed but needs testing) |
9867f3d86e44
Real Unicode support for X11. Based on updated version of this patch:
Ryan C. Gordon <icculus@icculus.org>
parents:
931
diff
changeset
|
186 |
27
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
187 The keyboard modifiers are not set to the correct state on startup. |
a7e598a8d8be
The keyboard modifiers are not set to the correct state on X11 startup.
Sam Lantinga <slouken@lokigames.com>
parents:
21
diff
changeset
|
188 |
0 | 189 The AIX port was done by Carsten.Griwodz@KOM.tu-darmstadt.de |
190 More information on this port is available at: | |
191 http://www.kom.e-technik.tu-darmstadt.de/~griff/SDL/ | |
192 | |
193 AmigaOS: -= NOT YET SUPPORTED =- | |
194 The OpenGL support isn't implemented yet. | |
195 | |
196 SDL_WM_GrabInput() is not implemented. | |
197 Does anyone know how to do this? SDL_WM_GrabInput() is designed | |
198 to prevent the user from switching input and mouse focus away from | |
199 the SDL application. | |
200 | |
201 Continuous relative mouse motion is not implemented. | |
202 | |
203 The AmigaOS port was done by Gabriele.Greco@galactica.it | |
250
74a8f672f2f8
Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!)
Sam Lantinga <slouken@libsdl.org>
parents:
172
diff
changeset
|
204 |