http://bugs.winehq.org/show_bug.cgi?id=21589
Summary: MacOS error from MIDI SetVolume Product: Wine Version: 1.1.36 Platform: x86 OS/Version: Mac OS X 10.5 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: winmm&mci AssignedTo: wine-bugs@winehq.org ReportedBy: hoehle@users.sourceforge.net
Created an attachment (id=26043) --> (http://bugs.winehq.org/attachment.cgi?id=26043) console output during tests
Hi,
The midi tests now in git that will appear with wine-1.1.38 produce a strange error on MacOS: err:wave:AudioUnit_GetVolume AudioUnitGetParameter return an error "\xff\xff\xd5\x8e" Same error for SetVolume
a) Is dbg_fourcc() really the appropriate method for reporting error codes there? It rather looks like a small negative number: -10866 aka. kAudioUnitErr_InvalidScope
b) The same function succeeds when called from waveGetVolume in tests/wave.c on a wave handle instead of a MIDI one. Perhaps the MacOS MIDI SW-synth does not support volume settings after all?
Perhaps a more elaborate filter graph would be needed to support variable volumes? One would then question whether MIDICAPS_VOLUME need be reported at all in such a case and possibly drop support for Get/SetVolume in midi.c -- or implement said filter graph. This is just supposition. I'm not familiar with MacOS programming.