Thad Ward
c7de8342f5
remove some tls.h includes that were apparently missed.
2003-10-01 09:15:51 +00:00
Glenn Maynard
d8d7e4f2ba
Fix wrong sounds stopping wiht WaveOut driver
2003-09-29 20:52:51 +00:00
Steve Checkoway
9f5c43d8a6
Fix warnings. No seriously, do it this time.
2003-09-22 11:08:13 +00:00
Steve Checkoway
8ae984d8f6
Fix warnings. Where did %D come from???
2003-09-22 10:48:05 +00:00
Glenn Maynard
a7af267665
warning
2003-09-19 01:20:02 +00:00
Steve Checkoway
6f99281965
Broken drivers 1 and 2. BROKEN_DRIVER_1 plays the audio really poorly (lots of static) but seems to get the playing position correct, at least most of the time it returns a valid position.
...
BROKEN_DRIVER_2 on the other hand, plays the sound fine, except it seems to change volume, but not during game play, or when it gets a buffer underrun in which case it emits this awful buzzing sound. That happens mostly before the start of a song. However, the position returned is completely invalid.
One of these must work eventually. *sigh*
2003-09-05 00:07:22 +00:00
Steve Checkoway
b24129130e
Replace magic constant with the flags.
2003-09-01 10:18:38 +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
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
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
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
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
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
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
Glenn Maynard
99a5a0f735
add currently unused code
2003-07-31 01:11:42 +00:00
Glenn Maynard
22a3c5b5d9
Experiment: configure the primary mixing buffer
2003-07-31 00:50:25 +00:00
Steve Checkoway
71d1744ea1
Add header.
2003-07-28 10:53:39 +00:00
Steve Checkoway
aaeaa06cdf
In progress. Added header
2003-07-28 10:42:20 +00:00
Glenn Maynard
7db6d230df
Cleanup; improve error output.
2003-07-27 06:43:50 +00:00
Glenn Maynard
6a8b046dc9
use RageThread
2003-07-27 03:35:59 +00:00
Glenn Maynard
473a5fffe6
use RageThread
2003-07-27 03:22:04 +00:00
Glenn Maynard
7fdbfa4879
use RageThread
2003-07-27 03:10:44 +00:00
Glenn Maynard
b61b6ea156
add missing header
2003-07-27 00:48:38 +00:00
Glenn Maynard
8f729668ec
remove header
2003-07-26 23:13:11 +00:00
Glenn Maynard
2110594735
add missing header
2003-07-26 23:12:38 +00:00
Glenn Maynard
14e63f1c37
Start playing in the thread.
...
Fill a buffer before we start playing.
2003-07-23 21:25:38 +00:00
Glenn Maynard
16154f7eb2
allow NULL play_pos
...
allow changing volume back to 1
2003-07-23 21:22:26 +00:00
Chris Danford
278cb4c3f1
runs on Xbox
2003-07-22 07:47:27 +00:00
Chris Danford
8158ca8770
compiles on Xbox (still a CRT linking error though)
2003-07-11 03:15:28 +00:00
Glenn Maynard
7639f547f4
Disable a trace I don't need right now;
...
error check.
2003-07-09 20:40:28 +00:00
Steve Checkoway
1f2a99a431
fixed assertion failing.
...
Now GetData bails with an error of -223. I don't know what this is.
2003-07-09 17:24:47 +00:00
Steve Checkoway
9463a65974
added error checking
2003-07-09 17:23:08 +00:00
Steve Checkoway
2156e76b0b
failing an assertion but getting closer
2003-07-09 08:27:27 +00:00
Steve Checkoway
a98fffe856
removed useless check.
2003-07-09 07:30:48 +00:00
Steve Checkoway
e8d718383e
Seperate the QuickTime sound drivers into two classes.
...
One (working atm) class for a single Sound Manager channel.
One (not working atm) class for multiple Sound Manager channels.
2003-07-09 05:26:33 +00:00
Steve Checkoway
c9579fe6b5
Not quite working but I can work out a bug or two it _should_ play back the audio much better for computers that support multitple channels (I assume that they all can!) and it should play the same for those computers that don't support it.
...
Right now I'm getting an error of -223 from the bufferCmd but I haven't figured out what the hell that actually is.
If you want a working sound driver for OS X, just use the previous version of these files.
2003-07-05 07:38:03 +00:00
Steve Checkoway
1d655dcb7a
fix, update, etc.
2003-06-25 09:04:42 +00:00
Steve Checkoway
352a8ab860
remove LOG->Trace()
2003-06-25 05:16:19 +00:00
Steve Checkoway
a94b35af95
Works correctly now. One assertion might fail when the number of samples
...
excedes 2^32. That should be handled more gracefully but I haven't figured
out how yet.
2003-06-24 13:23:30 +00:00
Steve Checkoway
b7dc511b55
Remove'em in favor of a QuickTime driver.
2003-06-24 08:46:32 +00:00
Steve Checkoway
226c8e8e48
Use QuickTime instead of SDL audio
2003-06-24 08:44:02 +00:00