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 807

Summary: fix/simplify win32 native_midi_detect()
Product: SDL_mixer Reporter: Ozkan Sezer <sezeroz>
Component: miscAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: x86   
OS: Linux   
Attachments: w32 native_midi_detect() patch

Description Ozkan Sezer 2009-09-26 03:43:47 UTC
Created attachment 373 [details]
w32 native_midi_detect() patch

W32 version of native_midi_detect() does midiStreamClose(MidiStream) where
MidiStream can be set to 0 just a line above.  The attached patch fixes it.

Regards.

--
Ozkan
Comment 1 Sam Lantinga 2009-09-26 03:49:46 UTC
Your patch is in subversion, thanks!