bgmusic.c: mark *.opus files as cdrip types.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1579 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2018-04-27 17:30:38 +00:00
parent 1ccd0b998a
commit 4dbd07fb9a
4 changed files with 13 additions and 4 deletions

View file

@ -161,6 +161,7 @@ these patched libSDL binaries may help.
<item> Fixed buttons crushing players in 64-bit builds.
<item> Change controller movement to use cubic easing by default; added "joy_exponent_move" cvar.
<item> config.cfg is no longer written in case of a Sys_Error.
<item> Fixed Opus encoded cd tracks not being recognized as ripped tracks.
<item> Update the third-party libraries. Other fixes/cleanups.
</itemize>
</p>

View file

@ -3,7 +3,7 @@
* Handles streaming music as raw sound samples and runs the midi driver
*
* Copyright (C) 1999-2005 Id Software, Inc.
* Copyright (C) 2010-2012 O.Sezer <sezero@users.sourceforge.net>
* Copyright (C) 2010-2018 O.Sezer <sezero@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -69,7 +69,7 @@ static music_handler_t wanted_handlers[] =
static music_handler_t *music_handlers = NULL;
#define ANY_CODECTYPE 0xFFFFFFFF
#define CDRIP_TYPES (CODECTYPE_VORBIS | CODECTYPE_MP3 | CODECTYPE_FLAC | CODECTYPE_WAV)
#define CDRIP_TYPES (CODECTYPE_VORBIS | CODECTYPE_MP3 | CODECTYPE_FLAC | CODECTYPE_WAV | CODECTYPE_OPUS)
#define CDRIPTYPE(x) (((x) & CDRIP_TYPES) != 0)
static snd_stream_t *bgmstream = NULL;

View file

@ -255,6 +255,7 @@ these patched libSDL binaries may help.
<LI> Fixed buttons crushing players in 64-bit builds.</LI>
<LI> Change controller movement to use cubic easing by default; added "joy_exponent_move" cvar.</LI>
<LI> config.cfg is no longer written in case of a Sys_Error.</LI>
<LI> Fixed Opus encoded cd tracks not being recognized as ripped tracks.</LI>
<LI> Update the third-party libraries. Other fixes/cleanups.</LI>
</UL>
</P>

View file

@ -291,11 +291,18 @@
6.1. Changes in 0.93.1
o Fixed a fog regression which was introduced in 0.93.0.
o Fixed a crash (buffer overflow) with invalid vis data.
o Fixed buttons crushing players in 64-bit builds.
o Change controller movement to use cubic easing by default; added
"joy_exponent_move" cvar.
o config.cfg is no longer written in case of a Sys_Error.
o Fixed Opus encoded cd tracks not being recognized as ripped tracks.
o Update the third-party libraries. Other fixes/cleanups.