{"action":"created","issue":{"url":"https://api.github.com/repos/hrydgard/ppsspp/issues/6677","labels_url":"https://api.github.com/repos/hrydgard/ppsspp/issues/6677/labels{/name}","comments_url":"https://api.github.com/repos/hrydgard/ppsspp/issues/6677/comments","events_url":"https://api.github.com/repos/hrydgard/ppsspp/issues/6677/events","html_url":"https://github.com/hrydgard/ppsspp/issues/6677","id":39367683,"number":6677,"title":"Adjust to non-60-fps devices by slowing down or speeding up audio accordingly","user":{"login":"hrydgard","id":130929,"avatar_url":"https://avatars.githubusercontent.com/u/130929?v=3","gravatar_id":"","url":"https://api.github.com/users/hrydgard","html_url":"https://github.com/hrydgard","followers_url":"https://api.github.com/users/hrydgard/followers","following_url":"https://api.github.com/users/hrydgard/following{/other_user}","gists_url":"https://api.github.com/users/hrydgard/gists{/gist_id}","starred_url":"https://api.github.com/users/hrydgard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrydgard/subscriptions","organizations_url":"https://api.github.com/users/hrydgard/orgs","repos_url":"https://api.github.com/users/hrydgard/repos","events_url":"https://api.github.com/users/hrydgard/events{/privacy}","received_events_url":"https://api.github.com/users/hrydgard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-08-03T10:21:23Z","updated_at":"2015-01-11T20:21:30Z","closed_at":null,"body":"Quite a few Android devices have non-60hz framerates like 58hz, and these will get constant audio glitches if played at zero frameskip because we will then not generate enough audio samples. As it's possible to query for the framerate, we could simply take the ratio of framerate/60 and resample the output audio to 44100*that frequency.\r\n\r\nWe should also add such audio resampling for another reason - many Android devices require a samplerate of 48000hz in order to hit the \"low latency path\" in the audio driver."},"comment":{"url":"https://api.github.com/repos/hrydgard/ppsspp/issues/comments/69509574","html_url":"https://github.com/hrydgard/ppsspp/issues/6677#issuecomment-69509574","issue_url":"https://api.github.com/repos/hrydgard/ppsspp/issues/6677","id":69509574,"user":{"login":"unknownbrackets","id":191233,"avatar_url":"https://avatars.githubusercontent.com/u/191233?v=3","gravatar_id":"","url":"https://api.github.com/users/unknownbrackets","html_url":"https://github.com/unknownbrackets","followers_url":"https://api.github.com/users/unknownbrackets/followers","following_url":"https://api.github.com/users/unknownbrackets/following{/other_user}","gists_url":"https://api.github.com/users/unknownbrackets/gists{/gist_id}","starred_url":"https://api.github.com/users/unknownbrackets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unknownbrackets/subscriptions","organizations_url":"https://api.github.com/users/unknownbrackets/orgs","repos_url":"https://api.github.com/users/unknownbrackets/repos","events_url":"https://api.github.com/users/unknownbrackets/events{/privacy}","received_events_url":"https://api.github.com/users/unknownbrackets/received_events","type":"User","site_admin":false},"created_at":"2015-01-11T20:21:29Z","updated_at":"2015-01-11T20:21:29Z","body":"Just noting, we now have resampling to the device rate, though this is not yet implemented.\r\n\r\n-[Unknown]"}}