in reply to Re^5: win32 sound problem
in thread win32 sound problem

i tried everything you suggested and nothing works except for the fakery you suggested of loading an appropriately long bunch of silence. i now have it close to working. it seems that i have to overwrite the buffer with silence as you suggested. now i just need to calculate the amount of silence needed instead of making it a huge amount. too bad that this work around is needed but i am so pleased that you got me looking in a direction i would never have thought of.so it looks like the soundcard buffer is not purged by reset or anything else and has to be completely overwritten with silence. if anyone is listening, i would still like to know how to fix the win32 sound module.

Replies are listed 'Best First'.
Re^7: win32 sound problem
by roboticus (Chancellor) on Feb 28, 2011 at 03:07 UTC

    spencold:

    I'm glad that the workaround is taking care of you. I'm booked solid through this week, but if you remind me on Friday, I'll be happy to look at it over the weekend and see if I can find anything I can fix.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Re^7: win32 sound problem
by toolic (Bishop) on Feb 28, 2011 at 13:49 UTC
    if anyone is listening, i would still like to know how to fix the win32 sound module.
    I'll reiterate: you need to submit a bug report to have any chance of this being fixed. You can't assume the module author is listening here at PerlMonks.