Opened 17 years ago

Closed 17 years ago

Last modified 20 months ago

#796 closed defect (fixed)

GUI: Switching music driver mixes up music

Reported by: SF/kirschsaft Owned by: SF/jamieson630
Priority: normal Component: GUI
Keywords: Cc:
Game:

Description

When I change the music driver from Windows to Adlib in the GUI, I will get Adlib-music sampled through my windows-sequencer. (which sounds quite weird)

The other way round (Adlib -> Windows) mutes the music.

This only happens if I use the GUI to change the driver.

I've tested it with MI2 (German) and the FOA-Demo yet. I'm using a CVS (10:24 from today) under Win2k

Ticket imported from: #741592. Ticket imported from: bugs/796.

Change History (7)

comment:1 by SF/kirschsaft, 17 years ago

I've tried the SIMON2 (Demo) today and it switched the driver (in-GUI) without any problem. SAM seems to switch correctly,too. DOTT has the same problem as MI2 and the FOADEMO.

comment:2 by fingolfin, 17 years ago

Owner: set to SF/jamieson630

comment:3 by SF/jamieson630, 17 years ago

First of all, read the big bold comments at the top of the gui/options.cpp file. "THIS IS A DUMMY! This just looks like an option dialog, but it doesn't change any actual settings currently!" Translate: Don't use the options dialog until Fingolfin has finished putting all the hooks in.

But as I hate to end a bug report on that note, I have implemented what I believe are the proper hooks for setting the music driver. I tested it with S&M and MI2. Test it some more and tell me if it works now. It's 2 a.m. and I won't be doing any more testing tonight.

Again, note that the music driver is probably the ONLY option in the GUI's options dialog that actually has real hooks in place. Until it's fully implemented, use command line options or the config file instead.

comment:4 by SF/kirschsaft, 17 years ago

Yeah it seems to work correctly now. Thanks and sorry.

comment:5 by SF/jamieson630, 17 years ago

Resolution: fixed
Status: newclosed

comment:6 by SF/jamieson630, 17 years ago

No problem. The report puts a spotlight back on the persistent holes in our domain-based config architecture. I'll be poking around at this some more -- unless I'm mistaken, there are some problems with command line options getting ignored if the launcher is used. Anyway... closing.

comment:7 by digitall, 20 months ago

Component: GUI
Note: See TracTickets for help on using tickets.