{"action":"created","issue":{"url":"https://api.github.com/repos/dr-soft/mini_al/issues/26","repository_url":"https://api.github.com/repos/dr-soft/mini_al","labels_url":"https://api.github.com/repos/dr-soft/mini_al/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/dr-soft/mini_al/issues/26/comments","events_url":"https://api.github.com/repos/dr-soft/mini_al/issues/26/events","html_url":"https://github.com/dr-soft/mini_al/issues/26","id":342167412,"node_id":"MDU6SXNzdWUzNDIxNjc0MTI=","number":26,"title":"Sound Layering and Volume Adjustment Example?","user":{"login":"KTRosenberg","id":16908296,"node_id":"MDQ6VXNlcjE2OTA4Mjk2","avatar_url":"https://avatars2.githubusercontent.com/u/16908296?v=4","gravatar_id":"","url":"https://api.github.com/users/KTRosenberg","html_url":"https://github.com/KTRosenberg","followers_url":"https://api.github.com/users/KTRosenberg/followers","following_url":"https://api.github.com/users/KTRosenberg/following{/other_user}","gists_url":"https://api.github.com/users/KTRosenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/KTRosenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KTRosenberg/subscriptions","organizations_url":"https://api.github.com/users/KTRosenberg/orgs","repos_url":"https://api.github.com/users/KTRosenberg/repos","events_url":"https://api.github.com/users/KTRosenberg/events{/privacy}","received_events_url":"https://api.github.com/users/KTRosenberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":76,"created_at":"2018-07-18T03:53:43Z","updated_at":"2018-09-11T10:16:28Z","closed_at":null,"author_association":"NONE","body":"I am trying to learn to use mini_al to layer looping (streamed) background music with one-shot sound effects (e.g. footsteps), but there don't seem to be examples for layering sounds--only opening a single audio file. Also, it is unclear how one would modify volume. I am sure that all of this is doable, but are there more advanced examples floating around?"},"comment":{"url":"https://api.github.com/repos/dr-soft/mini_al/issues/comments/420222502","html_url":"https://github.com/dr-soft/mini_al/issues/26#issuecomment-420222502","issue_url":"https://api.github.com/repos/dr-soft/mini_al/issues/26","id":420222502,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDIyMjUwMg==","user":{"login":"BareRose","id":23365116,"node_id":"MDQ6VXNlcjIzMzY1MTE2","avatar_url":"https://avatars2.githubusercontent.com/u/23365116?v=4","gravatar_id":"","url":"https://api.github.com/users/BareRose","html_url":"https://github.com/BareRose","followers_url":"https://api.github.com/users/BareRose/followers","following_url":"https://api.github.com/users/BareRose/following{/other_user}","gists_url":"https://api.github.com/users/BareRose/gists{/gist_id}","starred_url":"https://api.github.com/users/BareRose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BareRose/subscriptions","organizations_url":"https://api.github.com/users/BareRose/orgs","repos_url":"https://api.github.com/users/BareRose/repos","events_url":"https://api.github.com/users/BareRose/events{/privacy}","received_events_url":"https://api.github.com/users/BareRose/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T10:16:28Z","updated_at":"2018-09-11T10:16:28Z","author_association":"NONE","body":"Breaking in certain \"wrong\" cases is kinda the point of the #undef method, full-on implementation guard is much more bullet-proof, which is why I suggested it originally.\r\n\r\nNot sure it would even apply in your example, as embedding the hash table implies copy-pasting the required features into the LRU cache header's implementation and making them static, plus most likely prefixing them the same way you'd prefix other internal functions for a single-file library.\r\n\r\nEven going the route of embedding the entire hash table header along with the implementation #defines and such, which is arguably incorrect to do and defeats the purpose of avoiding dependencies, it would be easy enough to just not also implement the hash table separately.\r\n\r\nBasically it's a case that arguably constitutes incorrect usage of the implementation system, which would make failure the correct behaviour. These kinds of choices are ultimately subjective, though. I'm currently weighing both options, and will probably update all my libraries accordingly once I've made my choice."}}
{"actor":{"display_login":"BareRose"}}