Skip building audiofile libs if using sndfile

This commit is contained in:
Jean Pierre Cimalando 2020-10-31 16:12:02 +01:00
parent 03fb748fc1
commit b40f93afba

View file

@ -4,6 +4,7 @@
// license. You should have receive a LICENSE.md file along with the code.
// If not, contact the sfizz maintainers at https://github.com/sfztools/sfizz
#if !defined(ST_AUDIO_FILE_USE_SNDFILE)
#define DR_WAV_IMPLEMENTATION
#define DR_FLAC_IMPLEMENTATION
#define DR_MP3_IMPLEMENTATION
@ -27,3 +28,5 @@ stb_vorbis* stb_vorbis_open_filename_w(const wchar_t* filename, int* error, cons
return NULL;
}
#endif
#endif // !defined(ST_AUDIO_FILE_USE_SNDFILE)