Sam Lantinga [Mon, 19 Oct 2009 02:23:21 +0000] rev 4357
Recommendation from Lennart Poettering:
In ALSA_OpenAudio(): instead of setting period_size+n_periods OR
buffer_size I'd recommend copying the hwparams stuff before you do
this, then first try period_size+n_periods, and then apply it with
snd_pcm_hw_params() and check if that works. If it didn't you should
take the copy of hwparams and try setting buffer_size and apply that
via snd_pcm_hw_params() and check if that worked. And if that failed
too, then take the copy and don't apply neither period nor buffer
settings and see if that works.
Sam Lantinga [Sun, 18 Oct 2009 23:18:28 +0000] rev 4356
There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct value after the first scanline. Ugh.
Sam Lantinga [Sun, 18 Oct 2009 17:31:37 +0000] rev 4355
Fixed bug #855
Ludwig Nussel 2009-10-18 06:31:52 PDT
an mprotect call was added to fix bug 528. However that results in a buffer
that allows writing and code execution. Ie the no-execute security features of
modern operating systems are defeated this way. Two mprotect calls are needed.
One to make the buffer executable but not writeable when done and another one
to make the buffer writeable again if the content needs to be changed.
Sam Lantinga [Sun, 18 Oct 2009 16:23:12 +0000] rev 4354
Use MacOS line endings for Mac resource files
Sam Lantinga [Sun, 18 Oct 2009 16:17:13 +0000] rev 4353
Use MacOS line endings for SDL.x
Sam Lantinga [Sun, 18 Oct 2009 16:14:57 +0000] rev 4352
Fixed bug #853
Ludwig Nussel 2009-10-18 05:34:18 PDT
src/joystick/linux/SDL_sysjoystick.c has some problems:
- test_bit() might break with strict aliasing
- test_bit() assumes array is Uint32 but its actually "unsigned long"
on 64bit systems sizeof(long) != sizeof(Uint32).
- the keybit array is too small
- the arrays are unitialized so the number of
detected buttons is quite random
Sam Lantinga [Sat, 17 Oct 2009 17:35:48 +0000] rev 4351
We no longer have a DirectInput link requirement
Sam Lantinga [Sat, 17 Oct 2009 16:49:23 +0000] rev 4350
Fixed bug #849
This was a silly bug. :)
Sam Lantinga [Sat, 17 Oct 2009 07:05:33 +0000] rev 4349
Don't need the define anymore...
Sam Lantinga [Sat, 17 Oct 2009 07:04:58 +0000] rev 4348
Enable the ALSA debug code via environment variable