diff --git a/source-code/source/PD-Loader/templates.h b/source-code/source/PD-Loader/templates.h index 4f9f9cf..2ee991b 100644 --- a/source-code/source/PD-Loader/templates.h +++ b/source-code/source/PD-Loader/templates.h @@ -473,11 +473,11 @@ char divasound_template[] = "Alternate_Init=1\n" "\n" "[Buffer]\n" -"# Sets the requested buffer size in milliseconds.\n" +"# Sets the requested period size in milliseconds.\n" "# Try increasing this if audio stutters or desyncs.\n" -"# WASAPI will usually provide a larger buffer than specified.\n" -"# You can check the actual buffer size by enabling debug_component.\n" -"Buffer_Size=10\n" +"# WASAPI will usually provide a larger period than specified.\n" +"# You can check the actual period size by enabling debug_component.\n" +"Period_Size=10\n" "\n" "# Sets how many periods to use.\n" "# Fewer periods = lower latency, but it may cause issues.\n" diff --git a/source-code/source/plugins/DivaSound/src/dllmain.cpp b/source-code/source/plugins/DivaSound/src/dllmain.cpp index 3203dee..9d7908f 100644 --- a/source-code/source/plugins/DivaSound/src/dllmain.cpp +++ b/source-code/source/plugins/DivaSound/src/dllmain.cpp @@ -339,7 +339,7 @@ void loadConfig() if (bitDepth != 32 && bitDepth != 24) bitDepth = 16; - requestBuffer = GetPrivateProfileIntW(L"buffer", L"buffer_size", 10, CONFIG_FILE); + requestBuffer = GetPrivateProfileIntW(L"buffer", L"period_size", 10, CONFIG_FILE); if (requestBuffer < 0) requestBuffer = 0;