{"action":"created","issue":{"url":"https://api.github.com/repos/Taeir/fish-io/issues/120","labels_url":"https://api.github.com/repos/Taeir/fish-io/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/Taeir/fish-io/issues/120/comments","events_url":"https://api.github.com/repos/Taeir/fish-io/issues/120/events","html_url":"https://github.com/Taeir/fish-io/pull/120","id":110105328,"number":120,"title":"Audio and sound support","user":{"login":"Taeir","id":668952,"avatar_url":"https://avatars.githubusercontent.com/u/668952?v=3","gravatar_id":"","url":"https://api.github.com/users/Taeir","html_url":"https://github.com/Taeir","followers_url":"https://api.github.com/users/Taeir/followers","following_url":"https://api.github.com/users/Taeir/following{/other_user}","gists_url":"https://api.github.com/users/Taeir/gists{/gist_id}","starred_url":"https://api.github.com/users/Taeir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taeir/subscriptions","organizations_url":"https://api.github.com/users/Taeir/orgs","repos_url":"https://api.github.com/users/Taeir/repos","events_url":"https://api.github.com/users/Taeir/events{/privacy}","received_events_url":"https://api.github.com/users/Taeir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T21:29:36Z","updated_at":"2015-10-06T21:30:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Taeir/fish-io/pulls/120","html_url":"https://github.com/Taeir/fish-io/pull/120","diff_url":"https://github.com/Taeir/fish-io/pull/120.diff","patch_url":"https://github.com/Taeir/fish-io/pull/120.patch"},"body":"Added audio and sound support.\r\n\r\nI will add the tests later, otherwise the pull request would become even larger.\r\n\r\nOverview of what class does what:\r\n```\r\nAudioEngine:\tSingleton class for all things audio.\r\n\r\nFishClip: \t\tDecorator for javax.sound.sampled.Clip, which adds\r\n\t\t\t\tfunctionality to check if a clip is done playing and to\r\n\t\t\t\tupdate the clip volume dynamically when the volume\r\n\t\t\t\tproperties in AudioEngine change.\r\n\r\nSound:  \t\tAn object to represent a playable sound. It caches the\r\n\t\t\t\tdata from an input stream into a byte array, and offers\r\n\t\t\t\tan easy method to get new FishClips of a sound.\r\n\r\nClipRunnable:\tRunnable that plays a clip when ran.\r\n\r\nVolumeListener: A functional interface for listening for volume changes.\r\n```\r\n\r\nAdvised order of review:\r\n- Changes to pom.xml + added dependencies.\r\n- VolumeListener\r\n- ClipRunnable\r\n- FishClip\r\n- Sound\r\n- AudioEngine"},"comment":{"url":"https://api.github.com/repos/Taeir/fish-io/issues/comments/146007741","html_url":"https://github.com/Taeir/fish-io/pull/120#issuecomment-146007741","issue_url":"https://api.github.com/repos/Taeir/fish-io/issues/120","id":146007741,"user":{"login":"Taeir","id":668952,"avatar_url":"https://avatars.githubusercontent.com/u/668952?v=3","gravatar_id":"","url":"https://api.github.com/users/Taeir","html_url":"https://github.com/Taeir","followers_url":"https://api.github.com/users/Taeir/followers","following_url":"https://api.github.com/users/Taeir/following{/other_user}","gists_url":"https://api.github.com/users/Taeir/gists{/gist_id}","starred_url":"https://api.github.com/users/Taeir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taeir/subscriptions","organizations_url":"https://api.github.com/users/Taeir/orgs","repos_url":"https://api.github.com/users/Taeir/repos","events_url":"https://api.github.com/users/Taeir/events{/privacy}","received_events_url":"https://api.github.com/users/Taeir/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T21:30:33Z","updated_at":"2015-10-06T21:30:33Z","body":"Made small change to the layout."}}