mirror of https://github.com/PCSX2/pcsx2.git
USB: Limit microphone lower latency to 1ms
This commit is contained in:
parent
94d52d9ddb
commit
17b052430b
|
@ -1000,9 +1000,9 @@ namespace usb_mic
|
|||
nullptr, nullptr, nullptr, nullptr, &AudioDevice::GetInputDeviceList},
|
||||
{SettingInfo::Type::StringList, "output_device_name", "Output Device", "Selects the device to output audio to.", "", nullptr,
|
||||
nullptr, nullptr, nullptr, nullptr, &AudioDevice::GetOutputDeviceList},
|
||||
{SettingInfo::Type::Integer, "input_latency", "Input Latency", "Specifies the latency to the host input device.", AudioDevice::DEFAULT_LATENCY_STR, "0",
|
||||
{SettingInfo::Type::Integer, "input_latency", "Input Latency", "Specifies the latency to the host input device.", AudioDevice::DEFAULT_LATENCY_STR, "1",
|
||||
"1000", "1", "%dms", nullptr, nullptr, 1.0f},
|
||||
{SettingInfo::Type::Integer, "output_latency", "Output Latency", "Specifies the latency to the host output device.", AudioDevice::DEFAULT_LATENCY_STR, "0",
|
||||
{SettingInfo::Type::Integer, "output_latency", "Output Latency", "Specifies the latency to the host output device.", AudioDevice::DEFAULT_LATENCY_STR, "1",
|
||||
"1000", "1", "%dms", nullptr, nullptr, 1.0f},
|
||||
};
|
||||
return info;
|
||||
|
|
|
@ -855,7 +855,7 @@ namespace usb_mic
|
|||
{SettingInfo::Type::StringList, "player2_device_name", "Player 2 Device", "Selects the input for the second player.", "",
|
||||
nullptr, nullptr, nullptr, nullptr, nullptr, &AudioDevice::GetInputDeviceList},
|
||||
{SettingInfo::Type::Integer, "input_latency", "Input Latency", "Specifies the latency to the host input device.",
|
||||
AudioDevice::DEFAULT_LATENCY_STR, "0", "1000", "1", "%dms", nullptr, nullptr, 1.0f},
|
||||
AudioDevice::DEFAULT_LATENCY_STR, "1", "1000", "1", "%dms", nullptr, nullptr, 1.0f},
|
||||
};
|
||||
return info;
|
||||
}
|
||||
|
@ -876,7 +876,7 @@ namespace usb_mic
|
|||
{SettingInfo::Type::StringList, "input_device_name", "Input Device", "Selects the device to read audio from.", "", nullptr,
|
||||
nullptr, nullptr, nullptr, nullptr, &AudioDevice::GetInputDeviceList},
|
||||
{SettingInfo::Type::Integer, "input_latency", "Input Latency", "Specifies the latency to the host input device.",
|
||||
AudioDevice::DEFAULT_LATENCY_STR, "0", "1000", "1", "%dms", nullptr, nullptr, 1.0f},
|
||||
AudioDevice::DEFAULT_LATENCY_STR, "1", "1000", "1", "%dms", nullptr, nullptr, 1.0f},
|
||||
};
|
||||
return info;
|
||||
}
|
||||
|
|
|
@ -386,7 +386,7 @@ namespace usb_pad
|
|||
{SettingInfo::Type::StringList, "input_device_name", "Input Device", "Selects the device to read audio from.", "", nullptr,
|
||||
nullptr, nullptr, nullptr, nullptr, &AudioDevice::GetInputDeviceList},
|
||||
{SettingInfo::Type::Integer, "input_latency", "Input Latency", "Specifies the latency to the host input device.",
|
||||
AudioDevice::DEFAULT_LATENCY_STR, "0", "1000", "1", "%dms", nullptr, nullptr, 1.0f},
|
||||
AudioDevice::DEFAULT_LATENCY_STR, "1", "1000", "1", "%dms", nullptr, nullptr, 1.0f},
|
||||
};
|
||||
return info;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue