Commit Graph
69 Commits
Author SHA1 Message Date
Aaron VonderHaar dfe8acc3a8 Finally working! Not the most optimized or robust, but at least
now playable under linux.
2003-04-15 05:56:39 +00:00
Glenn Maynard f982d75691 Fix locking.
(Oops, I guess this is a remnant of the original test code, that did use SDL audio ...)
2003-04-12 18:10:50 +00:00
Glenn Maynard c7fdf4ed9e whitespace changes only: sm uses a hard tab width of 4, not 8 2003-03-17 20:12:00 +00:00
Glenn Maynard d95c8885db fix busy looping in the null sound driver 2003-03-17 20:05:49 +00:00
Glenn Maynard e6e271f790 hopefully fix some skips in DSound (sleep calculation was giving
results higher than I intended)
2003-03-17 20:02:20 +00:00
Glenn Maynard a561c10189 fix underrun notice 2003-03-17 20:01:05 +00:00
Glenn Maynard 9b635c0015 add some asserts near where some crashdumps pointed to 2003-03-06 08:10:28 +00:00
Aaron VonderHaar 0b9448cf66 arrows now sync properly to the music (as far as I can tell) 2003-03-01 08:09:45 +00:00
Aaron VonderHaar 06b941482d replaced by ALSA9 2003-02-23 08:41:22 +00:00
Aaron VonderHaar 7c7356ed7d First sounds from linux (see followup post to devs list) 2003-02-23 08:39:29 +00:00
Tim Hentenaar 9f3fcd9b18 changed sleep() to SDL_Delay() 2003-02-20 23:36:36 +00:00
Tim Hentenaar 62ed523253 Added MixerThread() to RageSound_Linux to imitate that of RageSoundDriver_WaveOut 2003-02-20 23:21:55 +00:00
Aaron VonderHaar 3683d70c0f Make it compile and link, even though it doesn't work 2003-02-20 23:14:33 +00:00
Glenn Maynard 922e374aaa Make this compile in Windows.
Don't use nanosleep; it's nonportable.  Use SDL_Delay() instead.
2003-02-20 22:54:12 +00:00
Glenn Maynard 328f43d4dc sleep(n) sleeps for n *seconds*; you want SDL_Delay(n),
which sleeps for n milliseconds
2003-02-20 22:07:47 +00:00
Glenn Maynard 9c53564cc6 lower DS_V to 0x0700 2003-02-20 21:57:28 +00:00
Aaron VonderHaar d7a04ab91c Makes RageSoundDriver_Null pretend to play sounds 2003-02-20 15:17:06 +00:00
Chris Danford 32cdbed7bf Added detection of buggy Voodoo3 drivers, then found a hack that fixes the problems. Sigh... 2003-02-20 10:41:43 +00:00
Chris Danford 6796e39be7 backport DirectSound8 -> DirectSound. However, we're still linking with DirectSound8. Will change this later... 2003-02-20 07:17:15 +00:00
Tim Hentenaar 9b0f6baef2 misc. fixes 2003-02-19 23:53:19 +00:00
Chris Danford 6518f024e2 sound options cleanup
fix invalid sample music start and length values (Bag and more)
2003-02-19 23:49:57 +00:00
Tim Hentenaar 197c98b75b *** empty log message *** 2003-02-19 10:03:57 +00:00
Tim Hentenaar e7ae2d6284 Linux sound compiles now\! 2003-02-19 09:52:45 +00:00
Tim Hentenaar 16acb48ecd bug fixes... still having errors 2003-02-19 09:29:04 +00:00
Tim Hentenaar 3160a86e65 fixed a few code errors, but still having compile problems 2003-02-19 07:38:45 +00:00
Tim Hentenaar 71d7ab099c Added RageSound Driver for Linux 2003-02-18 19:24:18 +00:00
Glenn Maynard 91d5ac72a2 log sound drivers 2003-02-17 02:37:38 +00:00
Glenn Maynard 6cabe523a6 more stdafx -> global 2003-02-16 04:02:21 +00:00
Glenn Maynard 6b5bbfd210 why did I put this in here? 2003-02-14 06:39:50 +00:00
Glenn Maynard 649f835042 add null sound driver 2003-02-12 01:54:01 +00:00
Glenn Maynard 9e991a95cd change buffer tracking a bit to make underruns easier to detect 2003-01-31 21:34:15 +00:00
Glenn Maynard 724f3af240 minor correction 2003-01-27 23:09:40 +00:00
Glenn Maynard bca879f9b0 update 2003-01-24 22:28:23 +00:00
Glenn Maynard 5c20ab433a reduce the sleep 2003-01-24 01:34:25 +00:00
Glenn Maynard 9df986c8a1 speedup 2003-01-20 09:22:30 +00:00
Glenn Maynard bfd2d10a15 properly abstract the volume so we don't touch prefsman in RSM
fixes crash
2003-01-19 19:55:24 +00:00
Glenn Maynard d72770a1a9 increase the buffer size for hardware mixing a bit 2003-01-19 00:52:17 +00:00
Glenn Maynard 875108d691 use m_fSoundVolume 2003-01-11 04:04:15 +00:00
Glenn Maynard b09c5702b4 Double-check the buffer size.
Don't use DSBCAPS_STATIC.
2003-01-08 01:36:06 +00:00
Glenn Maynard 81e8f26db9 removed 2003-01-08 01:30:21 +00:00
Glenn Maynard 92d2a28940 set mixer volume 2003-01-08 00:44:17 +00:00
Glenn Maynard 0797cdb4bd rename GetPCM -> GetData in drivers (confusing) 2003-01-07 03:55:43 +00:00
Glenn Maynard ec72c1e406 fix uninitted variable 2003-01-02 22:59:36 +00:00
Glenn Maynard 05d9719441 use better mixer 2002-12-31 01:13:58 +00:00
Glenn Maynard fc916dde9b separate buffer size and write-ahead 2002-12-31 01:08:35 +00:00
Glenn Maynard cb09c3cdcb sleep a bit more in the DirectSound driver (not -sw) 2002-12-31 00:54:54 +00:00
Glenn Maynard f87e63a386 fix some dumb sync bugs 2002-12-29 00:19:05 +00:00
Andrew Livy 387905a785 Added Dancing Stage 3DDX (SINGLE MODE ONLY)
NOTE: I commented out an ASSERT in NoteData.cpp
at Line 429
//	ASSERT( iOriginalTrack < pOriginal->m_iNumTracks );
I don't understand how the AutoGen code works, but all I do know is
that the game works without this assert, but possibly in a way people
didn't want defined. Please can somebody (preferably Chris as he
says he's the only one who understands notedata :D) look at this
and figure out what i'm doing wrong.
I feel a bit uneasy taking out an assert to make things work....
2002-12-28 16:07:19 +00:00
Glenn Maynard f7bf2ef2fa changed sound API 2002-12-22 08:13:33 +00:00
Glenn Maynard 999d6c354b s/throw RageException/RageException::Throw/ 2002-12-21 23:15:01 +00:00