xesscorp/XSTOOLs — pull request #4 by bitflippersanonymous (2013-02-10 08:56:06+00:00)
Title: Removed winsound import that's not available on Linux

Enables xstest and usbprg to work on Linux w/o winsound. This change just removes the imports (and the sound).

Could guard the imports by OS for sound only on Windows, or could use pygame al la: http://code.activestate.com/recipes/521884-play-sound-files-with-pygame-in-a-cross-platform-m/

I tried using pygame, but it's pretty slow to setup and tear down the whole engine just to play a sound. (~1 second, but a noticeable hang)