Sun, 14 Jul 2013 12:42:12 -0400Protect SDL_PauseAudio*() with the audio callback lock.
Ryan C. Gordon [Sun, 14 Jul 2013 12:42:12 -0400] rev 7447
Protect SDL_PauseAudio*() with the audio callback lock.

Otherwise, you can pause audio and still have the callback running, or run
one more time. This makes sure the callback is definitely stopped by the
time you return from SDL_PauseAudio().

Sun, 14 Jul 2013 11:28:18 -0400Fixed off-by-one error in SDL_AudioQuit() (thanks, Rainer!).
Ryan C. Gordon [Sun, 14 Jul 2013 11:28:18 -0400] rev 7446
Fixed off-by-one error in SDL_AudioQuit() (thanks, Rainer!).

Audio Devices IDs are offset by one.

Fixes Bugzilla #1971.

Sun, 14 Jul 2013 14:32:26 +0200Removed unused internal function.
Philipp Wiesemann [Sun, 14 Jul 2013 14:32:26 +0200] rev 7445
Removed unused internal function.
Found by Cppcheck.

Sun, 14 Jul 2013 13:33:54 +0200Fixed compiler warnings in test program by using wrapped functions.
Philipp Wiesemann [Sun, 14 Jul 2013 13:33:54 +0200] rev 7444
Fixed compiler warnings in test program by using wrapped functions.

Sun, 14 Jul 2013 13:30:26 +0200Fixed compiler warnings in test programs by adding return statements.
Philipp Wiesemann [Sun, 14 Jul 2013 13:30:26 +0200] rev 7443
Fixed compiler warnings in test programs by adding return statements.

Sun, 14 Jul 2013 13:27:19 +0200Fixed compiler warnings in test programs by adding includes directives.
Philipp Wiesemann [Sun, 14 Jul 2013 13:27:19 +0200] rev 7442
Fixed compiler warnings in test programs by adding includes directives.

Sat, 13 Jul 2013 21:56:31 -0400Changed some for-loops to be a bit more clear.
Ryan C. Gordon [Sat, 13 Jul 2013 21:56:31 -0400] rev 7441
Changed some for-loops to be a bit more clear.

Sat, 13 Jul 2013 21:50:40 -0400Don't copy structs to stack in cmpmodes(), use const pointers instead.
Ryan C. Gordon [Sat, 13 Jul 2013 21:50:40 -0400] rev 7440
Don't copy structs to stack in cmpmodes(), use const pointers instead.

(and return 0 immediately if the pointers are the same.)

Sat, 13 Jul 2013 21:42:57 -0400Don't use SDL_memcmp() on modes to check if they've already been added.
Ryan C. Gordon [Sat, 13 Jul 2013 21:42:57 -0400] rev 7439
Don't use SDL_memcmp() on modes to check if they've already been added.

They might have different driverdata values and thus not match.

Fixes Bugzilla #1407.

Sat, 13 Jul 2013 20:24:09 -0400Explicitly check for Xext.h in the CMake project, fail if missing.
Ryan C. Gordon [Sat, 13 Jul 2013 20:24:09 -0400] rev 7438
Explicitly check for Xext.h in the CMake project, fail if missing.

Added to match configure script change in hg changeset 8f118396264b.