Pigeon wrote:
Figured out the problem with ATIS voice. It's in SimGear with the
code for OpenAL/Alut 1.1, whereby with in sample_openal.cxx,
alutCreateBufferFromFile() does not give us the raw sound data, and
ATCVoice depends on it, which leaves the data and the data size
uninitialized.
Good catch (and bad practice).
The patch used alutLoadMemoryFromFile() instead, pretty much the new
version of the old deprecated alutLoadWAVFile().
I've made a much clearer separation between loading the data and sending
it to the sound driver. This prevents data to be loaded into
main/sound-card memory when it's not needed.
Erik
_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d