With this, can a distro package bsnes?license to reproduce the software for non-commercial use only, provided the software remains unmodified,
And,
so I can give a copy to a friend, but my friend can't give a new copy to another friend?the licensor grants you a non-transferable ... copyright license
I ask so because bsnes is being packaged in the openSUSE Build Service, and if it isn't "reredistributable" probably can't be there (own service rules).
Easily. One thing I noted some time ago:wertigon wrote:Why that is so, I do not know, but I suspect the ALSA driver not being compliant with PulseAudio, leading to the lockups. Digging around a bit, it seems like there's a "safe subset" of ALSA one *could* use, but digging around doesn't reveal anything of use.
andDo not use snd_pcm_avail_update() for synchronization purposes. It should be used exclusively to query the amount of bytes that may be written/read right now. Do not use snd_pcm_delay() to query the fill level of your playback buffer. It should be used exclusively for synchronisation purposes. Make sure you fully understand the difference, and note that the two functions return values that are not necessarily directly connected!
But bsnes usesFor checking buffer playback/capture fill level use snd_pcm_update_avail().
Code: Select all
snd_pcm_avail_update(device.handle);
snd_pcm_sframes_t delay;
snd_pcm_delay(device.handle, &delay);
And second... was me who said to add snd_pcm_avail_update() before snd_pcm_delay()... because snd_pcm_delay() wasn't working on my HDA-Intel CODEC without it (worked with my SB Live!). Probably a bug in ALSA, not sure if fixed.
My distro still don't uses PulseAudio, so I have not tested bsnes with it.
It is supposed to allow any latency you need. It uses a big sound buffer but it can rewrite any part of it -> http://0pointer.de/blog/projects/pulse-glitch-free.htmlwertigon wrote:PulseAudio in 8.10 isn't half bad btw, finally starting to understand why people find it to be a good thing - though it introduces massive lag in games.
But I'm not sure if you can specify your needed latency when using the ALSA API...