with today's CVS commit (for those who stay up to date with the latest developments), you'll have to modify your Wine configuration to reflect the changes.
First of all, your Wine configuration file now needs a WinMM section containing the following: [WinMM] "Drivers" = "wineoss.drv" "WaveMapper" = "msacm.drv" "MidiMapper" = "midimap.drv"
Not adding this will print the following message
You didn't setup properly the config file for the Wine multimedia modules. Will use the hard-coded setup, but this will disapear soon. Please add a WinMM section to your Wine config file.
Note that the above configuration will be shortly required, so don't wait before setting your configuration up
Next, you have also to add a key to your registry. To do so, create a sample file (let's call it foo) containing the following text:
[HKEY_LOCAL_USER\Software\Microsoft\Windows\CurrentVersion\Multimedia\MIDIMap] 989041554 "AutoScheme"=dword:00000000 "CurrentInstrument"="#0" "UseScheme"=dword:00000000
then goto the <wine>/programs/regapi and compile the program the run: regapi setValue < foo that's it
Not applying the key in the registry will result in various errors in MIDIMAP_ functions (mainly if Wine is set up to use a native Windows system)
Maintainers are welcome to update theirs packages accordingly (default values are in documentation/samples/config & winedefault.reg)
Detailed information is available in documentation/multimedia.sgml.
A+
eric pouech wrote:
regapi setValue < foo
Anyone know why I would get the following?
regapi: doSetValue failed to open key [HKEY_LOCAL_USER\Software\Microsoft\Windows\CurrentVersion\Multimedia\MIDIMap]
I believe it should have been HKEY_CURRENT_USER instead of HKEY_LOCAL_USER.
On Tue, May 22, 2001 at 05:21:44PM -0500, Ian Pilcher wrote:
eric pouech wrote:
regapi setValue < foo
Anyone know why I would get the following?
regapi: doSetValue failed to open key [HKEY_LOCAL_USER\Software\Microsoft\Windows\CurrentVersion\Multimedia\MIDIMap]
Mike Bond wrote:
I believe it should have been HKEY_CURRENT_USER instead of HKEY_LOCAL_USER.
That did it. Thanks!