public static AudioDestination createAudioDestination() throws IOException {
  boolean ram=false;
  if (audiostoreProperty.equals("ram"))   ram=true;
 else   if (audiostoreProperty.equals("file"))   ram=false;
 else   ram=!lowMemoryCondition();
  return new AudioDestination(ram);
}

public static AudioDestination createAudioDestination ( ) throws IOException { boolean ram = false ; if ( audiostoreProperty . equals ( "ram" ) ) ram = true ; else if ( audiostoreProperty . equals ( "file" ) ) ram = false ; else ram = ! lowMemoryCondition ( ) ; return new AudioDestination ( ram ) ; }
create an audiodestination to which the audio data can be written . depending on the mary property " synthesis . audiostore " , this will use either a bytearrayoutputstream or a fileoutputstream . the calling code is responsible for administering this audiodestination .
