@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));
 }
示例#2
0
  @Override
  public void newProperties(PropertySheet ps) throws PropertyException {
    super.newProperties(ps);

    startSpeechTime = ps.getInt(PROP_START_SPEECH);
    endSilenceTime = ps.getInt(PROP_END_SILENCE);
    speechLeader = ps.getInt(PROP_SPEECH_LEADER);
  }