{"id":185,"date":"2012-02-18T15:44:13","date_gmt":"2012-02-18T15:44:13","guid":{"rendered":"http:\/\/www.basoft.co.uk\/wordpress\/?p=185"},"modified":"2012-02-18T15:44:13","modified_gmt":"2012-02-18T15:44:13","slug":"osca-on-windows-7-the-non-corrupted-sound-flavour","status":"publish","type":"post","link":"http:\/\/www.basoft.co.uk\/wordpress\/2012\/02\/osca-on-windows-7-the-non-corrupted-sound-flavour\/","title":{"rendered":"OSCA on Windows 7 (the non-corrupted sound flavour!)"},"content":{"rendered":"<p>It&#8217;s been some time since I last blogged, and there&#8217;s been many reasons for that, mostly surrounding a lack of available spare time. Last time I swore that I had no plans to move away from Windows XP, but as is inevitable having made such proclamations, things happened which forced my hand!<\/p>\n<p>First and foremost, for those not interested in a lengthy read and whinge, skip to the bottom for the good stuff \ud83d\ude42<\/p>\n<p>The first of those things was that my old trusty laptop finally bit the bullet &#8211; I don&#8217;t mean I popped a cap in its ass, but rather that the Nvidia chip shuffled off this mortal coil. Actually it shuffled off the motherboard &#8211; this is apparently a known (design) fault with the 8300-series where the die has a manufacturing fault, but frankly although I could&#8217;ve run the gauntlet of getting a (free) replacement for a 3-year+ old laptop, it just wasn&#8217;t worth it; plus I now had an excuse to buy a new machine \ud83d\ude00<\/p>\n<p>So new machine it was &#8211; Decided to get a desktop machine this time around, and something with a little more poke than my old laptop. For the spec-junkies, got myself a lovely i7-2600 machine (now clocking in at 4.4GHz over the stock 3.4GHz thanks to a nice watercooling thingamajigger), Z68 chipset, a bundle of RAM\/Fast HDD and a sweet Radeon 6850. So far so good &#8211; Fallout 3 on Ultra specs, thanks very much! But all of this came at a price (over and above the financial one!) &#8211; Windows 7.<\/p>\n<p>Sure, I could&#8217;ve installed XP, but it would have had to be 64-bit XP, and I&#8217;ve not heard much good about this lesser-supported beast. And I&#8217;ve been forced to use Windows 7 at work now too, so it was definitely time to bite the bitter pill of Windows 7. I still don&#8217;t like it. What I disliked very much was its ability to neuter the sound code in my previous creations; OSCA, EPEE and others. This is an issue with the DirectX support on Windows 7 (and Vista) when using circular streaming buffers. Not sure why &#8211; I think it has something to do with Position notification callbacks, but regardless I just couldn&#8217;t fix it, no matter how hard I tried.<\/p>\n<p>So&#8230; I&#8217;ve replaced the DirectX code with the BASS library and after a few niggles with the documentation (bytes remaining in buffer as documented really means samples in buffer, for example) the fat lady is finally singing once again! In addition, I&#8217;ve moved up the development suite chain too, so this is built using a newer IDE (Rad Studio XE2). Attached below are the source and binary downloads. You&#8217;ll need to unpack the binary over an existing version, or obtain the config and disk images elsewhere.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.basoft.co.uk\/wordpress\/wp-content\/plugins\/wp-downloadmanager\/images\/ext\/rar.gif\" alt=\"\" title=\"\" style=\"vertical-align: middle;\" \/>&nbsp;&nbsp;<strong><a href=\"http:\/\/www.basoft.co.uk\/wordpress\/download\/OSCA_1.0_SRC.rar\">OSCA Emulator Sources 1.0<\/a><\/strong> (216.8 KiB, 880 hits)<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.basoft.co.uk\/wordpress\/wp-content\/plugins\/wp-downloadmanager\/images\/ext\/rar.gif\" alt=\"\" title=\"\" style=\"vertical-align: middle;\" \/>&nbsp;&nbsp;<strong><a href=\"http:\/\/www.basoft.co.uk\/wordpress\/download\/OSCA_1.0_bin.rar\">OSCA Emulator Binary 1.0<\/a><\/strong> (1.2 MiB, 1,029 hits)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s been some time since I last blogged, and there&#8217;s been many reasons for that, mostly surrounding a lack of available spare time. Last time I swore that I had no plans to move away from Windows XP, but as is inevitable having made such proclamations, things happened which forced my hand! First and foremost, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,1],"tags":[13],"_links":{"self":[{"href":"http:\/\/www.basoft.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/185"}],"collection":[{"href":"http:\/\/www.basoft.co.uk\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.basoft.co.uk\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.basoft.co.uk\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.basoft.co.uk\/wordpress\/wp-json\/wp\/v2\/comments?post=185"}],"version-history":[{"count":2,"href":"http:\/\/www.basoft.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/185\/revisions"}],"predecessor-version":[{"id":187,"href":"http:\/\/www.basoft.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/185\/revisions\/187"}],"wp:attachment":[{"href":"http:\/\/www.basoft.co.uk\/wordpress\/wp-json\/wp\/v2\/media?parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.basoft.co.uk\/wordpress\/wp-json\/wp\/v2\/categories?post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.basoft.co.uk\/wordpress\/wp-json\/wp\/v2\/tags?post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}