{"action":"created","issue":{"url":"https://api.github.com/repos/kivy/kivy/issues/2728","labels_url":"https://api.github.com/repos/kivy/kivy/issues/2728/labels{/name}","comments_url":"https://api.github.com/repos/kivy/kivy/issues/2728/comments","events_url":"https://api.github.com/repos/kivy/kivy/issues/2728/events","html_url":"https://github.com/kivy/kivy/issues/2728","id":51215152,"number":2728,"title":"Framerate drop when playing audio on 2D game (Windows, kivy 1.8.0)","user":{"login":"victor-rene","id":6695339,"avatar_url":"https://avatars.githubusercontent.com/u/6695339?v=3","gravatar_id":"","url":"https://api.github.com/users/victor-rene","html_url":"https://github.com/victor-rene","followers_url":"https://api.github.com/users/victor-rene/followers","following_url":"https://api.github.com/users/victor-rene/following{/other_user}","gists_url":"https://api.github.com/users/victor-rene/gists{/gist_id}","starred_url":"https://api.github.com/users/victor-rene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victor-rene/subscriptions","organizations_url":"https://api.github.com/users/victor-rene/orgs","repos_url":"https://api.github.com/users/victor-rene/repos","events_url":"https://api.github.com/users/victor-rene/events{/privacy}","received_events_url":"https://api.github.com/users/victor-rene/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kivy/kivy/labels/incomplete","name":"incomplete","color":"DDDDDD"},{"url":"https://api.github.com/repos/kivy/kivy/labels/needs-analysis","name":"needs-analysis","color":"207de5"},{"url":"https://api.github.com/repos/kivy/kivy/labels/platform-win","name":"platform-win","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-12-07T11:30:58Z","updated_at":"2015-02-17T07:44:49Z","closed_at":null,"body":"I am writing a kivy game for Ludum Dare. My biggest problem was the SoundLoader class, which in my opinion is a strange way to handle things. Effectively, the SoundLoader will choose the first class able to handle the given file format.\r\n\r\nIt seems there are issues with Gstreamer 1.0, kivy and Windows. My fix was to disregard the \"recommended\" method for loading sounds, and invoke the SoundPygame constructor directly.\r\nNow instead of my fps dropping from 80 down to 6, all sounds play at 80 fps.\r\n\r\nI hope it helps someone,\r\n\r\nRegards\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Place a bounty on it!](https://www.bountysource.com/issues/6831106-framerate-drop-when-playing-audio-on2d-game-windows-kivy-1-8-0?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/kivy/kivy/issues/comments/74628773","html_url":"https://github.com/kivy/kivy/issues/2728#issuecomment-74628773","issue_url":"https://api.github.com/repos/kivy/kivy/issues/2728","id":74628773,"user":{"login":"danahinds57","id":3260940,"avatar_url":"https://avatars.githubusercontent.com/u/3260940?v=3","gravatar_id":"","url":"https://api.github.com/users/danahinds57","html_url":"https://github.com/danahinds57","followers_url":"https://api.github.com/users/danahinds57/followers","following_url":"https://api.github.com/users/danahinds57/following{/other_user}","gists_url":"https://api.github.com/users/danahinds57/gists{/gist_id}","starred_url":"https://api.github.com/users/danahinds57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danahinds57/subscriptions","organizations_url":"https://api.github.com/users/danahinds57/orgs","repos_url":"https://api.github.com/users/danahinds57/repos","events_url":"https://api.github.com/users/danahinds57/events{/privacy}","received_events_url":"https://api.github.com/users/danahinds57/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T07:44:49Z","updated_at":"2015-02-17T07:44:49Z","body":"@victor-rene I had this problem too, thanks very much for posting your solution it saved me quite a bit of time. "}}