{"action":"created","issue":{"url":"https://api.github.com/repos/libgdx/libgdx/issues/3279","labels_url":"https://api.github.com/repos/libgdx/libgdx/issues/3279/labels{/name}","comments_url":"https://api.github.com/repos/libgdx/libgdx/issues/3279/comments","events_url":"https://api.github.com/repos/libgdx/libgdx/issues/3279/events","html_url":"https://github.com/libgdx/libgdx/pull/3279","id":94690717,"number":3279,"title":"setVolume without ID for Sound","user":{"login":"PojahnM","id":5539893,"avatar_url":"https://avatars.githubusercontent.com/u/5539893?v=3","gravatar_id":"","url":"https://api.github.com/users/PojahnM","html_url":"https://github.com/PojahnM","followers_url":"https://api.github.com/users/PojahnM/followers","following_url":"https://api.github.com/users/PojahnM/following{/other_user}","gists_url":"https://api.github.com/users/PojahnM/gists{/gist_id}","starred_url":"https://api.github.com/users/PojahnM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PojahnM/subscriptions","organizations_url":"https://api.github.com/users/PojahnM/orgs","repos_url":"https://api.github.com/users/PojahnM/repos","events_url":"https://api.github.com/users/PojahnM/events{/privacy}","received_events_url":"https://api.github.com/users/PojahnM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-07-13T10:28:29Z","updated_at":"2015-07-14T04:46:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libgdx/libgdx/pulls/3279","html_url":"https://github.com/libgdx/libgdx/pull/3279","diff_url":"https://github.com/libgdx/libgdx/pull/3279.diff","patch_url":"https://github.com/libgdx/libgdx/pull/3279.patch"},"body":"One limitation I had with LibGDX sound interface is the lack of the ability to set volume without specifying an ID. Default volume.\r\n\r\nIn my game for example, there are utility classes that handle sound fall off. These need to alter the volume of sounds without playing it, which is done by the entities. So these small changes would be nice."},"comment":{"url":"https://api.github.com/repos/libgdx/libgdx/issues/comments/121131726","html_url":"https://github.com/libgdx/libgdx/pull/3279#issuecomment-121131726","issue_url":"https://api.github.com/repos/libgdx/libgdx/issues/3279","id":121131726,"user":{"login":"nooone","id":5896510,"avatar_url":"https://avatars.githubusercontent.com/u/5896510?v=3","gravatar_id":"","url":"https://api.github.com/users/nooone","html_url":"https://github.com/nooone","followers_url":"https://api.github.com/users/nooone/followers","following_url":"https://api.github.com/users/nooone/following{/other_user}","gists_url":"https://api.github.com/users/nooone/gists{/gist_id}","starred_url":"https://api.github.com/users/nooone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nooone/subscriptions","organizations_url":"https://api.github.com/users/nooone/orgs","repos_url":"https://api.github.com/users/nooone/repos","events_url":"https://api.github.com/users/nooone/events{/privacy}","received_events_url":"https://api.github.com/users/nooone/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T04:46:31Z","updated_at":"2015-07-14T04:46:31Z","body":"You are right. Looks like I shifted this slightly in another direction. I thought it was a general audio setting, but it is a setting for each Sound.\r\n\r\nBut when would you use this? Either you change the volume of a sound based on how far away it happens (different volume for each sound instance then), or you change the general volume for all sounds, because the user wants them to be more quiet. If I would want to change the default volume of a Sound, I would alter the audiofile itself. That way I could also combine it with distance based volume control ingame."}}