Mercurial > sdl-ios-xcode
annotate TODO @ 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 | c121d94672cb |
children | 3458c74b5fab |
rev | line source |
---|---|
0 | 1 |
2 Wish list for the 1.3 development branch: | |
1534
f02e673ffc5f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1441
diff
changeset
|
3 http://bugzilla.libsdl.org/ |
0 | 4 |
1895
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
5 * Add a way to register custom events |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
6 * Add internal support for adding video modes and refresh rates |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1621
diff
changeset
|
7 * Support querying and setting refresh rate with video modes |
0 | 8 * Add mousewheel events (new unified event architecture?) |
9 * DirectInput joystick support needs to be implemented | |
10 * Be able to enumerate and select available audio and video drivers | |
1621 | 11 * Fullscreen video mode support for Mac OS X |
0 | 12 * Explicit vertical retrace wait (maybe separate from SDL_Flip?) |
13 * Shaped windows, windows without borders | |
14 * Multiple windows, multiple display support | |
15 * SDL_INIT_EVENTTHREAD on Windows and MacOS? | |
16 * Add a timestamp to events | |
17 * Add audio input API | |
2
836aaee3f39e
*** empty log message ***
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
18 * Add hardware accelerated scaled blit |
836aaee3f39e
*** empty log message ***
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
19 * Add hardware accelerated alpha blits |
836aaee3f39e
*** empty log message ***
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
20 * Redesign blitting architecture to allow blit plugins |
0 | 21 |
22 In the jump from 1.2 to 1.3, we should change the SDL_Rect members to | |
23 int and evaluate all the rest of the datatypes. This is the only place | |
24 we should do it though, since the 1.2 series should not break binary | |
25 compatibility in this way. | |
150 | 26 |
27 Requests: | |
28 * PCM and CDROM volume control (deprecated, but possible) |