Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/sezero/quakespasm
Browse files Browse the repository at this point in the history
# Conflicts:
#	MacOSX/codecs/lib/libmpg123.dylib
  • Loading branch information
andrei-drexler committed Oct 27, 2024
2 parents ebda77f + afbad92 commit 723c5c8
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Quake/Makefile.w32
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ endif
ifeq ($(MP3LIB),mpg123)
mp3_obj=snd_mpg123
lib_mp3dec=-lmpg123
CFLAGS += -DMPG123_NO_LARGENAME=1
endif
ifeq ($(VORBISLIB),vorbis)
cpp_vorbisdec=
Expand Down
1 change: 0 additions & 1 deletion Quake/Makefile.w64
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ endif
ifeq ($(MP3LIB),mpg123)
mp3_obj=snd_mpg123
lib_mp3dec=-lmpg123
CFLAGS += -DMPG123_NO_LARGENAME=1
endif
ifeq ($(VORBISLIB),vorbis)
cpp_vorbisdec=
Expand Down
2 changes: 1 addition & 1 deletion Quake/snd_mpg123.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "snd_mp3.h"
#include <errno.h>

#define MPG123_NO_LARGENAME
#define MPG123_DEF_SSIZE_T /* we do define ssize_t in our stdinc.h */
#include <mpg123.h>

Expand Down Expand Up @@ -220,4 +221,3 @@ snd_codec_t mp3_codec =
};

#endif /* USE_CODEC_MP3 */

Binary file modified Windows/codecs/x64/libmpg123-0.dll
Binary file not shown.
Binary file modified Windows/codecs/x86-watcom/mpg123.lib
Binary file not shown.
Binary file modified Windows/codecs/x86/libmpg123-0.dll
Binary file not shown.

0 comments on commit 723c5c8

Please sign in to comment.