From: Erik Hofman Date: Mon, 27 Jun 2016 11:21:13 +0000 (+0200) Subject: Use the SimGear sample format types X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3dd168569a93d3130a715c0face7babdb614513a;p=flightgear.git Use the SimGear sample format types --- diff --git a/src/Sound/VoiceSynthesizer.cxx b/src/Sound/VoiceSynthesizer.cxx index 0942e2a7d..5871716d0 100644 --- a/src/Sound/VoiceSynthesizer.cxx +++ b/src/Sound/VoiceSynthesizer.cxx @@ -108,6 +108,6 @@ SGSoundSample * FLITEVoiceSynthesizer::synthesize(const std::string & text, doub return new SGSoundSample(&data, count * sizeof(short), rate, - AL_FORMAT_MONO16); + SG_SAMPLE_MONO16); }