We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3561

Summary: Re-acquire device before playing effects if needed.
Product: SDL Reporter: Mathieu Laurendeau <mat.lau>
Component: hapticAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.5   
Hardware: x86_64   
OS: Windows (All)   
Attachments: Re-acquire device before playing effects if needed.

Description Mathieu Laurendeau 2017-01-18 09:35:00 UTC
Created attachment 2681 [details]
Re-acquire device before playing effects if needed.

Check the result of IDirectInputEffect_SetParameters and re-acquire the device to solve concurrency issues.
Comment 1 Sam Lantinga 2017-01-18 19:58:36 UTC
Got it, thanks!
https://hg.libsdl.org/SDL/rev/bab110e44dcb