From 4fc29bfa36f66050416dc18bbb882c6abb5c782b Mon Sep 17 00:00:00 2001 From: Erik Hofman <erik@ehofman.com> Date: Wed, 20 Jul 2016 08:00:48 +0200 Subject: [PATCH] Add support for stereo --- simgear/sound/soundmgr_aeonwave.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simgear/sound/soundmgr_aeonwave.cxx b/simgear/sound/soundmgr_aeonwave.cxx index 48a47ce8..cbb353d0 100644 --- a/simgear/sound/soundmgr_aeonwave.cxx +++ b/simgear/sound/soundmgr_aeonwave.cxx @@ -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: -- 2.39.5