Add support for stereo

This commit is contained in:
Erik Hofman 2016-07-20 08:00:48 +02:00
parent 935c3f901d
commit 068745617c

View 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: