Commit Graph
128 Commits
Author SHA1 Message Date
Glenn Maynard 450ade0e95 Add a simple OSS driver. Needs testing. Currently asks for 48000Hz,
but we need a way to ask the sound system what the "preferred" sample
rate is.
2003-04-26 20:59:02 +00:00
Steve Checkoway fbb6cb0e98 If Darwin don't compile ALSA9 drivers 2003-04-26 01:15:45 +00:00
Glenn Maynard ecebd53c34 reduce some memory allocs in the sound thread 2003-04-25 19:52:54 +00:00
Glenn Maynard 3612106dd4 Oops, forgot to commit subdirs ...
This also includes code to use varying sample rates with DirectSound,
so we don't have to do sample rate conversions.  Experimental.
2003-04-25 04:10:18 +00:00
Glenn Maynard 26fb06b8a3 Oops, forgot to commit subdirs ... 2003-04-25 04:09:29 +00:00
Glenn Maynard edd42410c2 missing header 2003-04-23 19:38:30 +00:00
Glenn Maynard a1a17d6e64 add GetSampleRate 2003-04-23 19:30:41 +00:00
Glenn Maynard d26df0c44c Er. Had this here for a long time and it's what snapshots have been.
This seems to keep going back and forth ...
2003-04-23 19:30:12 +00:00
Andrew Livy c86fb65a2f Pump Theme Fixes 2003-04-22 14:32:48 +00:00
Glenn Maynard 576f233eb6 add AdditionalLog 2003-04-22 05:21:08 +00:00
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
Chris Danford cfe1f9ec67 Add parameters to BackgroundChange: fRate, bFadeLast, bRewindMovie, bLoop.
I don't like how this changes the syntax for the #BGCHANGES tag in an SM file.  I will think more about this - it's important to finalize it quickly.
2003-04-14 04:10:01 +00:00
Glenn Maynard eb1e2a0435 use SDL_GetEvent 2003-04-12 19:03:02 +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 625b1beb04 add checkpoints 2003-04-12 16:12:01 +00:00
Glenn Maynard ca1b94a043 LLW_SDL now handles its own SDL events, instead of being fed them
by StepMania.cpp.  This simplifies things; SM.cpp no longer has to
direct SDL messages all over the place.
2003-04-12 02:30:28 +00:00
Glenn Maynard 94836c7be1 add InputHandler_SDL 2003-04-12 02:20:38 +00:00
Glenn Maynard dfa597bbd5 Add InputHandler for SDL input types, instead of handling them as a
special case in RageInput.
2003-04-12 02:15:23 +00:00
Glenn Maynard 7d919be169 update comment 2003-04-12 02:14:00 +00:00
Glenn Maynard d821c4f1b5 add LowLevelWindow 2003-04-07 00:54:32 +00:00
Glenn Maynard 17fdcaa0d2 fix 2003-04-06 15:07:21 +00:00
Glenn Maynard 681443260a add null loading window (not even SDL) 2003-04-06 15:05:24 +00:00
Glenn Maynard 8f74d7987b revert unused change 2003-03-23 23:06:49 +00:00
Glenn Maynard 050e9bbaa3 Bend over backwards to avoid making an extra copy of each
frame; this brings my high-res test clip from 12 to 22 FPS.
2003-03-23 23:02:40 +00:00
Glenn Maynard 567e1c533f move USB handling into a separate file 2003-03-19 20:34:40 +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
Chris Danford d10fe90b95 Fix "loading window hangs around in TaskBar" in Win9x 2003-03-14 22:47:42 +00:00
Chris Danford e7b133cc0e Warn, not Throw if movie codec isn't present. 2003-03-14 22:42:55 +00:00
Glenn Maynard 2bf152c2c2 const fix 2003-03-11 18:40:42 +00:00
Glenn Maynard 123cd35e17 Small movie texture optimization: honor the texture color depth.
Another biggie is that we're copying every frame an extra time in
MovieTexture_DShow::NewData().  This is rather hard to fix without
bringing back the stability problems we had before; I need to think
about how to do this.  (Commenting out this memcpy boosts my test
video to about 22fps, so this isn't minor.)
2003-03-11 18:27:10 +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 f07855afac replace sound driver Linux with ALSA9, create arch_linux.h to house future linux arch includes 2003-02-23 09:03:10 +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 db800d366c fascinating whitespace changes 2003-02-20 21:58:06 +00:00
Glenn Maynard 9c53564cc6 lower DS_V to 0x0700 2003-02-20 21:57:28 +00:00
Glenn Maynard d9ad14bbaf don't probe pump pads that aren't there 2003-02-20 21:42:08 +00:00
Chris Danford 848ad6e2be clean up detection and handling of drivers with problematic AA lines
only draw topmost screen if topmost screen isn't transparent (speeds up options menus in editor)
optimized beat bar drawing in NoteField
2003-02-20 21:22:18 +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