Ryan C. Gordon
8a3081f3f3
Updated Tru64 audio to support int32.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402053
2006-09-01 06:43:41 +00:00
Ryan C. Gordon
f7b2a985cc
MiNT audio driver cleanups for clamping types and channels to supported
...
values. int32 support now available in one instance.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402052
2006-09-01 06:32:54 +00:00
Ryan C. Gordon
43bec8da2b
Mac OS 9 support for int32/float32.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402051
2006-09-01 06:01:03 +00:00
Ryan C. Gordon
28f57c5b3a
Mac OS X audio backend now supports int32/float32.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402050
2006-09-01 05:31:36 +00:00
Ryan C. Gordon
3e4e137122
Cleaned up IRIX audio driver, added float32 support and fallbacks when
...
a specific audiospec isn't supported or the hardware fails.
Usual disclaimer: No IRIX box, so this may not even compile.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402049
2006-09-01 00:04:07 +00:00
Ryan C. Gordon
bb7ad968f9
Actually, my silly logic bug was actually correct. :/
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402048
2006-08-31 23:16:48 +00:00
Ryan C. Gordon
3a09848855
Let SDL convert to valid Dreamcast audio formats instead of failing if the
...
hardware can't be opened in a specific format. Not that you'd want to swallow
the overhead on a Dreamcast, but hey, it's the SDL way.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402047
2006-08-31 23:16:23 +00:00
Ryan C. Gordon
1f63d96bcd
Let OS/2 DART backend use SDL converters at a higher level (would fail if
...
DART didn't directly support AudioSpec before).
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402046
2006-08-31 22:40:53 +00:00
Ryan C. Gordon
2bd800db0e
Fixed silly logic thing.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402045
2006-08-31 22:22:34 +00:00
Ryan C. Gordon
558a5b6909
Added int32 and float32 support (and some others!) to BeOS audio backend.
...
Untested: No BeOS system here for compiling!
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402044
2006-08-31 22:15:07 +00:00
Ryan C. Gordon
5324cc6d9c
Added int32 support to Amiga audio driver and cleaned up some other details
...
in driver initialization. May need tweaking: I can't compile the amiga driver
here.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402043
2006-08-31 21:43:25 +00:00
Ryan C. Gordon
da3564dedd
ALSA backend can handle int32 and float32 data directly.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402042
2006-08-31 21:28:21 +00:00
Ryan C. Gordon
fd613a1f43
Added int32 adn float32 support to SDL_LoadWAV_RW().
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402041
2006-08-31 21:00:10 +00:00
Ryan C. Gordon
bead079669
Reordered the favored audio format list a little.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402040
2006-08-31 20:59:42 +00:00
Sam Lantinga
a1c6ec6c23
Take advantage of the existing SDL blitters for normal copy blits.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402039
2006-08-29 08:24:16 +00:00
Sam Lantinga
2bd62ed521
Clear the second texture stage explicitly
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402038
2006-08-28 17:35:15 +00:00
Sam Lantinga
1b733db29c
The dummy renderer can task advantage of the MASK optimization too, though performance probably doesn't matter here...
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402037
2006-08-28 17:34:50 +00:00
Sam Lantinga
04b633b920
Optimized the copy blitters a little bit
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402036
2006-08-28 14:10:46 +00:00
Sam Lantinga
d11e6208f1
Figured out how texture stages work, thanks to this:
...
http://www.toymaker.info/Games/html/texture_states.html
Both color and alpha source modulation work now! :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402035
2006-08-28 04:39:37 +00:00
Sam Lantinga
357dc8de4a
Implemented color modulation in the D3D renderer.
...
FIXME: Why doesn't alpha modulation appear to work?
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402034
2006-08-28 04:03:32 +00:00
Sam Lantinga
2dc5a97f17
Cleanup for the last checkin
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402033
2006-08-28 03:27:59 +00:00
Sam Lantinga
fdafca64b3
Added source color and alpha modulation support.
...
Added perl script to generate optimized render copy functions.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402032
2006-08-28 03:17:39 +00:00
Ryan C. Gordon
aebbf8cb6e
Added SDL_SwapFloat* function/macros. Reference Bugzilla #293 .
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402031
2006-08-24 12:49:59 +00:00
Ryan C. Gordon
3c0e34ea51
Forgot to check in updated SDL_audio.h ...
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402030
2006-08-24 12:48:16 +00:00
Ryan C. Gordon
c500e6c0b4
First shot at new audio data types (int32 and float32).
...
Notable changes:
- Converters between types are autogenerated. Instead of making multiple
passes over the data with seperate filters for endianess, size, signedness,
etc, converting between data types is always one specialized filter. This
simplifies SDL_BuildAudioCVT(), which otherwise had a million edge cases
with the new types, and makes the actually conversions more CPU cache
friendly. Left a stub for adding specific optimized versions of these
routines (SSE/MMX/Altivec, assembler, etc)
- Autogenerated converters are built by SDL/src/audio/sdlgenaudiocvt.pl. This
does not need to be run unless tweaking the code, and thus doesn't need
integration into the build system.
- Went through all the drivers and tried to weed out all the "Uint16"
references that are better specified with the new SDL_AudioFormat typedef.
- Cleaned out a bunch of hardcoded bitwise magic numbers and replaced them
with new SDL_AUDIO_* macros.
- Added initial float32 and int32 support code. Theoretically, existing
drivers will push these through converters to get the data they want to
feed to the hardware.
Still TODO:
- Optimize and debug new converters.
- Update the CoreAudio backend to accept float32 data directly.
- Other backends, too?
- SDL_LoadWAV() needs to be updated to support int32 and float32 .wav files
(both of which exist and can be generated by 'sox' for testing purposes).
- Update the mixer to handle new datatypes.
- Optionally update SDL_sound and SDL_mixer, etc.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402029
2006-08-24 12:10:46 +00:00
Sam Lantinga
03794d9be1
The GGI driver hasn't been maintained in 8 years. It's probably safe to remove. :)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402028
2006-08-10 15:15:06 +00:00
Sam Lantinga
d5f1b58e5d
Missed a Qtopia change.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402027
2006-08-10 14:55:45 +00:00
Sam Lantinga
dbc4d303a8
MacOS Classic is no longer supported.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402026
2006-08-10 14:55:00 +00:00
Sam Lantinga
d942ec3207
MacOS Classic is no longer supported.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402025
2006-08-10 14:54:23 +00:00
Sam Lantinga
f63cb9f282
David Hedbor is no longer maintaining the Qtopia code.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402024
2006-08-10 14:35:42 +00:00
Sam Lantinga
3972b7795d
Whoops, remove debug code
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402023
2006-08-07 05:25:13 +00:00
Sam Lantinga
3e23ac57e2
Added resize support for GDI and Direct3D renderers
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402022
2006-08-07 05:24:13 +00:00
Sam Lantinga
e16c932a5c
Added paletted OpenGL texture support.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402021
2006-08-06 23:34:59 +00:00
Sam Lantinga
1c97a53526
Fixed fullscreen modes with Cocoa video driver.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402020
2006-08-06 08:55:37 +00:00
Sam Lantinga
296ed89309
Fixed bug recreating OpenGL textures on window resize
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402019
2006-08-06 07:29:38 +00:00
Sam Lantinga
c018c14412
Added window resize support for the software renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402018
2006-08-06 04:57:28 +00:00
Sam Lantinga
a1ced0d971
Allow the render context to do necessary work when the video mode changes.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402017
2006-08-06 04:39:13 +00:00
Sam Lantinga
461c8e2db4
Clarified the difference between render drivers and render contexts
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402016
2006-08-06 00:09:04 +00:00
Sam Lantinga
e36015a36c
Updated header documentation
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402015
2006-08-05 22:41:33 +00:00
Sam Lantinga
a90680c736
In general, fill in pointers to structures, rather than return them.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402014
2006-08-05 22:34:23 +00:00
Sam Lantinga
ade506e8d5
Removed old function
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402013
2006-08-05 17:12:22 +00:00
Sam Lantinga
bfe4f31c0e
SDL constants are all uppercase.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402012
2006-08-05 17:09:42 +00:00
Ryan C. Gordon
7bc5cd5763
1.3 API proposals for audio subsystem. Nothing in here is guaranteed to
...
stay as-is! And none of it is implemented yet!
Use at own risk!
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402011
2006-08-03 19:34:05 +00:00
Sam Lantinga
7b00c63ef6
Added SDL_GetCurrentVideoDisplay()
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402009
2006-08-02 03:20:52 +00:00
Sam Lantinga
8cff7eb76a
Hack to stop the beeping
...
Fixed keyboard window focus.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402008
2006-07-30 08:09:20 +00:00
Sam Lantinga
3123b3cae3
Removed debug code. :)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402007
2006-07-30 06:11:52 +00:00
Sam Lantinga
ef1639f220
Added numlock support
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402006
2006-07-30 06:11:24 +00:00
Sam Lantinga
f5ebc5ae8c
Implemented Cocoa key event handling.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402005
2006-07-30 05:18:33 +00:00
Sam Lantinga
032809097b
Added right/other drag code for Cocoa windows
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402004
2006-07-29 23:00:15 +00:00
Sam Lantinga
be01a86b9e
Implemented Cocoa mouse wheel events
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402003
2006-07-29 22:42:48 +00:00