Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Guillaume Cottenceau - Wed Feb 13 15:43:20 PST 2002
* Implemented Ogg Vorbis stream rewinding
- Loading branch information
Showing
with
7 additions
and
11 deletions.
-
+2
−0
CHANGES
-
+0
−11
configure.in
-
+5
−0
music.c
|
|
@@ -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 |
|
|
|
@@ -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" |
|
@@ -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" |
|
|
|
@@ -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 |
|
|