Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - MEKA sound issues

Reply to topic
Author Message
basicj
  • Guest
Reply with quote
MEKA sound issues
Post Posted: Sat Jan 27, 2007 7:50 am
hey all. love this site.

i downloaded MEKA 3 times, ( once after rebooting my computer to see if it was a restart issue ) but the sound seems to keep messing up. I'm running XP service pack 2, and other emulators like Kega run fine. any ideas what the issue may be?

any help is greatly appreciated
 
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8644
  • Location: Paris, France
Reply with quote
Post Posted: Sat Jan 27, 2007 10:52 am
It is a known problem with MEKA, happening on some computers. Sorry for that.
  View user's profile Send private message Visit poster's website
  • Joined: 01 Feb 2004
  • Posts: 1464
  • Location: Sunny ol Tamworth, New England NSW AU
Reply with quote
Post Posted: Sat Jan 27, 2007 11:53 am
Bock,

Could the sound problems in MekaW be related to buffers?? I have just found that using my on-board sound card as opposed to my PCI sound card the sound seemed to be less choppy.

Also does the DirectX version you are running have anything to do with it?

It seems weird that some days the sound is good yet others its crappy so it leaves me to believe that maybe certain hardware combinations could cause problems??

I know its only phesable ideas and I know I may be completely wrong but its worth a try

Thanks Bock
Scott
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8644
  • Location: Paris, France
Reply with quote
Post Posted: Sat Jan 27, 2007 1:24 pm
The code is plain wrong, it can't work properly on a multitasking operating system. It has to be fixed.
  View user's profile Send private message Visit poster's website
  • Joined: 07 Feb 2007
  • Posts: 11
  • Location: new england
Reply with quote
Post Posted: Mon Feb 19, 2007 8:16 am
meka is pretty bad ass.
have that sound problem too though but i always have music on so i never use the game volume.
  View user's profile Send private message
  • Joined: 04 May 2005
  • Posts: 23
Reply with quote
Post Posted: Wed May 23, 2007 9:09 pm
Hi Omar, been a while

It is terrific to see you've put a lot of work into the new Meka! I'm disappointed to see the sound is still in such a bad state. You've done such a beautiful job on the UI, the choppy sound cheapens the whole experience. You should really focus on fixing it! :) (Yes, that's right, I'm nagging you)

The "Sync to audio" code I wrote for the old version of Meka has been working flawlessly for me on a variety of hardware. You might want to revisit it. It works best with triple bufferng (that way audio syncing and video syncing aren't blocking each other).

-- Rob
  View user's profile Send private message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8644
  • Location: Paris, France
Reply with quote
Post Posted: Sat Jul 07, 2007 8:23 pm
DjRobX,
Today I started a new SVN branch with the goal of fixing sound issues. Applied your patch now. I will be performing the transition to allow only fixed speed mode (effectively removing 1/1 1/2, etc) and fixing every little related bit. For exemple as a workaround to removed 1/1 which was used as a flacky way to speed up game I'll see if I can add a key to speed up temporarly, etc.

I am also concerned by the viability of this change with non triple buffered video mode, desktop/windowed mode running at other refresh rate, etc. But hopefully we can settle and solve everything.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8644
  • Location: Paris, France
Reply with quote
Post Posted: Sat Jul 07, 2007 9:35 pm
Another problems is the dependency on sound. Without sound/Seal running this obviously can't work so either I need a fallback either I can try to move the wait outside of sound dependencies.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8644
  • Location: Paris, France
Reply with quote
Post Posted: Sat Jul 07, 2007 10:21 pm
I'd like someone under GNU/Linux to get revision 73 under this branch:
http://svn.smspower.org/svn/meka/branches/20070707-soundsync/
Edit or create meka.cfg and add:
audio_sync_speed = 598
And tell me how sound performs when enabled (compared to the trunk).
Thanks.
  View user's profile Send private message Visit poster's website
  • Joined: 10 May 2005
  • Posts: 91
  • Location: Merry Olde England
Reply with quote
Post Posted: Sat Jul 14, 2007 9:02 pm
It fixes one problem, but not the sound.

When enabling sound in the trunk version, the entirety of Meka lags - it is completely unusable. I don't just mean when a game is playing - I mean in general. Several seconds between each frame. The lag-time seems exponential.

The soundsync branch fixes that problem; Meka is perfectly usable - even when sound has been enabled. Until a ROM is loaded... Then the lag kicks in. It's eight seconds between each frame. The lag-time is constantly eight seconds.

I tried revisions 73 and 75 (latest at the time of writing) - both seem the same.
  View user's profile Send private message Visit poster's website
  • Joined: 14 May 2006
  • Posts: 34
Reply with quote
Post Posted: Sun Jul 15, 2007 4:37 pm
aypok wrote
It fixes one problem, but not the sound.
I tried revisions 73 and 75 (latest at the time of writing) - both seem the same.


I can confirm this too on revision 76.

Andrea.
  View user's profile Send private message
  • Joined: 21 Oct 2010
  • Posts: 47
  • Location: Space
Reply with quote
Post Posted: Wed Feb 03, 2016 4:28 pm
*excised*

edit:
just saw the new meka thread, be right back, testing
if it works, regard this post as non-existant

edit2:
works, but only in 60HZ, totally goes whacko @50HZ and PAL/SECAM mode
  View user's profile Send private message
Reply to topic



Back to the top of this page

Back to SMS Power!