{"action":"created","issue":{"url":"https://api.github.com/repos/PCSX2/pcsx2/issues/929","labels_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/929/labels{/name}","comments_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/929/comments","events_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/929/events","html_url":"https://github.com/PCSX2/pcsx2/pull/929","id":113262737,"number":929,"title":"Spu sdl api config","user":{"login":"gregory38","id":1569559,"avatar_url":"https://avatars.githubusercontent.com/u/1569559?v=3","gravatar_id":"","url":"https://api.github.com/users/gregory38","html_url":"https://github.com/gregory38","followers_url":"https://api.github.com/users/gregory38/followers","following_url":"https://api.github.com/users/gregory38/following{/other_user}","gists_url":"https://api.github.com/users/gregory38/gists{/gist_id}","starred_url":"https://api.github.com/users/gregory38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregory38/subscriptions","organizations_url":"https://api.github.com/users/gregory38/orgs","repos_url":"https://api.github.com/users/gregory38/repos","events_url":"https://api.github.com/users/gregory38/events{/privacy}","received_events_url":"https://api.github.com/users/gregory38/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PCSX2/pcsx2/labels/Needs%20Linux%20testing","name":"Needs Linux testing","color":"f7c6c7"},{"url":"https://api.github.com/repos/PCSX2/pcsx2/labels/OS:%20Linux","name":"OS: Linux","color":"fef2c0"},{"url":"https://api.github.com/repos/PCSX2/pcsx2/labels/Plugin:%20SPU2-X","name":"Plugin: SPU2-X","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"gregory38","id":1569559,"avatar_url":"https://avatars.githubusercontent.com/u/1569559?v=3","gravatar_id":"","url":"https://api.github.com/users/gregory38","html_url":"https://github.com/gregory38","followers_url":"https://api.github.com/users/gregory38/followers","following_url":"https://api.github.com/users/gregory38/following{/other_user}","gists_url":"https://api.github.com/users/gregory38/gists{/gist_id}","starred_url":"https://api.github.com/users/gregory38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregory38/subscriptions","organizations_url":"https://api.github.com/users/gregory38/orgs","repos_url":"https://api.github.com/users/gregory38/repos","events_url":"https://api.github.com/users/gregory38/events{/privacy}","received_events_url":"https://api.github.com/users/gregory38/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/PCSX2/pcsx2/milestones/1","html_url":"https://github.com/PCSX2/pcsx2/milestones/Release%201.4","labels_url":"https://api.github.com/repos/PCSX2/pcsx2/milestones/1/labels","id":621291,"number":1,"title":"Release 1.4","description":"","creator":{"login":"gigaherz","id":685851,"avatar_url":"https://avatars.githubusercontent.com/u/685851?v=3","gravatar_id":"","url":"https://api.github.com/users/gigaherz","html_url":"https://github.com/gigaherz","followers_url":"https://api.github.com/users/gigaherz/followers","following_url":"https://api.github.com/users/gigaherz/following{/other_user}","gists_url":"https://api.github.com/users/gigaherz/gists{/gist_id}","starred_url":"https://api.github.com/users/gigaherz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigaherz/subscriptions","organizations_url":"https://api.github.com/users/gigaherz/orgs","repos_url":"https://api.github.com/users/gigaherz/repos","events_url":"https://api.github.com/users/gigaherz/events{/privacy}","received_events_url":"https://api.github.com/users/gigaherz/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":27,"state":"open","created_at":"2014-04-05T16:46:23Z","updated_at":"2015-10-25T23:47:12Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2015-10-25T23:47:12Z","updated_at":"2015-10-30T11:55:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PCSX2/pcsx2/pulls/929","html_url":"https://github.com/PCSX2/pcsx2/pull/929","diff_url":"https://github.com/PCSX2/pcsx2/pull/929.diff","patch_url":"https://github.com/PCSX2/pcsx2/pull/929.patch"},"body":"With the recent SDL2 migration some users complain of soiund issue with SPU2X.\r\n\r\nThis quick & dirty PR adds a way to select the API of the SDL module. Hopefully one of them will actually work as expeced."},"comment":{"url":"https://api.github.com/repos/PCSX2/pcsx2/issues/comments/152505425","html_url":"https://github.com/PCSX2/pcsx2/pull/929#issuecomment-152505425","issue_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/929","id":152505425,"user":{"login":"micove","id":1458001,"avatar_url":"https://avatars.githubusercontent.com/u/1458001?v=3","gravatar_id":"","url":"https://api.github.com/users/micove","html_url":"https://github.com/micove","followers_url":"https://api.github.com/users/micove/followers","following_url":"https://api.github.com/users/micove/following{/other_user}","gists_url":"https://api.github.com/users/micove/gists{/gist_id}","starred_url":"https://api.github.com/users/micove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micove/subscriptions","organizations_url":"https://api.github.com/users/micove/orgs","repos_url":"https://api.github.com/users/micove/repos","events_url":"https://api.github.com/users/micove/events{/privacy}","received_events_url":"https://api.github.com/users/micove/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T11:55:01Z","updated_at":"2015-10-30T11:55:01Z","body":"I tested it a bit:\r\n\r\nUsing SDL2 and pulseaudio\r\n1st try:\r\n```\r\nRequest SDL audio driver: pulseaudio\r\nterminate called after throwing an instance of 'Exception::OutOfMemory'\r\nAborted\r\n```\r\nWhich I could never reproduce again.\r\n\r\nI kept getting this assertion failed ONLY with pulseaudio:\r\n```\r\n/build/pcsx2-1.3.1-1357-ga833954+dfsg/common/src/Utilities/Linux/LnxHostSys.cpp(64) : assertion failed:\r\n    Function:  void SysPageFaultSignalFilter(int, siginfo_t*, void*)\r\n    Thread:    EE Core\r\n    Condition: false\r\n    Message:   Unhandled page fault @ 0x00000000\r\n\r\nStacktrace:\r\n[00] wxNavigationEnabled<wxControl>::AcceptsFocusRecursively() const\r\n[01] __kernel_rt_sigreturn   \r\n```\r\nI just did Boot CDVD Full twice in a row. This error happened before randomly but now I can reproduce it pulseaudio always which is annoying because after PCSX2 dies the Focus related thig stays broken in all other applications that are unrelated to PCSX2. By this I mean if I hold down the down key in my keyboard things like browser no longer scroll down, etc.\r\n\r\nUsing SDL2 with alsa I found no issues except the usual sea of:\r\n```\r\nALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred\r\nALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred\r\nALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred\r\nALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred\r\nALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred\r\nALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred\r\nALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred\r\nALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred\r\nALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred\r\n```\r\nIt does sound kind of soft as in low volume but that is the only gripe.\r\n\r\nI compiled it with SDL-1.2 and it sounds better than the previous 2. I had put my speaker volume at 100% since SDL2 is so soft and with SDL-1.2 I had to lower it since it was too loud. There is a regression here in that  the sound does not get restarted if I do Boot CDVD twice in a row or Shutdown and do Boot CDVD.\r\n\r\n```\r\nSPU2-X: SDL audio error: \r\n```\r\n```\r\n\t\tif (SDL_OpenAudio(&spec, NULL) < 0) {\r\n \t\t\tstd::cerr << \"SPU2-X: SDL audio error: \" << SDL_GetError() << std::endl;\r\n \t\t\treturn -1;\r\n \t\t}\r\n```\r\nNot sure where the SDL_GetError() message went but I could not find it."}}