Mercurial > sdl-ios-xcode
view Xcode/TemplatesForProjectBuilder/SDL Custom Cocoa Application/SDLMain.nib/info.nib @ 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 | d63e9f5944ae |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>IBDocumentLocation</key> <string>89 138 361 280 0 0 1152 848 </string> <key>IBEditorPositions</key> <dict> <key>29</key> <string>62 362 233 44 0 0 1152 848 </string> <key>368</key> <string>334 280 355 456 0 0 1024 746 </string> </dict> <key>IBFramework Version</key> <string>291.0</string> <key>IBLockedObjects</key> <array> <integer>328</integer> </array> <key>IBOpenObjects</key> <array> <integer>326</integer> <integer>368</integer> </array> <key>IBSystem Version</key> <string>6L60</string> </dict> </plist>