Skip to content

Commit

Permalink
Version 14.6.13 (PR127)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaleidonKep99 committed Jul 18, 2022
1 parent 141e5a0 commit 95c1f11
Show file tree
Hide file tree
Showing 20 changed files with 9,727 additions and 105 deletions.
Binary file modified DeveloperContent/LIB32/OmniMIDI_Win32.exp
Binary file not shown.
Binary file modified DeveloperContent/LIB32/OmniMIDI_Win32.lib
Binary file not shown.
Binary file modified DeveloperContent/LIB64/OmniMIDI_Win64.exp
Binary file not shown.
Binary file modified DeveloperContent/LIB64/OmniMIDI_Win64.lib
Binary file not shown.
Binary file modified DeveloperContent/LIBARM64/OmniMIDI_ARM64.exp
Binary file not shown.
Binary file modified DeveloperContent/LIBARM64/OmniMIDI_ARM64.lib
Binary file not shown.
12 changes: 5 additions & 7 deletions OmniMIDI/DriverInit.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,17 @@ void ResetTimings() {
}

BOOL EnableMIDIFeedbackMode() {
return true;
// If minimal playback is enabled, abort the feedback initialization process,
// since the required functions aren't called in this mode.
if (HyperMode)
return FALSE;

try {
// Initialize feedback device info
DWORD NumDevs = 0;
MIDIOUTCAPSW CapsW;
BOOL FeedbackEnabled = FALSE;
wchar_t FeedbackDevice[MAX_PATH] = L"Microsoft GS Wavetable Synth\0";
wchar_t FeedbackDevice[32] = L"Microsoft GS Wavetable Synth\0";

// Initialize registry values
DWORD dwType = REG_DWORD;
Expand All @@ -81,11 +84,6 @@ BOOL EnableMIDIFeedbackMode() {
RegQueryValueEx(Configuration.Address, L"FeedbackEnabled", NULL, &dwType, (LPBYTE)&FeedbackEnabled, &dwSize);
RegQueryValueEx(Configuration.Address, L"FeedbackDevice", NULL, &ASType, (LPBYTE)&FeedbackDevice, &ASSize);

// If minimal playback is enabled, abort the feedback initialization process,
// since the required functions aren't called in this mode.
if (HyperMode)
return FALSE;

// If the process has been blacklisted through KDMAPI,
// or the feedback mode isn't enabled, return and don't load OWINMM
if (!FeedbackEnabled || FeedbackBlacklisted)
Expand Down
1 change: 1 addition & 0 deletions OmniMIDI/OmniMIDI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ typedef long NTSTATUS;
#include <Dbghelp.h>
#include <assert.h>
#include <strsafe.h>
#include <VersionHelpers.h>
#include "NTDLLDummy.h"
#include "Resource.h"
#include "OmniMIDI.h"
Expand Down
Binary file modified OmniMIDI/Resource.aps
Binary file not shown.
Binary file modified OmniMIDI/Resource.rc
Binary file not shown.
Loading

0 comments on commit 95c1f11

Please sign in to comment.