Robert Reif a écrit :
Robert Reif wrote:
Here is a patch that adds an audio driver configure button and tries to send a DRV_CONFIGURE message to the selected audio driver.
It doesn't work because it can't find the audio driver. However, hard coding the driver name to "joystick.drv" does display the joystick config dialog so it should work. Any ideas why it doesn't work?
Answering my own post, it looks like wine doesn't support opening a driver more than once. Changing the wineoss driver to allow multiple opens causes the configure dialog to appear but also causes a crash at program exit because the winmm driver is confused.
I'd rather say wineoss only supports one opening... btw, did you change as well the close message with proper refcounting ? A+