*/
public LiveSoundActor(CompositeEntity container, String name)
throws IllegalActionException, NameDuplicationException {
super(container, name);
sampleRate = new SharedParameter(this, "sampleRate",
LiveSoundActor.class);
sampleRate.setExpression("8000");
sampleRate.setTypeEquals(BaseType.INT);
bitsPerSample = new SharedParameter(this, "bitsPerSample",
LiveSoundActor.class);
bitsPerSample.setExpression("16");
bitsPerSample.setTypeEquals(BaseType.INT);
channels = new SharedParameter(this, "channels", LiveSoundActor.class);
channels.setExpression("1");
channels.setTypeEquals(BaseType.INT);
transferSize = new SharedParameter(this, "transferSize",
LiveSoundActor.class);
transferSize.setExpression("128");
transferSize.setTypeEquals(BaseType.INT);
bufferSize = new SharedParameter(this, "bufferSize",
LiveSoundActor.class);
bufferSize.setExpression("1024");
bufferSize.setTypeEquals(BaseType.INT);
}