Commit Graph

3247 Commits

Author SHA1 Message Date
RadWolfie 8228de52d0 Introduce DSound 5455 File 2017-10-30 19:41:13 -05:00
RadWolfie 7dae968adb Remove Leftover Linkage
Since these files doesn't exist these shouldn't be here.
2017-10-30 19:38:40 -05:00
PatrickvL 262810b8c1
Merge pull request #782 from jarupxx/OOVPA_lowered
Finalize 90% Complete XAPI, XNET, XONLINE Database
2017-10-31 00:30:38 +01:00
jarupxx 6b12a05919 Fix CMiniport_IsFlipPending OOVPA count 2017-10-30 19:35:39 +09:00
jarupxx 54ff0ea8e5 Fix Xapi OOVPA's XDK revision to lowest known match
Verified with known titles which did compiled with full library.
2017-10-30 19:29:38 +09:00
jarupxx e9489097d1 Fix XNET, XOnlines OOVPA's XDK revision to lowest known match
Verified with known titles which did compiled with full library.
2017-10-30 19:28:41 +09:00
PatrickvL 153a6107e9
Merge pull request #781 from jarupxx/XREF_Cleanup
XREF Cleanup
2017-10-29 12:43:01 +01:00
jarupxx 5695059980 Remove unuse XREF id's 2017-10-29 18:23:22 +09:00
jarupxx 076a3efa64 Rename full-uppercase DSound XREF id's 2017-10-29 18:23:15 +09:00
jarupxx c868a98791 Rename full-uppercase D3D XREF id's 2017-10-29 18:23:09 +09:00
jarupxx 751725387c Enable XREF_D3DDEVICE_SETLIGHT xref 2017-10-29 18:10:53 +09:00
jarupxx fa81884b87 Split up the count 2017-10-29 18:10:53 +09:00
jarupxx 07d68f7f1b Formatting 2017-10-29 18:10:46 +09:00
Luke Usher 909804654c
Merge pull request #780 from RadWolfie/DSound_Cleanup
DSound Major Improvement + Cleanup
2017-10-29 09:08:53 +00:00
RadWolfie 095c8402f7 Get Status First, Stop Buffer, Then CurrentPosition
Re-arrange order where it should had been in the first place to have
seamless audio transfer.
2017-10-28 18:45:56 -05:00
RadWolfie 8c0eb97228 Corrected Volume Check 2017-10-28 18:45:55 -05:00
RadWolfie 4c44c0f568 Shrink Single Longest Line into Shorter Multilines 2017-10-28 18:45:55 -05:00
RadWolfie c40bac5060 Rename DSoundBufferTransfer Function
Rename DSoundBufferTransfer to DSoundBufferTransferSettings for better
clarification.
2017-10-28 18:45:55 -05:00
RadWolfie b94a8b5adc Add Notes 2017-10-28 18:45:55 -05:00
RadWolfie 4a6b3ecb54 Fix DSoundBufferTransfer Function
No reason to create 3D Buffer here... Plus that's not the purpose of
"Transfer". Oops!
2017-10-28 18:45:54 -05:00
RadWolfie c9ebe3ed18 Implement SetLoopRegion and SetPlayRegion Support
WaveBank Sample now play audio 100% correctly, can't verify with other
sound samples.
Audio do sound a bit better to me.

Some titles are still not getting all audio outputting for some reason.
However, it did brought more audible outputs now.

NOTE: It is still "somewhat" leaving experimental stage.
2017-10-28 18:45:54 -05:00
RadWolfie 7fc65b57ce Implement SetPitch Support
This is hard as hell I ever had done. The upside is SetPitch function no
longer fail for DM3DScript sample! 🎆

Tested 12KHz, 48KHz, and 96KHz conversion to ratio and back to hertz
with success.

Any titles using SetPitch in the past should now play audio nicely.
2017-10-28 18:45:54 -05:00
RadWolfie 02a76ffc8d Improve DSound 3D Interfaces
- Fixed HybridDirectSound3DBuffer_SetAllParameters
- Add Info to 3D Interfaces
2017-10-28 18:45:54 -05:00
RadWolfie 186530ee25 Update NULL to xbnullptr For DSound
Note: Some NULL are actually being used internally and is not given to
xbox's xbe.
2017-10-28 18:45:53 -05:00
RadWolfie 6eff832b07 Re-fix Check CreateSound3DBuffer Return Value
For now, let's keep hRet separate from DirectSound's 3DBuffer interfaces
usage. By using hRet3D variable. Just in case we are returning hRet to
xbe.
2017-10-28 18:45:53 -05:00
RadWolfie 3528fccb2e Prevent SetConeOrientation's Popup Message Report
For now just surpress the pop up message and output a warning instead.
2017-10-28 18:45:53 -05:00
Luke Usher 6a705276b7 Merge pull request #778 from PatrickvL/MemoryManagerFix
MemoryManager : Fixed block-lookup with non-base addresses, by using …
2017-10-27 13:21:52 +01:00
PatrickvL 7f82ac6c03 MemoryManager : Fixed block-lookup with non-base addresses, by using block.upper_bound as key.
This resolves crashes in Cartoon sample (and potentially many other titles).
2017-10-27 11:46:15 +02:00
PatrickvL 131ce6dab8 Merge pull request #777 from RadWolfie/DSound_Cleanup
DSound Improvement + More Cleanup
2017-10-26 00:43:07 +02:00
RadWolfie a02c5d76f0 Change Reminder to All Developers
Even to remind myself.
2017-10-25 16:44:16 -05:00
RadWolfie 1e23a18254 Add Notes
- Note about dwCertificateAddr patch requirement
- And reason for change SUCCEEDED and FAILED to check against DS_OK
value.
2017-10-25 16:35:20 -05:00
RadWolfie 733a4a83f0 Use XBE's original Certificate Data
It does fix Game Region reported by @jarupxx. It is likely other values
may have overwritten as well in the process. Using unalternated
certificate data instead.
2017-10-25 16:12:18 -05:00
RadWolfie 61b54bba41 Fix Warning Message From Compiler 2017-10-25 16:08:08 -05:00
RadWolfie 8f887159c5 Enforce Create DirectSound Before Buffer and Stream
Base on research, both DirectSoundCreateStream and
DirectSoundCreateBuffer do check if DirectSound is initialize first then
initialize it. Hopefully some titles wouldn't boot at all will now boot
a bit further.
2017-10-25 03:35:48 -05:00
RadWolfie b019c2ea56 DSound Improvement
- Fixed ResizeIDirectSoundBuffer bug for return value.
- Fixed IDirectSoundBuffer_SetNotificationPositions to only check hRet,
not nullptr itself.
- Replaced SUCCEEDED check to == DS_OK
- Replaced FAILED check to != DS_OK
2017-10-25 03:35:47 -05:00
RadWolfie e2f38df63e Introduce xbnullptr for Xbox usage 2017-10-25 03:35:47 -05:00
Luke Usher be40f6c4c1 Protect against nullptr dereference in SetConeOrientation 2017-10-25 03:35:47 -05:00
RadWolfie 1c4d0f2558 Remove Empty OOVPA Files, Cleanup, Formating
- Remove all empty OOVPA revision files. (Re-add if necessary for new
OOVPA revision)
- Corrected file path and extension for all OOVPA database files.
- Formatted OOVPA.h file to coding standard.
- Fix description in OOVPA.h file
- Add reminder note
2017-10-25 03:35:47 -05:00
Luke Usher 43f0ae9f16 Merge pull request #775 from RadWolfie/WIP_HLEDB_v2
Remove HLE v1 database + Misc Improvement
2017-10-24 21:03:28 +01:00
RadWolfie af17f5cc24 Fix Debug Build 2017-10-24 13:12:29 -05:00
RadWolfie 25cd86fc30 Remove Leftover v1 database 2017-10-24 13:12:18 -05:00
PatrickvL d9821aa1d3 Merge pull request #774 from jarupxx/WIP_HLEDB_V2
Add HLEDataBase Notes
2017-10-24 16:10:23 +02:00
jarupxx 9e1ab01e70 Add HLEDataBase Notes
Titles list which did compiled with full library and additional Verification needed OOVPA.
2017-10-24 20:50:25 +09:00
RadWolfie 20cd6148cd Fix HLE v2 Database includes 2017-10-24 03:24:18 -05:00
RadWolfie d33ffe0c15 Remove HLE v1 Method From Cxbx
- Removed v1 database method
- Migrate v2 into v1 functions
- Format some coding standard
- Fix compile issue
- Say goodbye to HLE v1 method.
2017-10-24 03:23:32 -05:00
RadWolfie 71aabebe27 Append to Previous Commit 2017-10-24 00:09:50 -05:00
RadWolfie c8d12a78ec Removed All HLE v1 Database Header Files 2017-10-24 00:03:34 -05:00
RadWolfie 65162b7fe5 Add XOnline and XNet v2 Database 2017-10-24 00:00:40 -05:00
RadWolfie fabc87fc70 Removed XOnlines v1 Database 2017-10-23 23:15:02 -05:00
RadWolfie 52fdebbcde Removed XNet v1 Database 2017-10-23 23:02:43 -05:00