@Override public void newProperties(PropertySheet ps) throws PropertyException { super.newProperties(ps); logger = ps.getLogger(); create( ps.getInt(PROP_BYTES_PER_READ), ps.getComponentList(AUDIO_FILE_LISTENERS, AudioFileProcessListener.class)); }
@Override public void initialize() { super.initialize(); // reset all stream tags streamEndReached = false; utteranceEndSent = false; utteranceStarted = false; if (bytesPerRead % 2 == 1) { bytesPerRead++; } }