Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Background Music Sound Rerverting  (Read 2171 times)

0 Members and 1 Guest are viewing this topic.

allbunsglazing

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:March 10, 2012, 08:07:24 pm
Background Music Sound Rerverting
« on: February 21, 2012, 06:58:41 am »
Hi,
I looked around in the forum but couldn't find anything that's exactly this issue - which is the only issue I'm having with this amazingly useful FrontEnd powering two cabs I've built.

The Issue:
When I adjust the volume from the main Mala menu (P2 Start > Sound > Volume), the sound resets to the value defined in mala.ini under BgMusic Volume= upon starting the next song.

My System:
Windows XP
Mala 1.74
Custom Layout
Mame 0.143u9 (A build that removes nag-screens and has hardware support)

Example:
The sound will start at 25 (default set in mala.ini under BgMusic section) and I'll adjust it to rock out at 65. I'm wailing away at undead scum in Splatterhouse with the Ramones cheering me on on 65 and then the next song starts and I'm back to 25. I'll quit the game, adjust the volume (P2 Start, Sound, Volume) and then experiment by selecting "Previous/Next song" and the same symptoms occur.

What I've Done:
I've tried setting the volume param to volume= to see if that's right, but it assigns a volume itself, which is around 75. I've tried enabling and disabling fade as I've had problems with this in the past. I've also toggled the other music settings such as Repeat etc.

Further Tests:
Say, the volume is set on 4, and I increase it to 30 through the main menu (P2 Start, Sound, Volume) and quit mala before the song ends - mala.ini reports volume=30. It seems to only revert when the next song is played.

Assumptions:
Mala seems to be writing to mala.ini correctly and also reading from it in regards to other BgMusic settings such as loop, fade etc. Could Mala be reading from an internal variable that's been saved, and not from the ini file, or perhaps the internal variable isn't being updated when the volume level is being updated? Again, these are assumptions, but it's a strong possibility I can think of but I accept I could be way off.

Anyway, I look forward to some ideas or perhaps someone saying "derp allbuns, it's a know bug *link to solution*" or perhaps someone being able to replicate the issue.

Thanks in advance,
Sam (AllBunsGlazing)

allbunsglazing

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:March 10, 2012, 08:07:24 pm
Re: Background Music Sound Rerverting
« Reply #1 on: March 10, 2012, 08:07:24 pm »
Hi All,

I've pretty much given up on this one. I've hooked up the speaker to an amplifier and for now, I'll control the sound through the amplifier's volume control.

All Buns Glazing.