There's a possible infinite loop in AudioFormat.setSizeBase(int val): the method could get called endlessly on the current object (this) if impl != null. Maybe the intention was to call setSizeBase on impl if it's not null and this patch does exactly that.
Spotted using FindBugs.
Patch for fixing infinite loop in AudioFormat