Commit Graph
345 Commits
Author SHA1 Message Date
Glenn Maynard d1db9209eb fix movie sync bug 2003-09-02 00:38:01 +00:00
Glenn Maynard 587b331ee2 fix warning 2003-09-01 23:24:01 +00:00
Glenn Maynard 02e39d7f67 Handle first frame rendering correctly 2003-09-01 19:22:14 +00:00
Glenn Maynard 21cf140aa4 remove unused MovieTexture_DShow::Stop 2003-09-01 17:38:09 +00:00
Glenn Maynard 58c81413fc Handle a still frame when we pause 2003-09-01 17:32:55 +00:00
Glenn Maynard d44c5d2890 Minor simplifications and fixes 2003-09-01 17:20:55 +00:00
Steve Checkoway b24129130e Replace magic constant with the flags. 2003-09-01 10:18:38 +00:00
Steve Checkoway 6074513c61 Use CoreAudio driver. 2003-09-01 10:16:57 +00:00
Glenn Maynard 355048e4ea cleanup 2003-09-01 06:39:08 +00:00
Steve Checkoway 9caf9d24d0 Remove code from the aborted 6th attempt.
Remove SAFE_* since that still couldn't be used in that function. Oh well.
Fix the bug that was crashing SM.

This driver actually works. When I say, "works," I mean that the position of the playing sound is actually returned correctly. The sound, however, is absolutely awful.
2003-08-31 14:26:53 +00:00
Steve Checkoway 819432de8f Initial effort for the 6th (and 7th, sorta) Mac OS X sound driver attempt. 2003-08-31 13:41:04 +00:00
Glenn Maynard 12ecbb4d95 Log the internal pixel format 2003-08-29 17:40:51 +00:00
Glenn Maynard 54a9c78fac Improve error handling. 2003-08-29 16:50:47 +00:00
Glenn Maynard 18eb78de77 Simple frame skip support 2003-08-29 06:10:03 +00:00
Glenn Maynard 5fdf62e355 fix deadlock 2003-08-29 05:39:47 +00:00
Glenn Maynard f9058608c4 enable libavcodec-based movie decoding 2003-08-29 04:36:14 +00:00
Glenn Maynard 22ef42ba7f libavcodec-based movie decoding 2003-08-29 04:34:10 +00:00
Glenn Maynard 0e8a379fa7 MovieTexture::Stop is never used; use Pause 2003-08-29 04:33:13 +00:00
Glenn Maynard 5dfbd1e0aa remove old comment 2003-08-28 17:10:30 +00:00
Glenn Maynard 496e1e1f40 fix #define 2003-08-28 05:43:44 +00:00
Glenn Maynard 3728708145 Improve error messages when OpenGL video init fails 2003-08-28 00:08:01 +00:00
Glenn Maynard f39ad2a9a7 This is unused. If you're not using OpenGL, don't compile LowLevelWindow at all. 2003-08-27 23:33:18 +00:00
Glenn Maynard 7395839f3e Simplify.
Hide the window when we finish loading.  (It should really
shut down GTK altogether, so we don't keep junk in memory and
shut down the extra X11 connection--but GTK doesn't appear to
have any way to do that.)
2003-08-16 23:30:01 +00:00
Glenn Maynard 9975ef73fb Simplify. 2003-08-16 21:16:02 +00:00
Steve Checkoway 372881248e Well, since this is the only sound driver working atm. Replace the latency with a simple calculation of the time to drain a buffer. Also, use more samples. 2003-08-12 02:44:09 +00:00
Glenn Maynard 158dbedd25 fix compile 2003-08-11 21:05:18 +00:00
Steve Checkoway 5ba3bb1e30 Go back to using the RageSound_QT1 class since RageSound_QT is broken. 2003-08-11 08:55:34 +00:00
Steve Checkoway 99c5923839 Re-added. RageSound_QT broke right after I removed this. 2003-08-11 08:54:30 +00:00
Steve Checkoway db45a1cdb2 Add movie error checking. 2003-08-11 07:25:16 +00:00
Steve Checkoway 14cc23c84e Update formatting. 2003-08-11 07:13:46 +00:00
Chris Danford d049234f03 working on course edit screen 2003-08-10 23:48:10 +00:00
Steve Checkoway 09c5bd5d88 Remove commented code and small changes in an attempt to get this to work again. Still no luck but at least the file is readable again. 2003-08-10 20:09:58 +00:00
Steve Checkoway 7b3a7056c8 Fix crash. 2003-08-10 03:53:02 +00:00
Steve Checkoway 9da68fd3cf Use RageSoundDriver_QT. RageSoundDriver_QT1 has been removed. 2003-08-10 03:24:44 +00:00
Steve Checkoway 762afe38a4 Fix compiler warnings. 2003-08-10 03:23:17 +00:00
Steve Checkoway d2416b3826 Unneeded class. 2003-08-10 00:51:44 +00:00
Steve Checkoway c000b91536 Sound driver now works. I don't know if it is perfect or not, but GetPosition seems to return valid positions. 2003-08-10 00:43:18 +00:00
Steve Checkoway c1c03d392c argh. It was correct before. Throw the damn exception! 2003-08-08 09:14:44 +00:00
Steve Checkoway 1f321a3809 This isn't finished and shouldn't be used to build a working binary! I didn't mean to commit it in the first place. 2003-08-08 09:11:28 +00:00
Steve Checkoway 9bf1fec101 Added files. 2003-08-08 09:03:30 +00:00
Steve Checkoway 4df19805c5 Change braces to match the rest of SM.
Remove the tab after the last newline.
2003-08-07 08:18:03 +00:00
Steve Checkoway 8d40a35d59 RageSoundDriver_QT.cpp 2003-08-05 11:40:21 +00:00
Glenn Maynard 32e81d2bbc Use CHECKPOINT and RageThreads. 2003-08-05 01:32:51 +00:00
Glenn Maynard 8ee7dc93a6 use CHECKPOINT 2003-08-05 01:32:21 +00:00
Glenn Maynard d87c986b97 the main thread is set up implicitly now 2003-08-05 01:30:51 +00:00
Glenn Maynard 7526068a1b add missing header 2003-08-05 00:39:52 +00:00
Steve Checkoway f23609fbfe simplify and move EnterMovies() to ArchHooks_darwin.cpp. Disable RageSoundDriver_QT because the class isn't quite finished and it's unplayable. 2003-08-04 11:32:30 +00:00
Steve Checkoway 9c1af52570 Nearly complete. If I can get the callbacks working, this should work. 2003-08-04 11:22:33 +00:00
Steve Checkoway 6e623fe6fc Update the QuickTime movies each time through the game loop. 2003-08-04 11:20:40 +00:00
Steve Checkoway 427bed263d Allow the archhooks to update if needed once per cycle through game loop. This is done after inputs have been handled 2003-08-04 11:18:55 +00:00