Asynchronous Audio on Windows?

Scott Rossi scott at tactilemedia.com
Tue Jan 15 13:04:03 EST 2013


Does anybody know if there's some trick or secret to getting sounds to play
asynchronously along with events on Windows?

I have a stack that supplements user interaction with audio feedback:
clicks, chimes, etc.  I'm finding that all events are delayed by the use of
sound, in that the events don't trigger until the sound has finished
playing.  The sounds are imported WAV files of the correct sample rate/bits
(they play fine).  If I disable sound playback, all UI events respond as
expected.

It's been a while since I built anything with audio on Windows -- maybe I
just never ran into this ‹ but the app is unusable when audio is enabled.
On OS X, everything works fine without delays, so I don't believe there's
any problem with the stack.

Am I missing something?  Is audio feedback just not doable on Windows
without resorting to an external?

Thanks for any suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design





More information about the use-livecode mailing list