From 8a937730da75bb0f013ec96a95aee7d9d60f7148 Mon Sep 17 00:00:00 2001 From: Sabvente <sabvente@mail.com> Date: Sun, 11 May 2014 15:16:16 +0200 Subject: [PATCH] =?UTF-8?q?loop=20sound=20is=20le=C3=A1ll?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/Sounds.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/view/Sounds.java b/src/view/Sounds.java index e6fdadc..9a6cf0b 100644 --- a/src/view/Sounds.java +++ b/src/view/Sounds.java @@ -26,6 +26,7 @@ public class Sounds { clip = AudioSystem.getClip(); clip.open(aStream); clip.loop(Clip.LOOP_CONTINUOUSLY); + clips.add(clip); } catch (LineUnavailableException | IOException e1) { e1.printStackTrace(); } -- GitLab