Merge branch 'master' of https://github.com/tildearrow/furnace into es5506_alt
* 'master' of https://github.com/tildearrow/furnace: (58 commits) SMS: early Nuked-PSG modding SMS: add modified Nuked-PSG core build release and don't strip strip MinGW builds FDS: a bit more FDS: set a post-amp value FDS: fix NSFplay core low pass filter precision fix .dmf saving fix compilation on GCC 12 Fix multithreading on CI Lynx: why did I not commit this Lynx: more sample improvements Lynx: sample improvements Lynx: add sample support! GUI: fix wavetable list oversight WaveSynth: fix phase modulation - again GUI: fix possible wave editor crash WaveSynth: fix phase modulation Lynx: add phase reset macro fix another fucking IGFD crash bug ... # Conflicts: # src/gui/insEdit.cpp # src/gui/presets.cpp
This commit is contained in:
commit
cbf20c6320
116 changed files with 8748 additions and 857 deletions
|
|
@ -21,7 +21,9 @@
|
|||
#include "../ta-log.h"
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#ifdef HAVE_SNDFILE
|
||||
#include <sndfile.h>
|
||||
#endif
|
||||
#include "filter.h"
|
||||
|
||||
extern "C" {
|
||||
|
|
@ -41,6 +43,10 @@ bool DivSample::isLoopable() {
|
|||
}
|
||||
|
||||
bool DivSample::save(const char* path) {
|
||||
#ifndef HAVE_SNDFILE
|
||||
logE("Furnace was not compiled with libsndfile!");
|
||||
return false;
|
||||
#else
|
||||
SNDFILE* f;
|
||||
SF_INFO si;
|
||||
memset(&si,0,sizeof(SF_INFO));
|
||||
|
|
@ -80,6 +86,7 @@ bool DivSample::save(const char* path) {
|
|||
sf_close(f);
|
||||
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
// 16-bit memory is padded to 512, to make things easier for ADPCM-A/B.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue