Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/SoundSystem/intern/SND_Utils.cpp')
-rw-r--r--intern/SoundSystem/intern/SND_Utils.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/intern/SoundSystem/intern/SND_Utils.cpp b/intern/SoundSystem/intern/SND_Utils.cpp
index a9239576c96..dbc3135b35c 100644
--- a/intern/SoundSystem/intern/SND_Utils.cpp
+++ b/intern/SoundSystem/intern/SND_Utils.cpp
@@ -158,39 +158,7 @@ bool SND_IsSampleValid(const STR_String& name, void* memlocation)
if (shortbuf == SND_WAVE_FORMAT_PCM)
result = true;
-
- /* only fmod supports compressed wav */
-#ifdef USE_FMOD
- switch (shortbuf)
- {
- case SND_WAVE_FORMAT_ADPCM:
- case SND_WAVE_FORMAT_ALAW:
- case SND_WAVE_FORMAT_MULAW:
- case SND_WAVE_FORMAT_DIALOGIC_OKI_ADPCM:
- case SND_WAVE_FORMAT_CONTROL_RES_VQLPC:
- case SND_WAVE_FORMAT_GSM_610:
- case SND_WAVE_FORMAT_MPEG3:
- result = true;
- break;
- default:
- {
- break;
- }
- }
-#endif
}
-#ifdef USE_FMOD
- /* only valid publishers may use ogg vorbis */
- else if (!memcmp(buffer, "OggS", 4))
- {
- result = true;
- }
- /* only valid publishers may use mp3 */
- else if (((!memcmp(buffer, "ID3", 3)) || (!memcmp(buffer, "ÿû", 2))))
- {
- result = true;
- }
-#endif
}
if (loadedsample)
{