diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/audiooutputengine.h | 2 | ||||
-rw-r--r-- | src/drumgizmo.cc | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/audiooutputengine.h b/src/audiooutputengine.h index eafafe9..7f15e49 100644 --- a/src/audiooutputengine.h +++ b/src/audiooutputengine.h @@ -33,8 +33,6 @@ #include "channel.h" -#define UNKNOWN_SAMPLERATE 0 - class AudioOutputEngine { public: virtual ~AudioOutputEngine() {} diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc index 60ced09..a8121a6 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -278,7 +278,7 @@ bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples) memset(buf, 0, nsamples * sizeof(sample_t)); getSamples(c, pos, buf, nsamples); - + if(!internal) oe->run(c, samples, nsamples); } } @@ -296,7 +296,7 @@ bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples) for(size_t c = 0; c < kit.channels.size(); c++) { resampler[c].setOutputSamples(resampler_output_buffer[c], nsamples); } - + // Process channel data size_t kitpos = pos * resampler[0].ratio(); //printf("ratio: %f\n", resampler[c].ratio()); |