Skip to content

Commit 118abcc

Browse files
Since I got the perfect method now, I'll have to focus on literally anything else than this
1 parent c7b30a9 commit 118abcc

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

hdlls/windows/ma_thing.hdll

0 Bytes
Binary file not shown.

src/miniaudio/ma_thing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2120,7 +2120,7 @@ int detectLatency() {
21202120
#endif
21212121
if (g_audioSystem.exists) {
21222122
if(!wearingPlugNPlay()) osMs += 50;
2123-
if(wearingHeadphones()) osMs += 32;
2123+
if(wearingHeadphones()) osMs += 22;
21242124
osMs -= g_audioSystem.getLatencyMs();
21252125
}
21262126
return osMs;

src/miniaudio/ma_thing_hl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2133,7 +2133,7 @@ HL_PRIM int HL_NAME(detectLatency)(_NO_ARG) {
21332133
#endif
21342134
if (g_audioSystem.exists) {
21352135
if(!HL_NAME(wearingPlugNPlay)()) osMs += 50;
2136-
if(HL_NAME(wearingHeadphones)()) osMs += 32;
2136+
if(HL_NAME(wearingHeadphones)()) osMs += 20;
21372137
osMs -= g_audioSystem.getLatencyMs();
21382138
}
21392139
return osMs;

0 commit comments

Comments
 (0)