mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-01 07:55:42 -04:00
CDROM: Reduce ACK timing
This commit is contained in:
parent
557a6c3696
commit
2d92e0a819
@ -538,8 +538,8 @@ TickCount CDROM::GetAckDelayForCommand(Command command)
|
||||
|
||||
// Tests show that the average time to acknowledge a command is significantly higher when a disc is in the drive,
|
||||
// presumably because the controller is busy doing discy-things.
|
||||
constexpr u32 default_ack_delay_no_disc = 20000;
|
||||
constexpr u32 default_ack_delay_with_disc = 30000;
|
||||
constexpr u32 default_ack_delay_no_disc = 5000;
|
||||
constexpr u32 default_ack_delay_with_disc = 15000;
|
||||
return HasMedia() ? default_ack_delay_with_disc : default_ack_delay_no_disc;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user