{"action":"created","issue":{"url":"https://api.github.com/repos/libgdx/libgdx/issues/4196","repository_url":"https://api.github.com/repos/libgdx/libgdx","labels_url":"https://api.github.com/repos/libgdx/libgdx/issues/4196/labels{/name}","comments_url":"https://api.github.com/repos/libgdx/libgdx/issues/4196/comments","events_url":"https://api.github.com/repos/libgdx/libgdx/issues/4196/events","html_url":"https://github.com/libgdx/libgdx/issues/4196","id":166146690,"number":4196,"title":"Add 3D audio functionality to Music and Sound","user":{"login":"CreamyCookie","id":3063858,"avatar_url":"https://avatars.githubusercontent.com/u/3063858?v=3","gravatar_id":"","url":"https://api.github.com/users/CreamyCookie","html_url":"https://github.com/CreamyCookie","followers_url":"https://api.github.com/users/CreamyCookie/followers","following_url":"https://api.github.com/users/CreamyCookie/following{/other_user}","gists_url":"https://api.github.com/users/CreamyCookie/gists{/gist_id}","starred_url":"https://api.github.com/users/CreamyCookie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CreamyCookie/subscriptions","organizations_url":"https://api.github.com/users/CreamyCookie/orgs","repos_url":"https://api.github.com/users/CreamyCookie/repos","events_url":"https://api.github.com/users/CreamyCookie/events{/privacy}","received_events_url":"https://api.github.com/users/CreamyCookie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-18T17:22:34Z","updated_at":"2016-12-04T20:22:54Z","closed_at":"2016-12-04T13:19:05Z","body":"In OpenAL a sound can have a 3D position and velocity. Being able to set these for `Sound` and `Music` would be great.\n\nThe function signatures would probably look something like this:\n\n``` java\npublic void setSourcePosition(Vector3 position)\npublic void setSourceVelocity(Vector3 velocity)\n```\n"},"comment":{"url":"https://api.github.com/repos/libgdx/libgdx/issues/comments/264728315","html_url":"https://github.com/libgdx/libgdx/issues/4196#issuecomment-264728315","issue_url":"https://api.github.com/repos/libgdx/libgdx/issues/4196","id":264728315,"user":{"login":"CreamyCookie","id":3063858,"avatar_url":"https://avatars.githubusercontent.com/u/3063858?v=3","gravatar_id":"","url":"https://api.github.com/users/CreamyCookie","html_url":"https://github.com/CreamyCookie","followers_url":"https://api.github.com/users/CreamyCookie/followers","following_url":"https://api.github.com/users/CreamyCookie/following{/other_user}","gists_url":"https://api.github.com/users/CreamyCookie/gists{/gist_id}","starred_url":"https://api.github.com/users/CreamyCookie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CreamyCookie/subscriptions","organizations_url":"https://api.github.com/users/CreamyCookie/orgs","repos_url":"https://api.github.com/users/CreamyCookie/repos","events_url":"https://api.github.com/users/CreamyCookie/events{/privacy}","received_events_url":"https://api.github.com/users/CreamyCookie/received_events","type":"User","site_admin":false},"created_at":"2016-12-04T20:22:54Z","updated_at":"2016-12-04T20:22:54Z","body":"@badlogic That's true, but may I ask why that is a problem?  There are certainly features that are [only supported on Android](https://github.com/libgdx/libgdx/wiki/Configuration-%26-querying#disabling-accelerometer--compass-android-only) and I would never argue that they shouldn't be there because of that. Of course, I understand that it's a good idea to not clutter the API with too many platform specifics, but that's not even the case here and I can certainly see those methods being useful on mobile platforms as well.\r\n\r\nOnly slightly related but Google's Cardboard SDK for Android [will get spatial audio support](https://developers.googleblog.com/2016/01/spatial-audio-comes-to-cardboard-sdk.html).\r\n\r\n"}}
{"actor":{"display_login":"CreamyCookie"}}