Page 1 of 1
[FIXED]Muting sound in GB(C?) games.
Posted: Tue Mar 25, 2008 8:15 am
by Vague Rant
I don't have much experience with running GB/C games in VBA-M, and Kirby's Dream Land 2 is the only one I've got at the moment, but I was attempting to play with the sound muted just now, and no luck. Even though the Mute option was checked (and worked fine for GBA games), sound played anyway, the only way I could get it to shut up was to turn sound off outright, which of course makes the game run at ridiculous speeds until you throttle it. Even so, the emulator is still running at 108-110%, which, while not particularly bothersome, probably isn't exactly optimal.
Â
My setup right now is to use SGB, with the border displayed. Switching to other Game Boy modes didn't help any. Throttle is "100%", frame skip of 0. Audio is turned off, but is nominally DirectSound, sync game to audio is checked but obviously pointless with audio off, volume is at Mute, 25%, sampling rate is 44100Hz. I'm running Windows XP SP2, and the March 10 precompiled binary (461). If there's any other info that'd be useful, feel free to ask.
Â
Summary: "mute" doesn't work on GB games.
[FIXED]Muting sound in GB(C?) games.
Posted: Tue Mar 25, 2008 9:49 pm
by Squall Leonhart
Bug expanded,
Â
Mute does not affect GB and GBC games,
Mute Does effect GBA games, but once enabled, mute cannot be disabled.
Â
Effects
OpenAL
Xaudio
DirectSound
Â
Submitted to source forge bug tracker.
[FIXED]Muting sound in GB(C?) games.
Posted: Wed Mar 26, 2008 12:05 am
by Vague Rant
Hmm. I've been fooling with it some more, and it doesn't seem like that's 100% accurate. You can get sound to unmute again on GBA by hitting Options > Audio > On. After hitting mute in GBA, neither On or Off is checked in that menu, but once you hit On, audio becomes unmuted again. Obviously this isn't how it's supposed to work, and you're right that once you've muted you can't unmute by unchecking the mute function, but hey, the more details, the easier the problem can be found, I imagine.
[FIXED]Muting sound in GB(C?) games.
Posted: Wed Mar 26, 2008 12:20 am
by mudlord
Okay, which SVN version did this first break in?
[FIXED]Muting sound in GB(C?) games.
Posted: Wed Mar 26, 2008 12:52 am
by Vague Rant
Well, I'm actually pretty sure it's two separate problems. The muting on GBA issue is actually pretty minor, old SVNs and the original 1.8.0 and such had in the sound menu "Off", "Mute" and "On". In the more recent SVNs, "Mute" has been moved to the "Volume" menu, but it's really still one of the three options; that's why "On" is how you get the sound back. In other words, "Mute" is still working fine by the old system, it's just a bit more confusing the way it's been rearranged.
Â
Whether it was this rearranging that caused the other problem, with the GB/C refusing to mute, I'm not sure, but I'll edit this post once I've found the SVN where it happened.
Â
EDIT1: OK, they're definitely two separate bugs. Check out SVN 156; "Mute" has been moved to the "Volume" menu and works on GBA in the semi-confusing way described above, but GB/C muting still works. I've almost got the exact version where this bug was introduced, so expect another edit soon.
Â
EDIT2: Well, I've found the offending SVN update to the best of my ability. Somewhere between 157 and 176, the GB/C muting bug was introduced. I can't pinpoint it exactly because I don't know jack about compiling stuff, so I'm just using the precompiled versions from the site, but in 156, GB/C muting works fine, and in 176, it doesn't work at all. Hopefully this will make it easier for someone who actually knows what they're doing to find the culprit SVN. Good luck.
[FIXED]Muting sound in GB(C?) games.
Posted: Wed Mar 26, 2008 1:08 am
by Squall Leonhart
well, how about we remove mute completely and just make a 0% volume to mute?, technically its the same thing.
Â
Edit
What the heck, Volume itself is nuked for GB/C
[FIXED]Muting sound in GB(C?) games.
Posted: Wed Mar 26, 2008 8:41 am
by xKiv
well, how about we remove mute completely and just make a 0% volume to mute?
Â
Because mute is "supposed" (= users [1] expect it) to toggle between no-sound and whatever-it-was-before-muting (which might have been something else than 100% volume, all channels enabled, ...)?
Â
Â
[1] at least users who are used to TV remotes ...
[FIXED]Muting sound in GB(C?) games.
Posted: Wed Mar 26, 2008 5:31 pm
by mudlord
Somewhere between 157 and 176, the GB/C muting bug was introduced.
Â
blargg's sound core perhaps..?
Â
His core is a entirely different animal to what was in there previously.
[FIXED]Muting sound in GB(C?) games.
Posted: Wed Mar 26, 2008 6:25 pm
by spacy51
An easy workaround would be to remove the mute and volume stuff from the core and just let the sound output plugin handle it.
[FIXED]Muting sound in GB(C?) games.
Posted: Wed Mar 26, 2008 9:52 pm
by Squall Leonhart
not really, because then that leaves us with the problem of people wanting to play without vba sound, and since turning off sound can break audio related events.