Page 1 of 3

Sound in VBA-M

Posted: Wed Mar 19, 2008 9:09 pm
by Xtreme2damax

I remember back when the first few or more releases of VBA-M were posted, the sound for the DirectX API were messed up and we were advised to use OpenAL.

 

Now it seems the tables have turned and using DirectX mode seems superior to OpenAL and overall more crisp where OpenAL stutters a bit and had sound glitches now on my rig.

 

Also I noticed in a couple ago release prior to the current release I would randomly get graphics corruption on the screen (Green blotches/Glitches or spots on screen.

 

So far I haven't encountered it again in the current release, but I thought I would mention it in case it occurs again because it doesn't happen all the time and randomly happens.

 

Anyways props and hats off to mudlord and other developers of VBA-M, I find it extremely great how you and others have improved VBA with VBA-M over the original VBA releases 1.7 and 1.8b.

 

I appreciate it and have to say keep up the great work![img]<fileStore.core_Emoticons>/emoticons/smile.png[/img]/emoticons/smile@2x.png 2x" width="20" height="20" />

 

I didn't know where to post this or if it pertained to a bug which is why I haven't followed the bug posting guidelines sticky....yet. [img]<fileStore.core_Emoticons>/emoticons/wink.png[/img]/emoticons/wink@2x.png 2x" width="20" height="20" />


Sound in VBA-M

Posted: Thu Mar 20, 2008 4:42 am
by Squall Leonhart

How strange, X2D, OpenAL is still perfectly fine for me, maybe try changing to software acceleration in the openal options?


Sound in VBA-M

Posted: Thu Mar 20, 2008 6:29 am
by mudlord

Now it seems the tables have turned and using DirectX mode seems superior to OpenAL and overall more crisp where OpenAL stutters a bit and had sound glitches now on my rig. 

Also I noticed in a couple ago release prior to the current release I would randomly get graphics corruption on the screen (Green blotches/Glitches or spots on screen.

 

So far I haven't encountered it again in the current release, but I thought I would mention it in case it occurs again because it doesn't happen all the time and randomly happens.

 

Now that is bizarre.

 

Whats your system specs and OS?

Which renderers have you tried?

Have you tried XAudio2?


Sound in VBA-M

Posted: Thu Mar 20, 2008 10:03 am
by spacy51

For me, all audio outputs work the same...


Sound in VBA-M

Posted: Thu Mar 20, 2008 10:30 am
by Squall Leonhart

unless you consider volume, then OpenAL sounds louder [img]<fileStore.core_Emoticons>/emoticons/tongue.png[/img]/emoticons/tongue@2x.png 2x" width="20" height="20" />


Sound in VBA-M

Posted: Thu Mar 20, 2008 10:35 am
by Xtreme2damax

I have an AMD64 X 2 3800+ @ 2.0 Ghz Processor, 1024 MB of ram, a Realtek High Definition Audio chipset, Geforce 6150LE.

 

My Operating System(s) are WindowsXP x64 and Vista 32-bit, I havent tried under Vista yet but I'll test it in a bit and report back.

 

I don't know if it has to do with the Realtek chipset, but it seems unlikely since one API works fine and the other doesn't (Sound glitches and stutters when enabled).

 

Also I have no problems in other emulators with my Realtek audio except in Gamecube emulators where I don't haver any sound regardless if the emulator supports sound for that game.

 

As mention back when VBA-M was younger my problem existed with the DirectX API, OpenAL worked fine. Now it's switched the other way around.

 

I don't see any options for XAudio2 for some reason. Maybe my audio chipset doesn't support it.

 

The render modes I have tried were OpenGL or D3D and Bilinear or Nearest selected. As mentioned these green glitches/graphics on screen haven't occurred again yet in the newest release of VBA-M and just happen at a random time. I'll let you know if it happens again.

 

I would edit my first post to include the build and date but sadly I can not remember the exact build or dates.

 

If you feel this isn't bug related you may move this thread if needed.[img]<fileStore.core_Emoticons>/emoticons/wink.png[/img]/emoticons/wink@2x.png 2x" width="20" height="20" />


Sound in VBA-M

Posted: Thu Mar 20, 2008 11:04 am
by Squall Leonhart

Sound in VBA-M

Posted: Thu Mar 20, 2008 11:25 am
by Xtreme2damax

maybe you don't have the latest Vers

 

http://vba-m.com/vbam/vbacompiles/msvc2008/VisualBoyAdvance461.7z

 

Yes you were right I didn't have the latest version, must of missed the announcement on Ngemu if it was even announced.[img]<fileStore.core_Emoticons>/emoticons/tongue.png[/img]/emoticons/tongue@2x.png 2x" width="20" height="20" />

 

However the sound stuttering problem still exists in the newest release for me, XAudio2 appears to have the same problem. It isn't as profound when using the DirectSound API for some reason. :confused:


Sound in VBA-M

Posted: Thu Mar 20, 2008 11:35 am
by Squall Leonhart

drop sound acceleration to basic in Sound devices panel in control panel and check if it still does it.


Sound in VBA-M

Posted: Fri Mar 21, 2008 7:05 pm
by Xtreme2damax

drop sound acceleration to basic in Sound devices panel in control panel and check if it still does it.

 

Sorry to get back so late to you, it's just I was booted into Vista yesterday and couldn't find this option in Vista. I didn't really feel like rebooting my PC into XP.

 

I'll try what you mentioned and let you know the results of it.[img]<fileStore.core_Emoticons>/emoticons/wink.png[/img]/emoticons/wink@2x.png 2x" width="20" height="20" />

 

:Edit: Wow, that's much better thank you.

 

Is there any reason why it was stuttering with acceleration fully enabled?