32 Commits

Author SHA1 Message Date
Allofich
fea9f20adf Remove unneeded includes 2021-06-09 11:11:04 +09:00
Allofich
67ebe980a7 Remove unneeded includes 2021-06-06 04:39:54 +09:00
Allofich
9294d450ec SVN r4412
Update copyright.
2021-03-06 21:18:08 +09:00
Emmanuel Gil Peyrot
d1802fe5fa Replace Bit32s with int32_t 2020-09-28 17:14:35 +02:00
Emmanuel Gil Peyrot
c0a106535e Replace Bit32u with uint32_t 2020-09-28 17:14:35 +02:00
Emmanuel Gil Peyrot
9c64c99bab Replace Bit16s with int16_t 2020-09-28 17:14:35 +02:00
Emmanuel Gil Peyrot
a431d81213 Replace Bit16u with uint16_t 2020-09-28 17:14:35 +02:00
Emmanuel Gil Peyrot
7d6fefeaed Replace Bit8s with int8_t 2020-09-28 17:14:35 +02:00
Emmanuel Gil Peyrot
35f38f3ebe Replace Bit8u with uint8_t 2020-09-28 17:14:35 +02:00
rderooy
608a657b50 Update copyright year for dosbox and dosbox-x assets and update FSF address 2020-06-25 08:42:32 +02:00
Wengier
0ba05b27a6 Update mixer.h 2020-06-07 17:37:32 -04:00
Wengier
c99472d4b2 Save state includes 2020-06-03 21:35:49 -04:00
Jonathan Campbell
13646fc615 Merge pull request #1141 from Allofich/warnings3
Cleanup
2019-06-15 08:53:57 -07:00
Allofich
8598f90386 Remove undefined function declarations 2019-06-15 20:13:21 +09:00
Allofich
62fed560b4 Fix uninitialized variable warnings
Also fix a NULL dereference warning
2019-06-14 22:40:22 +09:00
Allofich
d84a812743 SVN r4183 (second half)
Update year
2019-06-03 23:01:41 +09:00
Allofich
05619dd023 SVN r4183 (first half)
Update address of FSF
2019-06-03 22:54:46 +09:00
Jonathan Campbell
61f5825ef1 remove unused mixer enum 2018-06-09 07:34:38 -07:00
Jonathan Campbell
8056eef226 bugfix: mixer needs to apply left/right volume levels even if incoming
audio is in mono.
2016-03-04 16:51:07 -08:00
Jonathan Campbell
342e51de5b tune ESS AudioDrive emulation to better match observed audio quality and
filtering on real hardware (what it sounds like). It sounds like the ESS
is using a lowpass filter with different characteristics than how we
apply it, but this will do for now.
2016-02-25 16:03:09 -08:00
Jonathan Campbell
a83468ad24 lowpass filter now allows selection of order (how many passes). 2nd
order seems to approximate the old sound cards the best.
2016-02-25 03:09:43 -08:00
Jonathan Campbell
62e0eae28e correct comments about param for lowpass filter, clarify what
SetLowpassFreq(0) means.
2016-02-24 22:33:56 -08:00
Jonathan Campbell
89a0202544 lowpass filter complete 2016-02-24 22:02:24 -08:00
Jonathan Campbell
a8fe0cdf25 slew fixes 2016-02-23 04:46:24 -08:00
Jonathan Campbell
5451d0053a new mixer code to emulate analog "slew rate", for sound cards 2016-02-23 03:47:09 -08:00
Jonathan Campbell
2101cdfc5f fractional part should be unsigned int, not Bitu 2016-02-23 03:21:27 -08:00
Jonathan Campbell
d60b728b4f store delta once and interpolate from delta rather than subtract
current-last all the time.
2016-02-23 03:06:17 -08:00
Jonathan Campbell
60059fa0a1 mixer: consolidate interpolation code, improve "padding" code 2016-02-23 02:06:25 -08:00
Jonathan Campbell
3174dd5970 DOSBox-X mixer rewrite. Higher precision sample rate conversion
and channel rendering. The new mixer code no longer tries to render
less/more to appease the sound card, but goes exclusively by emulator
time. Mixer channel rendering goes to a buffer before final mixdown now,
to keep the audio separate from final mix for future scenarios such as
emulating Line in/Mic In and sound cards that can record their own
output. Sound Blaster Direct DAC and Goldplay modes updated to make use
of the newer mixer code. Direct DAC now uses timing measurements to more
accurately render output, and sample duplication to emulate the "grungy"
effect of that form of playback. Tandy and Adlib emulations now trigger
mixer rendering on I/O write to effectively render sample-accurate
output without needing the sample accurate mode of the mixer. "CHGOLF"
and "Skate or Die" have been confirmed to render their PCM output at
full quality with this hack. Gravis Ultrasound emulation also triggers
mixer render on changes to voices or active voice setup, to ensure
sample accurate rendering. While not broken by this change so much,
PC speaker emulation needs some work to better work with sample accurate
rendering when it is triggered.
2016-02-21 04:03:39 -08:00
Jonathan Campbell
ffbad0b2b3 svn mainline r3878:
Year update.
2015-01-25 21:13:25 -08:00
Jonathan Campbell
21614b8c3f toss out my copy, integrate tawoongs's daum branch code into mine,
remove what won't compile, begin work.
2013-10-14 05:07:26 -07:00
root
f331824031 port from svn 2013-07-07 20:39:49 -07:00