Sat, 23 Sep 2017 00:06:14 -0700Implemented S32LSB, S32MSB, and F32SYS versions of the effect position code
Sam Lantinga <slouken@libsdl.org> [Sat, 23 Sep 2017 00:06:14 -0700] rev 737
Implemented S32LSB, S32MSB, and F32SYS versions of the effect position code

Mon, 18 Sep 2017 16:05:46 -0700Fixed bug 3833 - Silent MP3 playback using included smpeg2 library
Sam Lantinga <slouken@libsdl.org> [Mon, 18 Sep 2017 16:05:46 -0700] rev 736
Fixed bug 3833 - Silent MP3 playback using included smpeg2 library

Holger Schemel

Summary: When playing MP3 files using the included smpeg2 library, audio output is silent.

How to reproduce the problem: Build latest SDL2_mixer and smpeg2 (from directory "external/smpeg2-2.0.0") and play MP3 file using included music player "playmus". (Tested on Ubuntu 12.04 and Mac OS X 10.11.)

Expected behaviour: "playmus" plays MP3 music through the computer's audio device.

Observed behaviour: "playmus" appears to be playing, but the computer's audio device remains silent.

The problem was introduced with changeset 718:fb0562cc1559, which replaces legacy functions like SDL_OpenAudio(), SDL_LockAudio(), SDL_PauseAudio(), SDL_MixAudio() etc. with their non-legacy counterparts like SDL_OpenAudioDevice(), SDL_LockAudioDevice(), SDL_PauseAudioDevice() and SDL_MixAudioFormat() in the SDL2_mixer code, while the smpeg2 code still uses the legacy functions.

Replacing SDL_MixAudio() with SDL_MixAudioFormat() in the smpeg2 code fixes the problem, and MP3 playback using SDL2_mixer with smpeg2 works fine again (from both "playmus" and from my SDL2/SDL2_mixer/smpeg2 based games).

The attached patch fixes the problem.

Sat, 09 Sep 2017 18:57:35 -0700Updated config.guess and config.sub
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 18:57:35 -0700] rev 735
Updated config.guess and config.sub

Sat, 09 Sep 2017 12:20:54 -0700Added 32-bit audio support to Mix_SetReverseStereo()
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 12:20:54 -0700] rev 734
Added 32-bit audio support to Mix_SetReverseStereo()

Sat, 09 Sep 2017 12:14:24 -0700Fixed spacing and added error messages for unsupported channels
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 12:14:24 -0700] rev 733
Fixed spacing and added error messages for unsupported channels

Sat, 09 Sep 2017 12:01:35 -0700Added an option to playwave to test float audio
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 12:01:35 -0700] rev 732
Added an option to playwave to test float audio

Fri, 25 Aug 2017 21:27:59 -0700Fixed bug 3773 - Cannot build with libmad support
Sam Lantinga <slouken@libsdl.org> [Fri, 25 Aug 2017 21:27:59 -0700] rev 731
Fixed bug 3773 - Cannot build with libmad support

sfalexrog

As of hg d10f63427a5f, SDL_mixer fails to build with libmad support, complaining about unknown "mixer" variable in a call to SDL_MixAudioFormat (lines 267-268). This was introduced in hg 298d69a81cc9.

In music_mad.c, mixer is not defined as a global variable, but is stored in the mad_data structure. A possible fix would be to access the mixer stored in mad_data.

Fri, 25 Aug 2017 21:05:42 -0700Fixed bug 3778 - Configure check for modplug is broken
Sam Lantinga <slouken@libsdl.org> [Fri, 25 Aug 2017 21:05:42 -0700] rev 730
Fixed bug 3778 - Configure check for modplug is broken

Orivej Desh

In SDL_Mixer 2.0.1 and tip, configure.in contains [1]:

AC_CHECK_LIB([modplug], [have_libmodplug_lib=yes])

which generates invalid C file in configure [2]:

char have_libmodplug_lib=yes ();

and libmodplug detection always fails. This can be fixed with:

AC_CHECK_LIB([modplug], [ModPlug_Load], [have_libmodplug_lib=yes])

Mon, 21 Aug 2017 15:41:17 -0700Fixed alignment issue when doing conversion between 44100 Hz and 48000 Hz
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Aug 2017 15:41:17 -0700] rev 729
Fixed alignment issue when doing conversion between 44100 Hz and 48000 Hz

Mon, 29 May 2017 11:17:51 -0400Patched to compile with SMPEG headers vs SDL2 (thanks, Philipp!).
Ryan C. Gordon <icculus@icculus.org> [Mon, 29 May 2017 11:17:51 -0400] rev 728
Patched to compile with SMPEG headers vs SDL2 (thanks, Philipp!).

Fixes Bugzilla #1594.