{"id":17,"date":"2012-06-16T19:43:05","date_gmt":"2012-06-16T19:43:05","guid":{"rendered":"https:\/\/blogs.scummvm.org\/upthorn\/?p=17"},"modified":"2022-05-21T19:43:27","modified_gmt":"2022-05-21T19:43:27","slug":"sound-and-light","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/upthorn\/2012\/06\/16\/sound-and-light\/","title":{"rendered":"Sound and Light"},"content":{"rendered":"<p>I have HE engine Scumm games saving at any time now, with only sound and graphical glitches remaining to deal with.<\/p>\n<p>For the sound glitches I am currently working on an interface to Audio::Mixer which will return the AudioStream (or even just the sample buffer) associated with a sound handle, as this will allow engines to get the streams of their active sounds, in order to dump the buffers out to file.<\/p>\n<p>For the graphical glitches, Jakimushka (another student) has already commited code that saves a 16\/32 bit screenshot of the display surface, which I intend to make use of to save\/restore the graphical state, as soon as the pull request goes through.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have HE engine Scumm games saving at any time now, with only sound and graphical glitches remaining to deal with. For the sound glitches I am currently working on an interface to Audio::Mixer which will return the AudioStream (or even just the sample buffer) associated with a sound handle, as this will allow engines [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/upthorn\/wp-json\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/upthorn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/upthorn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/upthorn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/upthorn\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":1,"href":"https:\/\/blogs.scummvm.org\/upthorn\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"predecessor-version":[{"id":18,"href":"https:\/\/blogs.scummvm.org\/upthorn\/wp-json\/wp\/v2\/posts\/17\/revisions\/18"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/upthorn\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/upthorn\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/upthorn\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}