RadWolfie
bbf7dee16a
Change buffer creation to show error code
...
More research need to be done to find out why it's not releasing
properly or something else needs to be done behind this.
2018-04-02 14:35:07 -05:00
RadWolfie
ee5596ade4
Add callback support for BackgroundMusic sample
...
Track counter now do update via callback request.
2018-04-02 14:35:07 -05:00
RadWolfie
0274e4c2be
Proper fix for a fatal error to StopEx (DSound)
...
When a fatal error show up, this helps me to research better and
implement better than I originally had before. Now we can return as
invalid param to title.
2018-04-02 14:35:07 -05:00
RadWolfie
9a7121d87e
Fix crashes for DSound Buffer region subclass.
2018-04-02 14:35:07 -05:00
RadWolfie
ed9b104262
Fix DSound Stream infinity loop issue
2018-04-02 14:35:07 -05:00
RadWolfie
11fd4f6ff5
Update DSound buffer class fixes
...
Currently is able to produce accurate(?) audio output instead of cut off
early.
Titles improved
* Turok Evolution
* Smashing Drive
* Mafia
* etc
2018-04-02 14:35:06 -05:00
RadWolfie
4d1ab39d2e
Append temporary hack for sound buffer (not stream)
...
Temporary hack since certain titles such as Mafia kept creating more
buffer. Yet did not find repeatly calls in the log.
2018-04-02 14:35:06 -05:00
RadWolfie
d34eff64d1
Update Flush function for DSound
2018-04-02 14:35:06 -05:00
RadWolfie
77aec057af
Clean up debug stuff.
...
Plus add silence packet.
2018-04-02 14:35:06 -05:00
RadWolfie
b8806848fe
Use correct write offset from buffer only
...
Now audio is stream properly without gaps problem.
2018-04-02 14:35:06 -05:00
RadWolfie
3d8944118d
Proper buffer update, yet still has audio gaps...
...
TODO: Create memory buffer then copy all the packets to there. Then test
the audio once stream is released for audio gaps is confirmed an issue
with the code.
Note: WaveBankStream appear to be working now, before it just randomly
or remain looping. (Except one audio stream still did not continue in
the loop for some reason?)
2018-04-02 14:35:06 -05:00
RadWolfie
d59e24f34d
Fix shift values
2018-04-02 14:35:06 -05:00
RadWolfie
0c5819ced2
Optimize a bit plus insert debug log temporary
...
It is now checking the range properly.
WaveBankStream has improved, still doesn't resolve shorter packet stream
issue.
2018-04-02 14:35:06 -05:00
RadWolfie
f165d699f1
Add verbose log in case anyone has a crash.
...
Temporary enable verbose log in release build for DSound only.
Remind me to comment this section out before merge.
2018-04-02 14:35:06 -05:00
RadWolfie
1a8476618c
Add a hack for temporary time being.
...
Remind me to remove it before prepare to merge into master.
P.S. I do remember it worked fine before without this hack.
2018-04-02 14:35:06 -05:00
RadWolfie
3ed172988d
Seamless audio is !HERE! for DirectSoundStream only
...
It is still experimental, need to fix 2nd intros become not playable or
stuck. However Pause and PauseEx function will affect this seamless
audio as well. Still got more to do.
2018-04-02 14:35:06 -05:00
RadWolfie
add65ca173
Fix titles boot up issue with HRTF functions.
...
DSound HRTF does not have enter/leave criticalsection from reverse
engineering info. Removing enter/leave criticalsection allow certain
titles with this issue to progress further.
2018-04-02 14:35:06 -05:00
RadWolfie
0beb1c733e
Update task doc
...
nothing is changed to audio in this commit.
2018-04-02 14:35:06 -05:00
RadWolfie
34a892a944
Tuneup, doesn't resolve click noises and FMVs perf.
2018-04-02 14:35:06 -05:00
RadWolfie
b5257ca2d3
Major improvement, still has some bugs left.
...
This improvement is only for DirectSoundStream class. However there is
little bit of a slowdown for certain titles. Will find out why after
seemless audio between 2 packets are done.
* Improve some XDK samples
* AudioStress
* WaveBankStream
* WMAInMemory
* WMAStream
* Untested
* WaveBank
2018-04-02 14:35:06 -05:00
RadWolfie
9dec8805e5
Fix pause functions
2018-04-02 14:35:06 -05:00
RadWolfie
0f5e0895c9
Whoops, DSoundBufferOutputXBtoHost was not used.
2018-04-02 14:35:06 -05:00
RadWolfie
db19158254
Introduce DirectSoundStream fixes
...
XADPCM audio are much better now, need tester's ears to verify the
errors.
Test cases:
- Battlestar Galactica (sit back and enjoy the intro video! Get popcorns
too!)
- Rayman Arena (sounds about the same as original intended, before fps
was fixed)
- Ghost Recon (PCM, sound like no change)
- Taz: Wanted (sound like it is normal?)
- Turok Evolution (sound fine but video is little bit too slow?)
Testers, please test this for ANY functional intro videos (which uses
DirectSoundStream 85% of the time).
2018-04-02 14:32:15 -05:00
RadWolfie
b5be48c4a1
Implement Flush support for DirectSoundStream class
...
It is design to wait until buffer is fully done from another thread.
confirmed
2018-04-02 14:32:15 -05:00
RadWolfie
d007d09a61
Never pass a null... not sure why this is here.
2018-04-02 14:32:15 -05:00
Luke Usher
33cfadbdc6
Merge pull request #1022 from LukeUsher/dsound-lle-hack
...
Implement APU Time register
2018-04-02 20:28:06 +01:00
Luke Usher
03c5999359
Slightly less hacky implementation of SampleTime register
2018-04-02 20:26:48 +01:00
Luke Usher
02128f1ce4
Implement SampleTime Register (HACK)
2018-04-02 20:03:34 +01:00
Luke Usher
64f60f7189
More Tweaks
2018-04-02 19:59:37 +01:00
Luke Usher
1a2bbc2d1a
Oops, forgot about glBlitFramebuffer
2018-04-02 19:32:08 +01:00
Luke Usher
59d02a60c4
Use Real Framebuffer Size instead of hardcoding 640x480 (LLE)
2018-04-02 19:24:25 +01:00
PatrickvL
3de58c34ed
Merge pull request #1020 from ergo720/fable_assert
...
Fix an assert on VMManager in Fable
2018-04-02 12:37:48 +02:00
ergo720
17b90b5aa8
Fix an assert on VMManager in Fable
2018-04-02 12:26:56 +02:00
PatrickvL
16f57fa35d
Merge pull request #1019 from RadWolfie/Cxbx-R-Logo-PR
...
Cxbx-R-Logo-Upgrade
2018-04-02 10:20:04 +02:00
RadWolfie
3bb83b0d3e
Removed unused library (stb image)
2018-04-02 01:18:39 -05:00
RadWolfie
1d993d2cba
Replace main logo
...
stb image library does not work correctly for green/yellow outline on
main logo even with png and jpeg formats. Using bitmap format instead.
2018-04-02 01:13:44 -05:00
RadWolfie
bdfbefa157
Icon replacment for 2nd gen of Cxbx
...
Icon is licenced as Creative Common 4.
Design & ideas was done by RadWolfie & Driveclub from discord.
SVG is include in this commit.
2018-04-02 00:13:53 -05:00
Luke Usher
6630ee4c59
Update README.md
2018-04-01 21:44:48 +01:00
Luke Usher
4f45551bfe
Merge pull request #1018 from LukeUsher/nv2a_lle
...
Introduce functional NV2A LLE
2018-04-01 20:58:01 +01:00
Luke Usher
24137bf34c
Oops. Really fix Recent XBE's this time..
2018-04-01 20:52:04 +01:00
Luke Usher
fae59138b6
Fix Debug mode compilation
2018-04-01 20:49:49 +01:00
Luke Usher
1622e42739
Fix compiler warning
2018-04-01 20:49:39 +01:00
Luke Usher
a4281dac56
Fix Recent Xbe Menu
2018-04-01 20:48:59 +01:00
Luke Usher
e1a65a3bde
Introduce functional NV2A LLE
2018-04-01 20:18:22 +01:00
PatrickvL
42143eaa87
Merge pull request #1017 from ergo720/dashboard_boot
...
Load dashboard option
2018-04-01 19:44:07 +02:00
ergo720
54aeffd949
Load dashboard option
2018-04-01 18:16:56 +02:00
PatrickvL
46abde1618
Merge pull request #1016 from ergo720/eeprom
...
Eeprom improvements
2018-04-01 13:16:22 +02:00
ergo720
4d7401f8dc
Oops (fixed incorrect eeprom key length)
2018-03-31 22:31:59 +02:00
ergo720
72ae997d3d
Calculate last missing checksum field in the eeprom
2018-03-31 22:12:36 +02:00
ergo720
29410562c0
Also update the factory game region as well
2018-03-30 22:18:52 +02:00