{"action":"created","issue":{"url":"https://api.github.com/repos/XCSoar/XCSoar/issues/112","repository_url":"https://api.github.com/repos/XCSoar/XCSoar","labels_url":"https://api.github.com/repos/XCSoar/XCSoar/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/XCSoar/XCSoar/issues/112/comments","events_url":"https://api.github.com/repos/XCSoar/XCSoar/issues/112/events","html_url":"https://github.com/XCSoar/XCSoar/pull/112","id":329211494,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNTI0MTUw","number":112,"title":"[Android] Make it possible to play external wav files","user":{"login":"jharting","id":167352,"node_id":"MDQ6VXNlcjE2NzM1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/167352?v=4","gravatar_id":"","url":"https://api.github.com/users/jharting","html_url":"https://github.com/jharting","followers_url":"https://api.github.com/users/jharting/followers","following_url":"https://api.github.com/users/jharting/following{/other_user}","gists_url":"https://api.github.com/users/jharting/gists{/gist_id}","starred_url":"https://api.github.com/users/jharting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jharting/subscriptions","organizations_url":"https://api.github.com/users/jharting/orgs","repos_url":"https://api.github.com/users/jharting/repos","events_url":"https://api.github.com/users/jharting/events{/privacy}","received_events_url":"https://api.github.com/users/jharting/received_events","type":"User","site_admin":false},"labels":[{"id":691855821,"node_id":"MDU6TGFiZWw2OTE4NTU4MjE=","url":"https://api.github.com/repos/XCSoar/XCSoar/labels/enhancement","name":"enhancement","color":"0e8a16","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-04T20:49:17Z","updated_at":"2018-06-05T09:06:42Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/XCSoar/XCSoar/pulls/112","html_url":"https://github.com/XCSoar/XCSoar/pull/112","diff_url":"https://github.com/XCSoar/XCSoar/pull/112.diff","patch_url":"https://github.com/XCSoar/XCSoar/pull/112.patch"},"body":"This brings SoundUtil functionality on Android on par with WIN32. If the name of the resource to be played ends with .wav it will be loaded as an external file and played. A quick way to test it is with a simple init.lua file:\r\n```lua\r\nxcsoar.fire_legacy_event(\"PlaySound\", \"test.wav\")\r\n```"},"comment":{"url":"https://api.github.com/repos/XCSoar/XCSoar/issues/comments/394637334","html_url":"https://github.com/XCSoar/XCSoar/pull/112#issuecomment-394637334","issue_url":"https://api.github.com/repos/XCSoar/XCSoar/issues/112","id":394637334,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDYzNzMzNA==","user":{"login":"jharting","id":167352,"node_id":"MDQ6VXNlcjE2NzM1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/167352?v=4","gravatar_id":"","url":"https://api.github.com/users/jharting","html_url":"https://github.com/jharting","followers_url":"https://api.github.com/users/jharting/followers","following_url":"https://api.github.com/users/jharting/following{/other_user}","gists_url":"https://api.github.com/users/jharting/gists{/gist_id}","starred_url":"https://api.github.com/users/jharting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jharting/subscriptions","organizations_url":"https://api.github.com/users/jharting/orgs","repos_url":"https://api.github.com/users/jharting/repos","events_url":"https://api.github.com/users/jharting/events{/privacy}","received_events_url":"https://api.github.com/users/jharting/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T09:06:42Z","updated_at":"2018-06-05T09:06:42Z","author_association":"MEMBER","body":"@Turbo87 yeah it uses LocalPath so anything directly in XCSoarData or nested can be referenced. Say you have `XCSoarData/sound/beep.wav` you can get that played by `xcsoar.fire_legacy_event(\"PlaySound\", \"sound/beep.wav\")`"}}
{"actor":{"display_login":"jharting"}}