Login
Back to forumSee the full topicGo to last reply

Posted By

Gaia
on 2012-07-24
15:59:56
 Re: YAPE 1.0.3

Thanks for the thanks, guys! happy

@Csabo: yeah, in the changes.txt there are actually categories whether something is new or a fix happy Apparently this has been copied over to the news page without the accompanying explanation. Man, I was glad I could squeeze this release out in one sitting! Believe it or not I have found traces of a previous 1.0.3 release in my site's folder... made in January! grin

@MIK: man, you're spot on with this. Actually, this is called latency, and is something we have to live with in the age of multitasking OS'es (see: http://www.portaudio.com/docs/latency.html). There are (were?) external programming libraries that aim to reduce it as best as possible (eg: http://www.asio4all.com/). If memory serves YAPE has about 30-70 millisec of latency - theoretically -, which is not much happy I recall VICE having had a 300 msec latency by default (but of course that should work for most people). First, we generate the sound samples - roughly - after each vide frame is done and then make sure we always write to the sound buffers at least 20-40 msec ahead of the Directsound player... and there you have the latency... And this is only the part that we can control - more or less! The risk is that if you have too little latency, you can not really keep up the pace and the result is garbled sound or jittering video. One remedy is to control the emulation from the sound thread, and that is what a couple of emulators actually do (my own Pocket C+4 and tedplay, but also plus4emu among others).

Actually, as stated on the website I am intending to rewrite major parts of the codebase and - BINGO - sound shall come first! wink I'll see what I can do about it but latency will never really go away, sadly...



Back to top


Copyright © Plus/4 World Team, 2001-2024