{"action":"created","issue":{"url":"https://api.github.com/repos/mono/MonoGame/issues/4076","labels_url":"https://api.github.com/repos/mono/MonoGame/issues/4076/labels{/name}","comments_url":"https://api.github.com/repos/mono/MonoGame/issues/4076/comments","events_url":"https://api.github.com/repos/mono/MonoGame/issues/4076/events","html_url":"https://github.com/mono/MonoGame/issues/4076","id":100768136,"number":4076,"title":"alcMacOSXMixerOutputRate issue on iOS9","user":{"login":"rzaitov","id":2273285,"avatar_url":"https://avatars.githubusercontent.com/u/2273285?v=3","gravatar_id":"","url":"https://api.github.com/users/rzaitov","html_url":"https://github.com/rzaitov","followers_url":"https://api.github.com/users/rzaitov/followers","following_url":"https://api.github.com/users/rzaitov/following{/other_user}","gists_url":"https://api.github.com/users/rzaitov/gists{/gist_id}","starred_url":"https://api.github.com/users/rzaitov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rzaitov/subscriptions","organizations_url":"https://api.github.com/users/rzaitov/orgs","repos_url":"https://api.github.com/users/rzaitov/repos","events_url":"https://api.github.com/users/rzaitov/events{/privacy}","received_events_url":"https://api.github.com/users/rzaitov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-08-13T13:23:14Z","updated_at":"2015-09-14T14:30:15Z","closed_at":null,"body":"ctor of OpenALSoundController crashes on iOS9 device/simulator with \r\n> System.EntryPointNotFoundException: alcMacOSXMixerOutputRate\r\n\r\nHere is the self-contained example:\r\nhttps://github.com/xamarin/monotouch-samples/tree/master/BouncingGameCompleteiOS\r\n\r\nLooks like there is no symbol for *alcMacOSXMixerOutputRate* on iOS9. Sample works fine on iOS8.\r\n\r\nAlso have a look at Apple's sample\r\nhttps://developer.apple.com/library/mac/samplecode/OpenALExample/Listings/Scene_m.html#//apple_ref/doc/uid/DTS10003587-Scene_m-DontLinkElementID_10\r\n\r\n```\r\ntypedef ALvoid  AL_APIENTRY (*alcMacOSXMixerOutputRateProcPtr) (const ALdouble value);\r\nALvoid  alcMacOSXMixerOutputRateProc(const ALdouble value)\r\n{\r\n    static  alcMacOSXMixerOutputRateProcPtr proc = NULL;\r\n    \r\n    if (proc == NULL) {\r\n        proc = (alcMacOSXMixerOutputRateProcPtr) alcGetProcAddress(NULL, (const ALCchar*) \"alcMacOSXMixerOutputRate\");\r\n    }\r\n    \r\n    if (proc)\r\n        proc(value);\r\n \r\n    return;\r\n}\r\n```\r\n\r\nI think that we have to check existance of *alcMacOSXMixerOutputRate* symbol first before invoke alcMacOSXMixerOutputRate function\r\n\r\nI believe that this is a crasher https://github.com/mono/MonoGame/blob/develop/MonoGame.Framework/Audio/OpenALSoundController.cs#L95"},"comment":{"url":"https://api.github.com/repos/mono/MonoGame/issues/comments/140099148","html_url":"https://github.com/mono/MonoGame/issues/4076#issuecomment-140099148","issue_url":"https://api.github.com/repos/mono/MonoGame/issues/4076","id":140099148,"user":{"login":"jonathanpeppers","id":840039,"avatar_url":"https://avatars.githubusercontent.com/u/840039?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanpeppers","html_url":"https://github.com/jonathanpeppers","followers_url":"https://api.github.com/users/jonathanpeppers/followers","following_url":"https://api.github.com/users/jonathanpeppers/following{/other_user}","gists_url":"https://api.github.com/users/jonathanpeppers/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanpeppers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanpeppers/subscriptions","organizations_url":"https://api.github.com/users/jonathanpeppers/orgs","repos_url":"https://api.github.com/users/jonathanpeppers/repos","events_url":"https://api.github.com/users/jonathanpeppers/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanpeppers/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T14:30:15Z","updated_at":"2015-09-14T14:30:15Z","body":"FYI, we ran into this issue on the iOS 9 GM Seed.\r\n\r\nUsing @danzel 's change above, solves the issue. I'd say it's good to merge, as sounds are working fine in our game."}}