Skip to content

Commit

Permalink
Merge pull request EasyRPG#3251 from gameblabla/audiomidifix
Browse files Browse the repository at this point in the history
Fix compilation errors when Resamping is disabled
  • Loading branch information
Ghabry authored Aug 25, 2024
2 parents 382767f + f648101 commit a4b18ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/audio_midi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@
// Headers
#include "audio_midi.h"
#include "audio_decoder_midi.h"
#include "audio.h"
#include "decoder_fluidsynth.h"
#include "decoder_fmmidi.h"
#include "decoder_wildmidi.h"
#include "output.h"

#ifdef USE_AUDIO_RESAMPLER
#include "audio_resampler.h"
#include "audio.h"

#endif

void MidiDecoder::GetFormat(int& freq, AudioDecoderBase::Format& format, int& channels) const {
Expand Down

0 comments on commit a4b18ca

Please sign in to comment.