view TODO @ 2866:e532417a6977

Fixed SDL 1.2 compatibility problem. The API specifies that SDL_OpenAudio() will fill out the 'desired' audio spec with the correct samples and size set by the driver. This value is important since it may be used by applications that size audio buffers, etc. However, we want to allow advanced applications to call SDL_OpenAudioDevice() which gets passed a const 'desired' parameter, and have the correct data filled into the 'obtained' parameter, possibly allowing or not allowing format changes. So... 'obtained' becomes the audio format the user callback is expected to use, and we add flags to allow the application to specify which format changes are allowed. Note: We really need to add a way to query the 'obtained' audio spec.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 13 Dec 2008 06:36:47 +0000
parents fe8ea2b39aea
children e2b1abe04641
line wrap: on
line source


1.3 release checklist:
 * Add higher precision timers for profiling
 * Implement YUV texture support
   - in progress, software support is done, Ryan is working on OpenGL shaders
 * Implement desktop video mode change notification?
 * Verify mouse grab support
 * Properly handle mouse grab with Vista DPI scaling
 * Make sure the mouse is where it's supposed to be when un-grabbed
 * Test native window codepath
 * Add keyboard enumeration / name query API

Wish list for the 1.3 development branch:
http://bugzilla.libsdl.org/

 * Add a way to register custom events
 * DirectInput joystick support needs to be implemented
 * Explicit vertical retrace wait (maybe separate from SDL_Flip?)
 * Shaped windows, windows without borders
 * Multiple display support
 * Add a timestamp to events
 * Add audio input API
 * Add modifier state to key and button events

In the jump from 1.2 to 1.3, we should change the SDL_Rect members to
int and evaluate all the rest of the datatypes.  This is the only place
we should do it though, since the 1.2 series should not break binary
compatibility in this way.

Requests:
 * PCM and CDROM volume control (deprecated, but possible)