]> git.mxchange.org Git - simgear.git/commitdiff
Add support for stereo
authorErik Hofman <erik@ehofman.com>
Wed, 20 Jul 2016 06:00:48 +0000 (08:00 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 13 Aug 2016 08:21:16 +0000 (10:21 +0200)
simgear/sound/soundmgr_aeonwave.cxx

index 48a47ce8c72bc27d54ad2f7a4d136dcd9925901b..cbb353d0297e076c4025ff18c43d23c698813aed 100644 (file)
@@ -452,9 +452,11 @@ unsigned int  SGSoundMgr::request_buffer(SGSoundSample *sample)
             switch( sample->get_format() )
             {
             case SG_SAMPLE_MONO16:
+            case SG_SAMPLE_STEREO16:
                 format = AAX_PCM16S;
                 break;
             case SG_SAMPLE_MONO8:
+            case SG_SAMPLE_STEREO8:
                 format = AAX_PCM8S;
                 break;
             case SG_SAMPLE_MULAW: