]> git.mxchange.org Git - flightgear.git/commitdiff
Use the SimGear sample format types
authorErik Hofman <erik@ehofman.com>
Mon, 27 Jun 2016 11:21:13 +0000 (13:21 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:37 +0000 (23:27 +0200)
src/Sound/VoiceSynthesizer.cxx

index 0942e2a7da0f9fcb5e64897652a816e228eb09d0..5871716d0cde076bd435bac33fee1456beb77ea1 100644 (file)
@@ -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);
 }