{"action":"created","issue":{"url":"https://api.github.com/repos/teeworlds/teeworlds/issues/1630","repository_url":"https://api.github.com/repos/teeworlds/teeworlds","labels_url":"https://api.github.com/repos/teeworlds/teeworlds/issues/1630/labels{/name}","comments_url":"https://api.github.com/repos/teeworlds/teeworlds/issues/1630/comments","events_url":"https://api.github.com/repos/teeworlds/teeworlds/issues/1630/events","html_url":"https://github.com/teeworlds/teeworlds/issues/1630","id":379412981,"node_id":"MDU6SXNzdWUzNzk0MTI5ODE=","number":1630,"title":"Ease up toggling audio on and off","user":{"login":"Dune-jr","id":355114,"node_id":"MDQ6VXNlcjM1NTExNA==","avatar_url":"https://avatars2.githubusercontent.com/u/355114?v=4","gravatar_id":"","url":"https://api.github.com/users/Dune-jr","html_url":"https://github.com/Dune-jr","followers_url":"https://api.github.com/users/Dune-jr/followers","following_url":"https://api.github.com/users/Dune-jr/following{/other_user}","gists_url":"https://api.github.com/users/Dune-jr/gists{/gist_id}","starred_url":"https://api.github.com/users/Dune-jr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dune-jr/subscriptions","organizations_url":"https://api.github.com/users/Dune-jr/orgs","repos_url":"https://api.github.com/users/Dune-jr/repos","events_url":"https://api.github.com/users/Dune-jr/events{/privacy}","received_events_url":"https://api.github.com/users/Dune-jr/received_events","type":"User","site_admin":false},"labels":[{"id":46085,"node_id":"MDU6TGFiZWw0NjA4NQ==","url":"https://api.github.com/repos/teeworlds/teeworlds/labels/feature","name":"feature","color":"85ebf2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-10T11:04:01Z","updated_at":"2018-11-10T16:02:46Z","closed_at":null,"author_association":"MEMBER","body":"Right now, if `cl_snd_enable` is not set to 1 at startup, sounds are not initialized and thus cannot be turned off:\r\n\r\nhttps://github.com/teeworlds/teeworlds/blob/693c409b963227b3783fc285c745f9d52bd78e97/src/engine/client/sound.cpp#L209-L210\r\n\r\n This is quite inconvenient if you're someone like me who finds yourself regularly turning it on and off. Is there a good reason for not initializing audio?\r\n\r\nI'm also thinking we could have some sort of UI notification when the sound is being turned on & off, e.g. a small 🔊 / 🔇 somewhere. Toggling audio could then become a command of its own, bound by default. What do you think?"},"comment":{"url":"https://api.github.com/repos/teeworlds/teeworlds/issues/comments/437594102","html_url":"https://github.com/teeworlds/teeworlds/issues/1630#issuecomment-437594102","issue_url":"https://api.github.com/repos/teeworlds/teeworlds/issues/1630","id":437594102,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzU5NDEwMg==","user":{"login":"oy","id":293850,"node_id":"MDQ6VXNlcjI5Mzg1MA==","avatar_url":"https://avatars2.githubusercontent.com/u/293850?v=4","gravatar_id":"","url":"https://api.github.com/users/oy","html_url":"https://github.com/oy","followers_url":"https://api.github.com/users/oy/followers","following_url":"https://api.github.com/users/oy/following{/other_user}","gists_url":"https://api.github.com/users/oy/gists{/gist_id}","starred_url":"https://api.github.com/users/oy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oy/subscriptions","organizations_url":"https://api.github.com/users/oy/orgs","repos_url":"https://api.github.com/users/oy/repos","events_url":"https://api.github.com/users/oy/events{/privacy}","received_events_url":"https://api.github.com/users/oy/received_events","type":"User","site_admin":false},"created_at":"2018-11-10T16:02:46Z","updated_at":"2018-11-10T16:02:46Z","author_association":"MEMBER","body":"It's not just the better loading phase. It doesn't need the audio part of sdl and the program needs less ressources in general.\r\nShould still be possible to turn that off. I had it always turned off.\r\n"}}
{"actor":{"display_login":"oy"}}