I realised why some of you might be having issues with v9007...It's a big oops as I forgot to mention:
I did not include the gpsp.cfg in v9007. If upgrading from any previous version, I suggest doing EITHER of the following:
- Remove gpsp.cfg then run gpSP2X. It will create a gpsp.cfg with the proper default settings.
- Or you may just set the default settings globally by doing the following:
1. Run gpSP2X and once in the file menu press Y.
2. Enter the following Graphics and Sound settings:
Frameskip Type: Auto
Frameskip Value: 2
Audio Buffersize: 2048
3. Run a game. If you have a per-game configuration it will use those settings, so be sure to reset per-game settings either by deleting the [rom-filename].cfg file or setting the above default settings for the game after loading it.
The above will probably clear up the "how to set global settings for all games" question too.
If you don't use the default settings above, you can very well encounter VERY stuttery gameplay and sound! Especially due to autoframeskip only works well with a max value of 2 or 3.
Dunny: Sorry about not replying. I was hoping you viewed the code after you said it. I currently have two threads running, though I don't set priority of them. The main thread does the main emulation and syncs with the sound thread which takes chunks of data and processes it. There is a usage of Mutex's and Condition Variables to maintain coherency.