ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48637] sound task either does nothing or endlessly loops sound.
Date Fri, 29 Jan 2010 15:44:35 GMT

--- Comment #2 from Ed Brannin <> 2010-01-29 07:44:31 UTC ---
Created an attachment (id=24905)
 --> (
Patch against 1.8.0RC1 to fix both issues (and fix some comment spelling)

I downloaded the 1.8.0RC1 source distribution and fixed both issues this


There was a race condition between clip.loop() and clip.isRunning() where the
system could exit before the clip started.

I don't like how this takes one busy-wait and turns it into two busy-waits, and
am going to replace them with a do/try/sleep loop in a minute.  I'm uploading
this patch now in case you prefer this version.

clip.loop(Clip.LOOP_CONTINUOUSLY) and the ensuing Thread.sleep(duration) worked
fine, but no one ever called clip.stop() at the end.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message