{"id":13657,"date":"2007-05-03T22:16:59","date_gmt":"2007-05-03T22:16:59","guid":{"rendered":"http:\/\/127.0.0.1\/ef\/?p=13657"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T22:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/www.emu-france.com\/?p=13657","title":{"rendered":"[Console] bsnes v0.019.09 (WIP)"},"content":{"rendered":"<p>La version la plus r\u00e9cente de bsnes (Super Nes). Moins rapide que la pr\u00e9c\u00e9dente mais elle a pour principale fonction d&rsquo;\u00eatre la plus pr\u00e9cise possible par rapport \u00e0 la r\u00e9alit\u00e9.<\/p>\n<p><code><br \/>\nThis one uses the old win32 interface, and adds a new feature I\u00b4d like people with sound troubles to try out. The config file now contains \"audio.latency\". Don\u00b4t mess with \"audio.frequency\", it won\u00b4t do you any good and gets overridden by the speed regulation settings for now.<\/p>\n<p>The audio.latency is a precise measurement of the millisecond delay between sound being output by a real SNES and hearing that same sound in bsnes. It takes into account the current playback frequency, as well as the three-ring buffering system used by bsnes\u00b4 audio system.<br \/>\nFormula: sample_latency = CURRENT_playback_frequency \/ 1000 * config_file_latency * 3 (so 32khz + 75ms latency means each ring buffer is 800 samples long). The new formula should make latency sound better (it\u00b4s consistent now) on fast \/ slow emulation speed throttling settings as well.<br \/>\nI also cut out the fourth ring, since it was redundant. This should make bsnes appear ~25% more responsive to sound with the same buffer latency. As a result, I increased the latency to 75ms (it was at ~45 before).<br \/>\nI\u00b4d like to know what the lowest good value is that works on 95% of sound cards, so I can use that. I\u00b4ll let people with cheap sound cards increase their latency setting manually (eventually it will be an option in the GUI).<\/p>\n<p>NOTE: this version does nothing for triple buffering\/vsync\/whatever. You must disable triple buffering to try out the latency settings. This version is strictly to test audio playback support.<\/p>\n<p>I also added in my audio point resampler. Good god, it sounds terrible. Regardless of the latency setting (either really high or really low), the pitch difference between each audio ring is extremely noticeable. The code is there now in src\/ui\/audio\/dsound.cpp : AudioDS::run_videosync(), if anyone would like to take a look. I\u00b4ll hold my breath ;)<br \/>\n[\/CODE]<\/p>\n<div class=\"fcbkbttn_buttons_block\" id=\"fcbkbttn_left\"><div class=\"fb-share-button  \" data-href=\"https:\/\/www.emu-france.com\/?p=13657\" data-type=\"button_count\" data-size=\"small\"><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>La version la plus r\u00e9cente de bsnes (Super Nes). Moins rapide que la pr\u00e9c\u00e9dente mais elle a pour principale fonction d&rsquo;\u00eatre la plus pr\u00e9cise possible par rapport \u00e0 la r\u00e9alit\u00e9. This one uses the old win32 interface, and adds a &#8230;<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[],"tags":[],"class_list":["post-13657","post","type-post","status-publish","format-standard","hentry","uentry","postonpage-1","odd","post-author-space1"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/sKi2R-","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/13657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13657"}],"version-history":[{"count":0,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/13657\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}