Commit graph pcem/src/sound_sb_dsp.h
Author SHA1 Message Date
SarahW
a7d006b637 Rewrote timer code.
The new code is based on timestamps, rather than delays. This eliminates the
need to update every timer in timer_process(), which cost a non-trivial amount
of CPU time on low-end machines.

This involved changes to every user of the timer code, so this change almost
certainly introduces bugs.
2018-08-02 22:06:10 +01:00
SarahW
be7bb04c6b Implemented Sound Blaster DSP busy cycling when playing DMA audio. Fixes stalls in Wing Commander : Privateer when sound enabled. 2018-01-10 18:48:11 +00:00
SarahW
4ca6d67f87 Sound Blaster improvements :
- Implemented audio recording on SB16 & AWE32 (MIDI only)
- Mixer improvements
- SB 2.0 CD mixer can be emulated
- DSP tweaks, mainly for SB Pro. Implemented speaker on/off and limited high speed DMA to SB 2.0 & Pro
- A few other things
Patch from JosepMa.
2017-09-09 14:58:07 +01:00
SarahW
6e51e8975e Sound buffer size now configurable. 2017-06-10 21:00:23 +01:00
SarahW
27545dbd62 Sound Blaster Write Buffer Status register now set to full on data write and cleared after a short wait - sound in Crystal Dream no longer cuts off after the first few seconds. 2016-05-03 21:29:33 +01:00
TomW
3a57341837 Refactored sound code - slight speedup. 2016-02-10 20:49:28 +00:00
TomW
b466ad9f42 Starting Sound Blaster DMA now clears pause status.
Implemented dummy ASP/CSP upload command (DSP command 0x01).
Fixes issues with SB16/AWE32 drivers in Windows 3.x.
2015-10-01 21:41:25 +01:00
TomW
1c3d1039ff ViRGE S3D triangle rendering now uses worker thread.
Fixed clipping bug on ViRGE.
Fixed status window crash.
2014-07-22 21:10:39 +01:00
TomW
2b410a9aea Added meaningful status window information for Mach64 and Sound Blaster.
Disabled some SB debug.
2013-12-12 18:16:22 +00:00
TomW
f822488656 Add missing files from last commit. 2013-05-27 19:56:33 +01:00