Go Back   Project64 Forums > General Discussion > Open Discussion

Reply
 
Thread Tools Display Modes
  #201  
Old 29th April 2015, 11:30 PM
the_randomizer's Avatar
the_randomizer the_randomizer is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Sep 2008
Location: USA
Posts: 1,136
Default

Quote:
Originally Posted by Azimer View Post
Testing for regressions is a pain in the ass. I mostly have a set of roms I use a test images and cycle through them when I make every incremental change to ensure I don't mess something up. If it's a major rewrite, I copy the source file so I can refer to it later if I end up with serious regressions. That is all I can suggest.

SSB is annoying and part of my cycle of test roms. The XA2 plugin works best with PJ 2.x.

I am releasing my source code for all to contribute to on github. https://github.com/Azimer/AziAudio
Thank you for all the hard work you're doing, man, keep it up
__________________
My rig:
CPU: Intel Core i7 4470 3.4 GHz to 3.9 GHz
Video card:: MSI nVidia GTX 970 4 GB GDDR5
OS: Windows 7 Professional 64-bit
RAM: 16 GB DDR3 SDRAM 10600
HDD: 2 x Western Digital 1 TB HDDs
Monitor: 23" Asus Full HD LED

Oh, and Snes9x > Zsnes in every way
Reply With Quote
  #202  
Old 30th April 2015, 03:14 AM
Frank74's Avatar
Frank74 Frank74 is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Aug 2013
Location: UK
Posts: 828
Default

Can't build due to missing xaudio2.h. Damn xaudio2, its pointless and slow in XP anyway.

Last edited by Frank74; 30th April 2015 at 03:21 AM.
Reply With Quote
  #203  
Old 30th April 2015, 06:37 PM
RPGMaster's Avatar
RPGMaster RPGMaster is offline
Alpha Tester
Project Supporter
Super Moderator
 
Join Date: Dec 2013
Posts: 2,008
Talking

Quote:
Originally Posted by Azimer View Post
Testing for regressions is a pain in the ass. I mostly have a set of roms I use a test images and cycle through them when I make every incremental change to ensure I don't mess something up. If it's a major rewrite, I copy the source file so I can refer to it later if I end up with serious regressions. That is all I can suggest.
It sure is a pain. I think I got the hang of it now though . I just have a bad habit of not making backup copies. Even this week, I had to use file restore .
Quote:
Originally Posted by Azimer View Post
SSB is annoying and part of my cycle of test roms. The XA2 plugin works best with PJ 2.x.
Testing the intro in that game sure is a pain. Too many issues. Turns out that the stuttering seems to be caused by the CPU recompiler & video plugin, although I still don't know why some audio plugins don't have the stuttering.
Reply With Quote
  #204  
Old 30th April 2015, 07:10 PM
Azimer Azimer is offline
Project Supporter
Member
 
Join Date: Dec 2005
Posts: 74
Default

Quote:
Originally Posted by Frank74 View Post
Can't build due to missing xaudio2.h. Damn xaudio2, its pointless and slow in XP anyway.
This is available through the DirectX SDK... the lastest one available for XP. It is rather pointless for XP.

Quote:
Originally Posted by RPGMaster View Post
It sure is a pain. I think I got the hang of it now though . I just have a bad habit of not making backup copies. Even this week, I had to use file restore .
Testing the intro in that game sure is a pain. Too many issues. Turns out that the stuttering seems to be caused by the CPU recompiler & video plugin, although I still don't know why some audio plugins don't have the stuttering.
I found it to be a buffering problem... but some of it also is at a certain point in that intro the graphics/cpu usage skyrockets momentarily. I certainly get less when I change the buffer from 0x600 to 0x800 or 0xC00. I haven't found a good value to use.
Reply With Quote
  #205  
Old 30th April 2015, 08:19 PM
RPGMaster's Avatar
RPGMaster RPGMaster is offline
Alpha Tester
Project Supporter
Super Moderator
 
Join Date: Dec 2013
Posts: 2,008
Talking

Quote:
Originally Posted by Azimer View Post
I found it to be a buffering problem... but some of it also is at a certain point in that intro the graphics/cpu usage skyrockets momentarily. I certainly get less when I change the buffer from 0x600 to 0x800 or 0xC00. I haven't found a good value to use.
Thanks for the input . I did notice that typically in intros, I had to use a higher number for the buffer size, compared to normal gameplay.

Just did some testing, and now I think I understand the issue. In resource intensive scenarios, the buffer needs to be higher. I guess I see what people mean now, when they say lower buffer requires a faster cpu. That also explains why it seems kinda random sometimes.
Reply With Quote
  #206  
Old 1st May 2015, 02:11 AM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,236
Default

Quote:
Originally Posted by Frank74 View Post
Can't build due to missing xaudio2.h. Damn xaudio2, its pointless and slow in XP anyway.
I managed to finish a pull request to get it compiling via MinGW, if it's installed to C:\MinGW. Haven't gotten the XAudio2 portion of it working yet, though I can build the plugin with GCC/g++ now and use it to play sound from Project64 via DirectSound.

Though I have no idea how Azimer will be able to respond to it since it's a relatively large fork.

Although I have little preference between DirectSound and XAudio2 since they are both DirectX, COM-based, C++-bound mediums of Microsoft's control.
Reply With Quote
  #207  
Old 1st May 2015, 03:53 AM
Frank74's Avatar
Frank74 Frank74 is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Aug 2013
Location: UK
Posts: 828
Default

I'll try your branch. I didn't have dsound headers either, so downloaded the June 2010 DX SDK, and it has xaudio2 as well.

Been playing with Steingberg's ASIO 2.3 SDK. 413kb for ASIO SDK vs 571Mb for DX SDK.
Reply With Quote
  #208  
Old 1st May 2015, 04:06 AM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,236
Default

I think I read that might be the only way to get XAudio2 working with this MinGW build, read some instructions online saying you have to install the Microsoft SDKs and include that to the MinGW include directories/paths so that gcc will just read that.

I had the standard <dsound.h> that everyone seems to be using and/or including with the source to their projects, though, so I just uploaded that to my fork of it. Unfortunately for the time being there's still that bug where starting emulation with the DirectSound plugin uses up a full CPU thread, at least on my end.
Reply With Quote
  #209  
Old 1st May 2015, 06:01 PM
Azimer Azimer is offline
Project Supporter
Member
 
Join Date: Dec 2005
Posts: 74
Default

Quote:
Originally Posted by HatCat View Post
Though I have no idea how Azimer will be able to respond to it since it's a relatively large fork.
I will have to do a few build tests to ensure I can get it compiled using the VS2013 IDE with no obvious flaws and have to take your word for it on the rest with MinGW. I should have a spot of time this evening to do so.
Reply With Quote
  #210  
Old 1st May 2015, 06:20 PM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,236
Default

Yeah, think I checked about 4 to 6 times in-between some commits on MSVC to check that none of my MinGW changes, accidentally'd anything in the MSVC build. Seemed to work fine for me. (Well might have only ran it by the audio playback in actual runtime testing like once.)

Also I can always edit/update the pull request branch if you see anything that looks like there might be a more understandable way to do it. I'm used to doing that a bit from zilmar's feedback on my project64 PRs haha.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 10:02 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.