Commit Graph

502 Commits

Author SHA1 Message Date
Tim Angus 5cc1fb1c05 * Improved the robustity^Wrobustosity^Wrobustness of the OpenAL music and raw
stream systems
* Implemented S_AL_BufferEvict for more graceful behaviour when OpenAL runs
  out of memory
2005-12-03 00:19:27 +00:00
Tim Angus 0f8c177cf3 * Fix to an OpenAL "bug" 2005-12-02 00:14:24 +00:00
Tim Angus 796ba11301 * Ditch Mac OS 9 support 2005-12-01 21:36:16 +00:00
Tim Angus 1b314e8934 * Updated AL headers
* Added a Makefile option USE_LOCAL_HEADERS which can be disabled to use system
  headers if desired
2005-12-01 20:53:28 +00:00
Tim Angus acb810b972 * Fix compilation when using SDL and dlopening OpenAL 2005-12-01 20:45:01 +00:00
Tim Angus 3161a34a4f * Fixed bug where if two looping sounds were added to a single entity they
would fight for a source and you'd get a horrible distorted sound that was
  each of the two sounds interleaved
* Changed the default of s_alPrecache to 1 -- having it off seems to cause
  problems for some and it doesn't actually improve things much
* Changed a few of the variable names in snd_openal.c to be more sane
2005-12-01 18:22:42 +00:00
Tim Angus 31b7243ef3 * Fix a warning on non-PPC builds 2005-12-01 18:01:43 +00:00
Ryan C. Gordon 5bc17ccf4b Fixed detection of Altivec on Mac OS X, and added attempt at general detection
with SIGILL/setjmp hackery for PowerPC Linux, etc.
2005-12-01 11:49:02 +00:00
Ryan C. Gordon 4bea1e4ff9 r_smp now works as expected with sdl_glimp.c on Mac OS X. 2005-12-01 11:16:36 +00:00
Ryan C. Gordon 820f41162e Another "long double" ... 2005-12-01 10:59:50 +00:00
Ludwig Nussel b130d6be52 fix the stupid i386/x86/amd64/x86_64 weirdness 2005-12-01 09:54:14 +00:00
Ludwig Nussel 71d1b70767 convert the logo to xpm during "make dist" 2005-11-30 21:34:52 +00:00
Ludwig Nussel f5228d8745 don't use ImageMagick 2005-11-30 21:21:46 +00:00
Ludwig Nussel dfa3d1d875 add "very high quality" option (patch by Pascal de Bruijn) 2005-11-30 20:28:21 +00:00
Tim Angus ae39051f1e * Support RIFF files with zero length data chunks (yes they exist, and yes,
they're legal)
* Colourise the OpenAL warnings so they're somewhat more obvious
2005-11-30 01:57:53 +00:00
Ryan C. Gordon 4784374221 Make sure Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN are defined correctly for
PowerPC/x86 Mac OS X. Fixes Bugzilla #2510.
2005-11-29 03:31:31 +00:00
Ryan C. Gordon 7590843afe Fixed comment. 2005-11-28 11:20:35 +00:00
Ryan C. Gordon 6c0079508c First shot at SMP renderer with sdl_glimp. Does not work yet! 2005-11-28 10:56:27 +00:00
Ryan C. Gordon 4517e7a34b Fixed some compiler warnings in lcc...mostly "long double" stuff. 2005-11-28 09:53:09 +00:00
Ryan C. Gordon 807ba08558 Must explicitly define MACOS_X here or lcc won't build on the Mac. 2005-11-28 09:50:55 +00:00
Ludwig Nussel 5a14f87be4 add note: merge unix_net.c and win_net.c 2005-11-27 19:14:35 +00:00
Ludwig Nussel be42cb3201 files to create a loki-setup based installer. run "make installer" 2005-11-27 15:34:16 +00:00
Ludwig Nussel 64025e68f0 fix warning about cast from integer to pointer 2005-11-27 15:01:56 +00:00
Zachary Slater 194c60d2a3 documentation updates 2005-11-27 08:37:38 +00:00
Tim Angus 68a59e1c93 * Moved win32 GL extension prototypes from tr_init.c to win_qgl.c 2005-11-26 17:51:26 +00:00
Tim Angus 382c6adb54 * Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.local
* Remove -gfull from linux section in Makefile -- it's darwin only
* Cast away some warnings that surfaced from using "new" AL headers
* Various whitespace and consistency fixes
2005-11-26 15:01:28 +00:00
Ryan C. Gordon 877f360812 SDL and OpenAL headers. 2005-11-26 07:59:00 +00:00
Ryan C. Gordon 721b9a7d01 Mac OS X work...lots of little changes that touch a lot of random places.
Still work to be done, but this at least matches the PowerPC Linux status
 now.

MacOS-specific directory (and XCode project) is gone...this now uses SDL,
 OpenAL, and the Unix Makefiles.

--ryan.
2005-11-26 07:46:21 +00:00
Ryan C. Gordon b20b86bbbe Don't byteswap when resampling audio...we byteswapped it previously in the
codecs.
2005-11-20 15:35:45 +00:00
Aaron Gyes 6d4f5ffbf6 I'm a nazi. 2005-11-20 04:12:15 +00:00
Ludwig Nussel 108c051345 make internal functions static 2005-11-19 14:53:46 +00:00
Tim Angus fee4381e18 * Remove the debug text that nobody seemed to notice 2005-11-19 02:14:34 +00:00
Tim Angus 82893aebc9 * Bleh.. whitespace 2005-11-16 20:25:36 +00:00
Tim Angus 387d8041ce * Partial implementation of FS_Seek for files in pk3s
* A couple of RIFF decoder tweaks/fixes
2005-11-16 20:23:37 +00:00
Tim Angus 736d34c989 * Small "bug" fix to MSG_WriteBits 2005-11-15 23:49:14 +00:00
Tim Angus b5c7d9dcd7 * Implementation of r_dlightBacks from Shane Isley 2005-11-15 23:30:35 +00:00
Tim Angus 47c70ae076 * ... 2005-11-15 22:22:45 +00:00
Tim Angus 6be591daa1 * Don't link OpenAL against q3ded 2005-11-15 22:09:45 +00:00
Tim Angus 25785fe0e6 Potential fix to https://bugzilla.icculus.org/show_bug.cgi?id=2486 2005-11-15 17:02:45 +00:00
Tim Angus 0163f77f4e * Oops, missed a bit 2005-11-14 18:35:31 +00:00
Tim Angus 9d7bb06743 * Replace a redundant function in the wav decoder 2005-11-14 18:26:25 +00:00
Tim Angus e8a953fea6 * Quiet some warnings on OS X 2005-11-13 23:05:00 +00:00
Tim Angus 668fdc102c * Unbreak the MinGW build more...
* Unbreak USE_OPENAL_DLOPEN=1
2005-11-13 22:16:24 +00:00
Tim Angus 33c1528673 * Unbreak the MinGW build 2005-11-13 21:23:16 +00:00
Ludwig Nussel 1c2722a9ba link against libopenal by default rather than dlopening it 2005-11-13 21:01:44 +00:00
Ludwig Nussel 17719e0c61 soname is libopenal.so.0 2005-11-13 21:01:07 +00:00
Zachary Slater 8612d7e475 Removed openal since Timbo is awesome and did it.
Edited the DX for Windows line, since I should be clear.
2005-11-13 19:36:52 +00:00
Ludwig Nussel 70243103fc merge changes that got lost due to openal checkin at same time as rename
to README
2005-11-13 19:07:54 +00:00
Ludwig Nussel 982e996bee README is better 2005-11-13 19:02:23 +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