![]() |
|
Sound in VBA-M - Printable Version +- VBA-M Forums (http://vba-m.com/forum) +-- Forum: VisualBoy Advance-M (/Forum-visualboy-advance-m) +--- Forum: Bugs and Support (/Forum-bugs-and-support) +---- Forum: Audio (/Forum-audio) +---- Thread: Sound in VBA-M (/Thread-sound-in-vba-m) Pages: 1 2 |
Sound in VBA-M - Xtreme2damax - 03-20-2008 11:09 AM 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! ![]() 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.
RE: Sound in VBA-M - Squall Leonhart - 03-20-2008 06:42 PM How strange, X2D, OpenAL is still perfectly fine for me, maybe try changing to software acceleration in the openal options? RE: Sound in VBA-M - mudlord - 03-20-2008 08:29 PM Quote: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. Now that is bizarre. Whats your system specs and OS? Which renderers have you tried? Have you tried XAudio2? RE: Sound in VBA-M - spacy51 - 03-21-2008 12:03 AM For me, all audio outputs work the same... RE: Sound in VBA-M - Squall Leonhart - 03-21-2008 12:30 AM unless you consider volume, then OpenAL sounds louder
RE: Sound in VBA-M - Xtreme2damax - 03-21-2008 12:35 AM 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.
RE: Sound in VBA-M - Squall Leonhart - 03-21-2008 01:04 AM maybe you don't have the latest Vers http://vba-m.com/vbam/vbacompiles/msvc2008/VisualBoyAdvance461.7z RE: Sound in VBA-M - Xtreme2damax - 03-21-2008 01:25 AM Squall Leonhart Wrote:maybe you don't have the latest Vers Yes you were right I didn't have the latest version, must of missed the announcement on Ngemu if it was even announced. ![]() 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: RE: Sound in VBA-M - Squall Leonhart - 03-21-2008 01:35 AM drop sound acceleration to basic in Sound devices panel in control panel and check if it still does it. RE: Sound in VBA-M - Xtreme2damax - 03-22-2008 09:05 AM Squall Leonhart Wrote: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. ![]() :Edit: Wow, that's much better thank you. Is there any reason why it was stuttering with acceleration fully enabled? RE: Sound in VBA-M - mudlord - 03-22-2008 10:42 AM Most likely a issue on your system. Thus this is not a bug. RE: Sound in VBA-M - Squall Leonhart - 03-22-2008 10:44 AM It could mean that the IRQ of the sound card is being shared with another Resource hogging device, in my experience, its generally ok for a graphics card and sound card to share irq's with usb ports/devices, but if they share with eacth other, or with the System bus / ide bus, issues can occur To be honest im not entirely sure, but if this just suddenly started occuring, i would suggest uninstalling the Dx Hotfix from Dec-January. I noticed Sonic3K.exe has jittery audio of late, and the only thing that changed was a few hotfixes. this stuttering, also fixed by lowering acceleration to basic, or using a software mdi ouput. RE: Sound in VBA-M - Xtreme2damax - 03-22-2008 10:47 AM mudlord Wrote:Most likely a issue on your system. I apologize since I didn't know where to post this, I wasn't sure if it was a bug or not. What section would this be more appropriate in? RE: Sound in VBA-M - mudlord - 03-22-2008 10:50 AM I suppose I can leave this in here, since it is a audio issue for you. RE: Sound in VBA-M - Squall Leonhart - 03-22-2008 10:52 AM it might be good to get the latest sound drivers? RE: Sound in VBA-M - spacy51 - 03-22-2008 11:01 AM Squall Leonhart Wrote:unless you consider volume, then OpenAL sounds louder I am sorry, but I really can't reproduce that. All three Audio APIs have the same volume for me. (Windows XP Home + Audigy 2 ZS) @Xtreme2damax: Have you tried increasing the buffer count for the OpenAL output yet? Sound stuttering is usually caused when the sound buffers are not refilled until they all have played already, so increasing the buffer size should fix it. If it doesn't, what speed does emulation run for you? Anything below 100% will naturally cause stuttering. If none of these tips work, it is probably an issue related to your sound driver. I also have an OnBoard Realtek ALC889A (HD-Audio) chip and it is quite incompatible with OpenAL. When I play Unreal Tournament 3 with it, the 3D-Audio calculations are plain wrong and objects far away can be heard as if they're flying right above your head. RE: Sound in VBA-M - Squall Leonhart - 03-22-2008 11:10 AM have you installed the latest Hotfixes though spacy? RE: Sound in VBA-M - Xtreme2damax - 03-22-2008 11:17 AM spacy51 Wrote:Squall Leonhart Wrote:unless you consider volume, then OpenAL sounds louder I mentioned that decreasing sound acceleration solved my issues. It seems having it on full caused the emulator to stutter and thus the sound. Turning down acceleration has improved everything for me and now everything is much smoother. I don't know if it's alright to leave sound acceleration on basic. Should it cause problems leaving it on this level if I try to play a PC game or run another emulator? Should I have anything to worry about leaving the sound acceleration on basic? Thanks if anyone can let me know. RE: Sound in VBA-M - spacy51 - 03-22-2008 11:27 AM Squall Leonhart Wrote:have you installed the latest Hotfixes though spacy? My WinXP has all the latest hotfixes. RE: Sound in VBA-M - Squall Leonhart - 03-24-2008 09:35 AM as to openal being incompatible, afaik, most chips do OpenAL via EAX, so if openal sounds wrong, then its a bug in the EAX drivers, rather then openal itself, the only onboard solution that provides proper EAX is AD SoundMax, Realtek's drivers have never done so unfortunately. XiFi is the only sound card to provide independant support for OpenAL. X2DM, i think your issue is more likely a configuration issue then anything, can you check the Windows System information (Accessories > System tools) and post what IRQ the sound is on? Also, depending on your system type, it might even be a bug in APIC. |