Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Guillaume Cottenceau - Wed Feb 13 15:43:20 PST 2002
 * Implemented Ogg Vorbis stream rewinding
  • Loading branch information
slouken committed Feb 13, 2002
1 parent 787e4fc commit 2b00a94
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
2 changes: 2 additions & 0 deletions CHANGES
@@ -1,5 +1,7 @@

1.2.3:
Guillaume Cottenceau - Wed Feb 13 15:43:20 PST 2002
* Implemented Ogg Vorbis stream rewinding
Peter Kutak - Wed Feb 13 10:26:57 PST 2002
* Added native midi support on Linux, using GPL code
--enable-music-native-midi-gpl
Expand Down
11 changes: 0 additions & 11 deletions configure.in
Expand Up @@ -135,14 +135,6 @@ if test x$enable_music_midi = xyes; then
use_music_native_midi=yes
LIBS="$LIBS -framework QuickTime"
;;
*-*-linux* | *-*-freebsd*)
if test x$enable_music_native_midi_gpl != xyes; then
AC_ERROR([the native midi code is GPL code, use --enable-music-native-midi-gpl])
fi
;;
*)
AC_ERROR([native MIDI not supported on this platform])
;;
esac
if test x$use_music_native_midi = xyes; then
CFLAGS="$CFLAGS -DUSE_NATIVE_MIDI -I\$(top_srcdir)/native_midi"
Expand All @@ -158,9 +150,6 @@ if test x$enable_music_midi = xyes; then
*-*-linux* | *-*-freebsd*)
use_music_native_midi_gpl=yes
;;
*)
AC_ERROR([native MIDI not supported on this platform])
;;
esac
if test x$use_music_native_midi_gpl = xyes; then
CFLAGS="$CFLAGS -DUSE_NATIVE_MIDI -I\$(top_srcdir)/native_midi"
Expand Down
5 changes: 5 additions & 0 deletions music.c
Expand Up @@ -919,6 +919,11 @@ void Mix_RewindMusic(void)
SMPEG_rewind(music_playing->data.mp3);
break;
#endif
#ifdef OGG_MUSIC
case MUS_OGG:
OGG_jump_to_time(music_playing->data.ogg, 0);
break;
#endif
#ifdef MID_MUSIC
case MUS_MID:
#ifdef USE_NATIVE_MIDI
Expand Down

0 comments on commit 2b00a94

Please sign in to comment.