src/share/classes/com/sun/media/sound/SoftInstrument.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 42,52 ****
public SoftInstrument(ModelInstrument ins) {
super(ins.getSoundbank(), ins.getPatch(), ins.getName(),
ins.getDataClass());
data = ins.getData();
this.ins = ins;
! initPerformers(((ModelInstrument)ins).getPerformers());
}
public SoftInstrument(ModelInstrument ins,
ModelPerformer[] overrideperformers) {
super(ins.getSoundbank(), ins.getPatch(), ins.getName(),
--- 42,52 ----
public SoftInstrument(ModelInstrument ins) {
super(ins.getSoundbank(), ins.getPatch(), ins.getName(),
ins.getDataClass());
data = ins.getData();
this.ins = ins;
! initPerformers(ins.getPerformers());
}
public SoftInstrument(ModelInstrument ins,
ModelPerformer[] overrideperformers) {
super(ins.getSoundbank(), ins.getPatch(), ins.getName(),