Jonathan Ernst wrote:
Le jeudi 03 novembre 2005 à 10:08 +1100, Davin McCall a écrit :
On Wed, 2 Nov 2005 14:02:55 +0000 (GMT) Robbert Xerox xerox_xerox2000@yahoo.co.uk wrote:
2nd question: is creating the key \HKEY_CURRENT_USER\Software\Wine\Alsa Driver\UseDirectHW necessary? If so, i'll have to do that manually (in regedit) i guess, as winecfg does not create such a key anywhere. And is this some undocumented key that also has some effects without your patch? thanks in advance for your answer.
a) No, creating the key is not strictly necessary, but at this stage I'd recommend it
b) Yes, this is an undocumented key which also has some effects without my patch.
It's not undocumented anymore ;-) : http://wiki.winehq.org/UsefulRegistryKeys
All driver registry settings should be in the audio driver property page so it can be set from winecfg.
See line 85 in the file wine/dlls/winm/winealsa/alsa.c where sending a DRV_CONFIGURE message to the driver currently just pops up a message box. This message is sent from the winecfg audio property page when the configure button is pressed. Unfortunately it doesn't currently work because opening an audio driver is broken.
Getting the audio driver property pages working would be a great project for someone.