Glenn Maynard
|
43cdeb0fcd
|
diag
|
2007-07-22 20:49:40 +00:00 |
|
Glenn Maynard
|
4b9b5eec08
|
backwards compatibility
|
2007-05-03 02:19:10 +00:00 |
|
Glenn Maynard
|
c5448c61d5
|
don't RageException::Throw from a thread
|
2007-05-03 02:10:26 +00:00 |
|
Steve Checkoway
|
812dd48169
|
Handle race condition more intelligently by invalidating in the callback itself.
|
2007-03-25 23:51:53 +00:00 |
|
Steve Checkoway
|
95429c20eb
|
Include global.h.
|
2007-03-24 04:38:47 +00:00 |
|
Steve Checkoway
|
ffc4fb00bd
|
Set the hardware sample rate first. There seems to be an issue with setting the stream format's sample rate and then the device's sample rate before initializing the AudioUnit. Once initialized, it handles device format changes. I'm not sure why it doesn't before initialization.
|
2007-03-24 03:29:01 +00:00 |
|
Steve Checkoway
|
fef107f778
|
Doing this one time is enough.
|
2007-03-24 03:15:08 +00:00 |
|
Steve Checkoway
|
3c73e111fd
|
Change set precedence api to return an error message.
|
2007-03-12 03:37:24 +00:00 |
|
Glenn Maynard
|
201cc449bd
|
remove m_fVolume
|
2007-01-27 07:29:22 +00:00 |
|
Glenn Maynard
|
1bf9de3543
|
float
|
2007-01-27 07:18:52 +00:00 |
|
Glenn Maynard
|
db674f125f
|
init normally, with the rest
|
2007-01-19 02:40:07 +00:00 |
|
Glenn Maynard
|
38a2c6d5c2
|
init m_iMaxHardwareFrame
|
2007-01-19 01:28:13 +00:00 |
|
Glenn Maynard
|
e6db9bc2a7
|
RageSound_Generic_Software -> RageSoundDriver
|
2007-01-19 00:38:24 +00:00 |
|
Glenn Maynard
|
f8c19d688d
|
clarify
|
2007-01-18 09:28:05 +00:00 |
|
Glenn Maynard
|
0c2a32144c
|
remove unused RageSoundDriver_Generic_Software.h
|
2007-01-18 09:23:55 +00:00 |
|
Glenn Maynard
|
5486753c90
|
RageSoundDriver
|
2007-01-18 09:20:56 +00:00 |
|
Glenn Maynard
|
d6efbc455c
|
This isn't safe; RageSoundDriver::StopMixing skips to HALTING. The decoder thread shouldn't hold the lock long anymore, since reading data should be nonblocking (readers at this point are either preloaded, or have a threaded buffer).
|
2007-01-18 07:32:41 +00:00 |
|
Steve Checkoway
|
7a6eabd616
|
RageSoundDriver.
|
2007-01-02 23:23:30 +00:00 |
|
Steve Checkoway
|
ea988bab1c
|
Remove old, buggy driver.
|
2006-12-30 04:31:55 +00:00 |
|
Steve Checkoway
|
941c11b55e
|
Windows can't handle standard format specifiers...
|
2006-12-30 04:27:36 +00:00 |
|
Steve Checkoway
|
c7baf0f7bd
|
Initialize to zero.
|
2006-12-30 04:23:24 +00:00 |
|
Steve Checkoway
|
45659961ce
|
Casting to ints produces incorrect results when the number is larger than 2^32.
|
2006-12-30 04:16:21 +00:00 |
|
Glenn Maynard
|
bc097b6b03
|
clamp hardware frames in RageSoundDriver, instead of in each sound
|
2006-12-23 10:53:39 +00:00 |
|
Glenn Maynard
|
98a3d5f856
|
more consistent code path: call SoundIsFinishedPlaying when the driver stops mixing, even if it's due to RageSoundDriver::StopMixing
|
2006-12-23 10:32:37 +00:00 |
|
Glenn Maynard
|
cc55d56948
|
remove unused m_iSoundID
|
2006-12-23 09:51:50 +00:00 |
|
Glenn Maynard
|
fe05072aa8
|
handle position queuing within RageSoundDriver; this eliminates
an awkward dependency on RageSoundManager
|
2006-12-23 09:45:15 +00:00 |
|
Glenn Maynard
|
a77a9ce6e5
|
more private
|
2006-12-23 09:39:50 +00:00 |
|
Glenn Maynard
|
3faec793db
|
stop on any error
|
2006-12-23 03:47:38 +00:00 |
|
Glenn Maynard
|
6531fb0013
|
transition: move RageSound_Generic_Software logic into RageSoundDriver
|
2006-12-22 22:43:24 +00:00 |
|
Glenn Maynard
|
bafea3b7ab
|
GetPosition() -> GetHardwareFrame; handle timing retry in the driver,
so the logic is available to the driver
|
2006-12-22 22:22:01 +00:00 |
|
Glenn Maynard
|
4dd1f97875
|
remove unused
|
2006-12-22 21:56:02 +00:00 |
|
Glenn Maynard
|
ae6fd617ab
|
restore comment
|
2006-12-22 21:51:51 +00:00 |
|
Glenn Maynard
|
25d63192f5
|
simplify
|
2006-12-22 21:50:58 +00:00 |
|
Glenn Maynard
|
2c811073d6
|
remove comment
|
2006-12-22 21:49:53 +00:00 |
|
Glenn Maynard
|
9a29ffb77d
|
remove min_fill_frames, min_streaming_buffer_size; handled by ThreadedBuffer
|
2006-12-22 21:49:05 +00:00 |
|
Glenn Maynard
|
b1dd8f2084
|
comment
|
2006-12-22 21:31:24 +00:00 |
|
Glenn Maynard
|
3deabcbe2f
|
handle WOULD_BLOCK
|
2006-12-22 21:30:14 +00:00 |
|
Glenn Maynard
|
1683b9951a
|
RSGS::GetDataForSound also like Read
|
2006-12-22 21:28:16 +00:00 |
|
Glenn Maynard
|
24624a5c92
|
GetDataToPlay API more like RSR::Read
|
2006-12-22 21:24:19 +00:00 |
|
Glenn Maynard
|
1b18090e90
|
remove ReachedEOF
|
2006-12-22 21:18:29 +00:00 |
|
Glenn Maynard
|
bfed0b6f83
|
always go into PLAYING
|
2006-12-22 21:17:34 +00:00 |
|
Glenn Maynard
|
ef9bf1835e
|
merge/simplify
|
2006-12-18 22:06:23 +00:00 |
|
Glenn Maynard
|
f2e0053c7d
|
Make* -> Driver::Create. Having these floating in arch.h isn't
useful; if you create the class, you need the class definition to
free it, and anyone creating a class is probably going to use it,
too.
|
2006-12-17 08:00:03 +00:00 |
|
Glenn Maynard
|
2b9a167455
|
add RageDriver to merge duplicate boilerplate code
|
2006-12-17 07:06:53 +00:00 |
|
Glenn Maynard
|
519e61ee48
|
style cleanup
|
2006-12-17 07:04:43 +00:00 |
|
Glenn Maynard
|
d4f43cf844
|
reduce boilerplate code
|
2006-12-17 07:00:30 +00:00 |
|
Glenn Maynard
|
799f20d8d1
|
unreachable (we check for this outside), and we can return NULL anyway, if all drivers fail
|
2006-12-17 06:17:56 +00:00 |
|
Glenn Maynard
|
fb968d435d
|
uhh
|
2006-12-17 06:15:13 +00:00 |
|
Glenn Maynard
|
59b35c19bb
|
simplify stream configuration
|
2006-12-16 22:45:44 +00:00 |
|
Glenn Maynard
|
b700578675
|
remove unused param
|
2006-12-15 21:23:37 +00:00 |
|