Make stereo files a SG_POPUP message

This commit is contained in:
Erik Hofman
2016-07-21 09:54:11 +02:00
parent d902fffa46
commit 968e0b4cd2
+2 -2
View File
@@ -588,11 +588,11 @@ unsigned int SGSoundMgr::request_buffer(SGSoundSample *sample)
break; break;
case SG_SAMPLE_STEREO16: case SG_SAMPLE_STEREO16:
SG_LOG(SG_SOUND, SG_ALERT, "Stereo sound detected: " << sample->get_sample_name()); SG_LOG(SG_SOUND, SG_POPUP, "Stereo sound detected:\n" << sample->get_sample_name() << "\nUse two separate mono files instead if required.");
format = AL_FORMAT_STEREO16; format = AL_FORMAT_STEREO16;
break; break;
case SG_SAMPLE_STEREO8: case SG_SAMPLE_STEREO8:
SG_LOG(SG_SOUND, SG_ALERT, "Stereo sound detected: " << sample->get_sample_name()); SG_LOG(SG_SOUND, SG_POPUP, "Stereo sound detected:\n" << sample->get_sample_name() << "\nUse two separate mono files instead if required.");
format = AL_FORMAT_STEREO8; format = AL_FORMAT_STEREO8;
default: default:
SG_LOG(SG_SOUND, SG_ALERT, "unsupported audio format"); SG_LOG(SG_SOUND, SG_ALERT, "unsupported audio format");