Commit Graph

13 Commits

Author SHA1 Message Date
Zack Middleton 0e412276c5 Add support for playing MP3s using libmad
Based on Thilo's Elite Force patch for ioq3.

Updated Makefile changes. Left out in-tree win32 lib support.
Striped trailing whitespace from snd_codec_mp3.c.
Changed two #if USE_CODEC_MP3 to use #ifdef.
2014-10-29 05:49:57 -05:00
Zack Middleton 3dd5c5d862 Add Ogg Opus support 2013-02-17 18:32:05 -06:00
Thilo Schulz 8a72bbb38f Make sound fallback behaviour for music streams less verbose 2011-06-25 09:35:03 +00:00
Thilo Schulz 59271903a2 More codec loader troubles with extensions 2011-05-12 12:25:36 +00:00
Thilo Schulz 68338a8268 Fix crash bug in new codec audio loader, thanks brain for reporting 2011-05-12 10:53:36 +00:00
Thilo Schulz 185d2d6b60 Add codec fallback support for sound files not found, Patch by Zack Middleton (#4982) 2011-05-09 22:40:25 +00:00
Tim Angus 9cc4e0c976 * Fix to bug in S_FileExtension (Tr3B) 2008-01-19 19:06:25 +00:00
Tim Angus b62950ca6e * Fix bug where an extraneous render command can cause a crash when
recording video
* Make S_CodecUtilClose NULL the snd_stream_t pointer
* Fix indentation in runtime SDL check code
2007-11-18 01:06:46 +00:00
Tim Angus 7562caa310 * Move the conditional compilation of bg_lib.c from the Makefile to cpp in
order to force dependency generation on bg_lib.*
* Make testing USE_ defines more consistent
2007-09-22 20:32:11 +00:00
Thilo Schulz 503c0a22c6 Partially applied patch from Joerg Dietrich. Fixes:
- incorrect handling of file names when opening sound files by name without extension
 - byte endian issues in ogg decoder.
2006-06-01 00:14:56 +00:00
Tim Angus 893629fb0f * Fix to ability to diabled Ogg Vorbis 2006-01-21 15:09:35 +00:00
Tim Angus dbf7caec10 * Ogg codec support from Joerg Dietrich <dietrich_joerg@gmx.de> (disabled by
default)
2006-01-06 17:36:03 +00:00
Tim Angus 84c4f21082 * OpenAL support, from BlackAura aka Stuart Dalton <badcdev@gmail.com>
+ An abstract codec system, simplifying support for new formats
  + Changes versus BlackAura's patch:
    o Consolidated the OpenAL parts into one file
    o Changed the function naming scheme to more closely resemble Q3
    o Changed the interface to fall back on the "base" sound system
      if loading OpenAL fails
  + This is enabled on Linux and MinGW for now, but should work on the
    other *nixs with appropriate additions to the Makefile
  + NOT enabled on OS X or MSVC Windows builds
  + Probably breaks the Windows build again
* Retabulated sdl_snd.c and made the messages less verbose since
  there do not seem to be many having problems with SDL sound now
2005-11-13 18:58:14 +00:00