Mr_Appleby
Member
Am just curious how
short the buffers can be made, i.e. how fast the XAudio2 systems respond such
that an uninterrupted play can be assured, since this determines the latency
of the sounds being played. Sure I want to have the new sound being played the
millisecond it happens. Yet I've read somewhere that XAudio2's thread wakes up
every 10ms (XBox360 about ~5ms) processing and feeding data to the hardware.
So the buffers can be changed 100 times per second at best. Am going to
tinker around with it and will later build everything again with WASAPI after
having read more about it.
it's likely the minimum buffer size for smooth playback is going to depend somewhat on the computer you're running this on as well as the API. best bet would be to do some investigation by setting up a streaming source with a large buffer (say 1024 samples) and then stepping down in size until the sound starts to exhibit popping/glitching artefacts. if all you actually want though is a sine tone that changes pitch you can create a sample that is a single period of the wave, enable looping and then adjust the pitch during playback. of course, that's less fun
Thanks for all the votes, guys!
B and C pretty much tied, so I finished up both of them and included some alternate facial expressions so you can see how the character(s) will change in each style.
http://i1.minus.com/ibfXYQRrSdM1kd.png[/IMG
[IMG]http://i1.minus.com/ibeRr1XICA7uKV.png[/IMG
Tell me which you prefer! I hope it doesn't end up in a tie again, I don't want to have to choose...
I'm a little sad D only got a bare handful of votes, since that one was my favorite. But that always seems to be the case! No one likes my favorites.[/QUOTE]
I'm voting B (A is actually my fave). Something about the mouth on C doesn't sit right with me.