{"action":"created","issue":{"url":"https://api.github.com/repos/Azimer/AziAudio/issues/34","labels_url":"https://api.github.com/repos/Azimer/AziAudio/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Azimer/AziAudio/issues/34/comments","events_url":"https://api.github.com/repos/Azimer/AziAudio/issues/34/events","html_url":"https://github.com/Azimer/AziAudio/issues/34","id":73414405,"number":34,"title":"Temporarily missing XAudio2 support in MinGW builds.","user":{"login":"cxd4","id":1396303,"avatar_url":"https://avatars.githubusercontent.com/u/1396303?v=3","gravatar_id":"","url":"https://api.github.com/users/cxd4","html_url":"https://github.com/cxd4","followers_url":"https://api.github.com/users/cxd4/followers","following_url":"https://api.github.com/users/cxd4/following{/other_user}","gists_url":"https://api.github.com/users/cxd4/gists{/gist_id}","starred_url":"https://api.github.com/users/cxd4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxd4/subscriptions","organizations_url":"https://api.github.com/users/cxd4/orgs","repos_url":"https://api.github.com/users/cxd4/repos","events_url":"https://api.github.com/users/cxd4/events{/privacy}","received_events_url":"https://api.github.com/users/cxd4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-05T19:50:35Z","updated_at":"2015-05-06T19:50:28Z","closed_at":null,"body":"Seemed time to finally move all the XAudio2 half of that discussion to its own issue.\r\n\r\nI still plan to resolve it, but the ideas keep coming and wanted to move that chat to here.\r\n\r\nI suspect that the reason why compiling without -DXAUDIO_LIBRARIES_UNAVAILABLE in MinGW fails is because I found 6 headers that are not natively shipped, but only 5 of them are relevant to the DirectX SDK that I found them from.  The 6th one is `<sal.h>` ... http://stackoverflow.com/questions/9511433/missing-sal-h-while-compling-a-win32-project-via-mingw ... which I probably uploaded an outdated version of.\r\n\r\nThat might be the final reason why it's not compiling.  Is there a GNU version of that header, or do I just need to copy-paste it from a fixed version (probably VS2013) of the Microsoft Visual C++ headers?"},"comment":{"url":"https://api.github.com/repos/Azimer/AziAudio/issues/comments/99585487","html_url":"https://github.com/Azimer/AziAudio/issues/34#issuecomment-99585487","issue_url":"https://api.github.com/repos/Azimer/AziAudio/issues/34","id":99585487,"user":{"login":"cxd4","id":1396303,"avatar_url":"https://avatars.githubusercontent.com/u/1396303?v=3","gravatar_id":"","url":"https://api.github.com/users/cxd4","html_url":"https://github.com/cxd4","followers_url":"https://api.github.com/users/cxd4/followers","following_url":"https://api.github.com/users/cxd4/following{/other_user}","gists_url":"https://api.github.com/users/cxd4/gists{/gist_id}","starred_url":"https://api.github.com/users/cxd4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxd4/subscriptions","organizations_url":"https://api.github.com/users/cxd4/orgs","repos_url":"https://api.github.com/users/cxd4/repos","events_url":"https://api.github.com/users/cxd4/events{/privacy}","received_events_url":"https://api.github.com/users/cxd4/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T19:50:28Z","updated_at":"2015-05-06T19:50:28Z","body":"http://stackoverflow.com/questions/28953860/issue-with-mingw-file-clocale-h-can-i-change-the-code\r\n\r\nThat explains why it always kept failing.\r\nMicrosoft `xaudio2.h` uses the `<sal.h>` driver reference:\r\n```c\r\n#define __out                           _SAL_VERSION_CHECK(__out)\r\n```\r\n\r\nIf you do `#include <iostream>` or things like that in C++ you will have this conflict with MinGW headers...I'm not sure which side can really be blamed for this."}}