Author Topic: gpsp Sound Lag issue  (Read 3223 times)

Offline Stephanie

  • *
  • Posts: 237
    • Planet Stephanie
gpsp Sound Lag issue
« on: May 04, 2010, 03:07:41 AM »
I've run into an issue with gpsp which is a little annoying... it seems that there's a lag on the audio, but it doesn't affect all games. A few I've tried work fine but (naturally) my very favorite GBA game suffers from this slight amount of audio lag.

The sounds seem to trail the action by about 1/2 second. It gets 'dangerous' in that you sometimes don't know the bad guys have shot at you until it's too late! :)

I've tried playing around with the settings but the only audio setting is the buffer, and it doesn't seem to help, whatever I set it to.

The game by the way is "Tank Commander", a homebrew available from here:
http://www.freewebs.com/drussell/Download.htm#GameBoyAdvance

If anyone has any suggestions, they'd be most appreciated.

Thanks!
« Last Edit: May 04, 2010, 03:10:22 AM by Stephanie »

Offline RodrigoCard

  • *
  • Posts: 190
Re: gpsp Sound Lag issue
« Reply #1 on: May 04, 2010, 07:25:18 AM »
I noticed this also on Mario world. And Yes, I tried the same sound settings with no luck

Looks like lots os options in the menu are not implemented, even the button mappings.

Offline santino

  • **
  • Posts: 579
Re: gpsp Sound Lag issue
« Reply #2 on: May 04, 2010, 08:47:00 AM »
Yes this emulator needs some love. ;)

Offline DannyBoyTheDude

  • *
  • Posts: 58
Re: gpsp Sound Lag issue
« Reply #3 on: May 04, 2010, 11:45:19 AM »
I noticed this on Mario and Luigi. It makes the jumping sound effect right after you land.

Offline ready2rumble

  • *
  • Posts: 7
Re: gpsp Sound Lag issue
« Reply #4 on: May 27, 2010, 11:44:16 AM »
when i try to enter graphics and sound settings, emulator freezes. Anyone with same problem ?

Offline darfgarf

  • Grumpy English Person
  • Posts a lot.
  • *
  • Posts: 1000
    • dinguxdev
Re: gpsp Sound Lag issue
« Reply #5 on: May 27, 2010, 12:02:35 PM »
when i try to enter graphics and sound settings, emulator freezes. Anyone with same problem ?
yup, and hardly any games run at all

Offline Stephanie

  • *
  • Posts: 237
    • Planet Stephanie
Re: gpsp Sound Lag issue
« Reply #6 on: May 27, 2010, 01:16:12 PM »
Last night I came across something that seems to have fixed the sound lag, at least in some games.

In the graphics & sound options(*) there's a setting for Audio Buffer. It was set to the maximum , 16384 bytes. I've played with this in the past and found it had no effect, so I gave up on it. Well last night I had been playing again, and happened to leave it at 2048 bytes, then I quite gpsp.

When I went back in later, I found the sound was no longer lagging! It seems that the settings are not put into effect until you quit then restart. So all the testing etc I had done int he past was no good as I'd never quit & restarted, just saved the settings and returned to the game.

I tested it a bit more and confirmed that this was the case - audio buffer of 2048 bytes, quit then restart, and the sound is no longer lagging.

* Graphics and Sound options crashed for me for a long time then magically started working. I don't know what the deal is with that... I think there's a file that it looks for and if it doesn't already exist, you get a crash. Try some of the other options, like configuring the inputs or cheats & misc options. Somewhere along the way, the missing file appears and then you can get into the graphics and sound menu.

Offline DannyBoyTheDude

  • *
  • Posts: 58
Re: gpsp Sound Lag issue
« Reply #7 on: May 27, 2010, 07:53:05 PM »
Awesome! Thanks Stephanie. I can confirm this works.  ;D

Offline santino

  • **
  • Posts: 579
Re: gpsp Sound Lag issue
« Reply #8 on: May 27, 2010, 08:44:09 PM »
Nice work! Now we just need a volume control in the emulator!  :)

Offline RodrigoCard

  • *
  • Posts: 190
Re: gpsp Sound Lag issue
« Reply #9 on: May 27, 2010, 09:30:37 PM »
Very nice! =D

I think i will check the source, lets see if i can do something =P

Offline classicparty

  • *
  • Posts: 31
Re: gpsp Sound Lag issue
« Reply #10 on: May 28, 2010, 05:56:30 AM »
My gpSP crashes my dingoo even when I tried to quit. Is it the "START" button to confirm entering to a menu? If so, I've tried the "Graphics and Sound options" and "Exit gpSP" and crashes. I even can't load a new game. :'(

I've got another problem. The menu just shows all the files in the directory without the extension. Should I choose the wrong file then I get crashed. Could anyone please suggest a way to avoid that?

Offline santino

  • **
  • Posts: 579
Re: gpsp Sound Lag issue
« Reply #11 on: May 28, 2010, 12:31:14 PM »
You can use gmenu2x to start gpsp with a romfile. It can filter all files by the fileextension. And yes, "start" is to confirm in the gpsp menu.

Offline Stephanie

  • *
  • Posts: 237
    • Planet Stephanie
Re: gpsp Sound Lag issue
« Reply #12 on: May 28, 2010, 03:55:27 PM »
Very nice! =D

I think i will check the source, lets see if i can do something =P

That would be great if you could spruce up gpsp a bit. In addition to having a volume control in there, I'd love to see it run games at the correct 'speed' regardless of what speed the dingoo's CPU is running. I.e. play a game at 336MHz then overclock to 400MHz and play the same game. Suddenly it seems faster (and more difficult!).

I downloaded the sources for it a while back but haven't found the time to have a look at it.

Cheers!

Offline classicparty

  • *
  • Posts: 31
Re: gpsp Sound Lag issue
« Reply #13 on: May 28, 2010, 04:18:13 PM »
You can use gmenu2x to start gpsp with a romfile. It can filter all files by the fileextension. And yes, "start" is to confirm in the gpsp menu.

I'm using gmenu2x now. The menu just show the filenames without extensions and I found 3 files with the same name...

Offline santino

  • **
  • Posts: 579
Re: gpsp Sound Lag issue
« Reply #14 on: May 28, 2010, 04:30:44 PM »
Yes, but you can filter out just the .gba and .GBA files. ;)