talking heads.
Michal Wozniak
kiero at ppc.pegasos.pl
Sat Aug 13 12:45:44 EDT 2005
Welcome,
I had some weird problem here. Talking head was disapearing way
too early. I tracked the problem and it turned out that the problem
is with getting current samplebuffer position with AL_BYTE_LOKI.
It returns a position in OpenAL sample, which turned out to be
resampled on my system. Dunno if it happens on other systems too,
but here OpenAL resampled the source to 16bit 44100Hz. Since
original sound is 8bit 11050 it resulted in position multiplied
by 8. Now i don't know if it's a problem with our port of OpenAL
or Freespace. I fixed it in freespace but don't know if it's right
place. Should OpenAL return position using original sample size?
If someone could put some light on this situation...
Regards.
--
// Michal "Kiero" Wozniak
// Graphics Programming
More information about the freespace2
mailing list