Glenn Maynard
9618def460
simplify DSoundBuf interface
2003-11-01 18:10:15 +00:00
Glenn Maynard
8da311d726
fix memleak
2003-11-01 07:01:36 +00:00
Glenn Maynard
af93453cc9
Fix slow (90-100ms) sound shutdown.
2003-11-01 06:41:14 +00:00
Glenn Maynard
78f3044435
Small buffers with 2.6 kernels.
2003-10-28 08:28:18 +00:00
Glenn Maynard
c9cfc77f0b
Better underrun recovery.
2003-10-28 08:27:10 +00:00
Glenn Maynard
14357ecf41
fix warnings
2003-10-28 07:29:57 +00:00
Glenn Maynard
0e9fb527c1
Fix alignment problems (caused clicking), fix problems that showed up using
...
very small buffer sizes with the 2.6 scheduler.
2003-10-28 07:17:20 +00:00
Glenn Maynard
889b685f18
fix alsa errors being duplicated to stderr
2003-10-22 06:50:08 +00:00
Glenn Maynard
da14c54268
Fixes, software fallback, attenuation support.
2003-10-22 03:41:29 +00:00
Glenn Maynard
b5656d7ec9
oops, us default, not dmix
2003-10-22 02:35:56 +00:00
Glenn Maynard
0d2671bb01
Add ALSA hardware mixing
2003-10-22 02:34:44 +00:00
Chris Danford
b101cba858
fix VC6 compile error
2003-10-22 01:52:59 +00:00
Glenn Maynard
5dfbc32965
fix log
2003-10-21 23:31:31 +00:00
Glenn Maynard
dd671b5d33
fix log
2003-10-21 23:29:59 +00:00
Glenn Maynard
dd6191bdf1
split out ALSA stream code
2003-10-21 22:51:25 +00:00
Glenn Maynard
4dddfeb097
cleanup, simplify
2003-10-21 19:22:06 +00:00
Glenn Maynard
a9bf5ea08f
Lots of fixes.
2003-10-21 09:50:03 +00:00
Glenn Maynard
69402a35aa
fix mix volume
...
cleanup
2003-10-18 20:17:10 +00:00
Glenn Maynard
36758bf240
obey mixer voluem changes
2003-10-16 18:49:12 +00:00
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