Steve Checkoway
f33e9db593
Simplify
2004-07-16 09:25:43 +00:00
Steve Checkoway
e1163df683
Fix off by one crash. I meant to commit this days ago.
2004-07-09 00:49:26 +00:00
Steve Checkoway
d674f57968
Fix Canonical conversion.
2004-07-02 08:26:02 +00:00
Steve Checkoway
4b52a182e1
== not =, shouldn't gcc warn about that without extra ()? Also, my conversion codes doesn't quite work as I had expected, force format to Other for now.
2004-07-02 07:16:36 +00:00
Steve Checkoway
be30fd0236
Cleanup
2004-06-25 23:00:01 +00:00
Steve Checkoway
8b98d83a50
Attempt to make the callback faster when the proc format is either exactly what SM wants (unlikely from what I've read) or the canonical format (according to apple).
2004-06-24 22:04:55 +00:00
Glenn Maynard
b084adf625
don't spam the log with lots of 1- and 2-call underruns
2004-06-21 20:08:02 +00:00
Glenn Maynard
af7df3315f
g_iNumMixCallsForLastIOProc is almost always 1
2004-06-21 02:44:14 +00:00
Glenn Maynard
4ab9934008
reverse output order
2004-06-07 02:05:15 +00:00
Glenn Maynard
dc76bcfbba
track Mix() call count for previous IOproc and last few Mix() durations
2004-06-06 04:33:25 +00:00
Glenn Maynard
9cb17abd2a
try to keep API boundaries passing frames, instead of bytes
2004-06-06 04:25:36 +00:00
Steve Checkoway
bc18ec68ec
oops, I forgot the commit message on the last one. Use GetData's inNow parameter rather than calling GetPos.
2004-05-31 21:55:55 +00:00
Steve Checkoway
bb2c2c38a6
Retabify. Bad xemacs, bad.
2004-05-26 00:58:42 +00:00
Steve Checkoway
ec88a2037e
cleanup formatting
2004-05-25 23:54:16 +00:00
Glenn Maynard
675422c93f
log last ioproc time on overload
2004-05-23 19:45:19 +00:00
Glenn Maynard
6928d7c42d
log frame count
2004-05-19 01:53:27 +00:00
Glenn Maynard
cec11a8454
fix type
2004-05-19 01:20:40 +00:00
Glenn Maynard
e23e8761e2
(untested) measure IOProc time
2004-05-19 00:57:39 +00:00
Steve Checkoway
7e72d8d532
Add suggested changes.
2004-05-16 08:09:36 +00:00
Glenn Maynard
aa73bb0444
license update
2004-05-15 20:28:17 +00:00
Glenn Maynard
62e9aebdad
https://sourceforge.net/tracker/download.php?group_id=37892&atid=421366&file_id=86614&aid=932709
...
format.mSampleRate == 0 means "set it yourself", I think (TODO: actually
set it--SetNominalSampleRate--and verify with IsValidNominalSampleRate)
(I'm not going to try to fix the QT1 driver; hopefully the remaining CA
problems can be fixed and QT can be removed.)
2004-05-10 00:43:57 +00:00
Glenn Maynard
dfded1c1ab
print 44100, not "44100.000000"
2004-05-10 00:39:03 +00:00
Steve Checkoway
7185797b4a
Rearrange things a bit in case the buffer size is dependent on the stream format--it doesn't appear to be but you never know.
2004-04-27 06:44:20 +00:00
Steve Checkoway
f432d615c4
Add buffer size logging and overload listener.
2004-04-27 05:07:19 +00:00
Glenn Maynard
fc18e6186d
increase decoder thread priority by 32 instead of 5; log errors
2004-04-25 23:25:38 +00:00
Glenn Maynard
2312b3a1c3
pack info output more
2004-04-16 22:59:59 +00:00
Steve Checkoway
4392e9f350
Log available sound formats.
2004-04-16 05:04:23 +00:00
Glenn Maynard
c3b3df6d69
There doesn't seem to be any documentation on the purpose of "physical"
...
vs "IOProc" formats (why would you ever want them to be different?), or
their behavior. It's possible that the available IOProc formats depend
on the current physical format, or vice versa, so let's try setting up
one before querying the other.
2004-04-10 08:32:59 +00:00
Glenn Maynard
9d33223c92
StartDecodeThread
2004-04-02 21:32:25 +00:00
Steve Checkoway
06a900de08
Fix another potential memory leak.
...
Be consistent with respect to static vs. anonymous namespaces.
2004-03-28 22:37:12 +00:00
Glenn Maynard
bee8234100
fix potential memory leak
...
increase decoder thread priority
init the hardware stream in the driver, not in the converter
2004-03-28 21:18:21 +00:00
Steve Checkoway
3f17555195
Remove debugging output.
2004-03-24 17:30:44 +00:00
Steve Checkoway
f80f208460
Clean up test, it didn't work anyway.
2004-03-24 17:28:12 +00:00
Steve Checkoway
675706eb82
Working CoreAudio driver for OS X. (Does this make 8 attempts??)
2004-03-24 17:02:02 +00:00
Steve Checkoway
d444d82235
As it says, broken on G5.
2004-03-07 01:39:19 +00:00
Glenn Maynard
fd1dd28b4d
this driver is too noisy; use Trace for regular debugging output, not Info
2004-02-27 06:45:14 +00:00
Steve Checkoway
b480c4e59a
Clean up.
2004-02-21 10:51:50 +00:00
Steve Checkoway
dd38b1ea67
Cleanup and fix compile.
2004-02-20 22:52:20 +00:00
Glenn Maynard
c3196a4a46
use spaces here instead of tabs, so it makes sense with different tab stops
2004-02-20 20:57:02 +00:00
Charlie Reading
c6e410dbe3
Implemented adaptive HAL driver. Somewhat sensitive to machine load. Working on feeder-thread implementation to aleviate sensitivity.
2004-02-20 16:37:07 +00:00
Glenn Maynard
fda40a0efd
update (Mac drivers untested)
2004-01-15 03:03:57 +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