Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static int SAMPLE_FREQ = 44100;
- private String nom;
- private CommunicationPort[] inputPorts;
- private CommunicationPort[] outputPorts;
- //CONS
- public ModuleAbstract (String nom, int nbInputPorts , int nbOutputPorts){
- this.nom = nom;
- inputPorts = new CommunicationPort[nbInputPorts];
- outputPorts = new CommunicationPort[nbOutputPorts];
- for(int i = 0; i<nbInputPorts ; i++){
- inputPorts[i].setConnexion(null);
- }
- for(int i = 0; i<nbOutputPorts ; i++){
- outputPorts[i].setConnexion(null);
- }
- }
- //METHODE
- public String getNom() {
- return nom;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement