cfxr for OS X Lion: Bandaid fix

After upgrading to OS X Lion, I launched cfxr and was dissapointed to discover that preview of sound effects was extremely choppy. Exporting sound effects still worked perfectly, but it's a bit frustrating to not be able to hear a live preview.

After a little bit of poking around, I discovered what could be considered a bandaid fix: a few lines of code added in, and now previews play back fine on my machine.

This is in no way meant to be the absolute correct fix for cfxr (I'm simply not familiar enough with the code to know). However, it seems to work well enough for me, so I thought I'd share.

You can find my patches to the cfxr project at my github project page, or you can download a precompiled binary: cfxr 0.2.0-osx-lion-patch.zip.