Skip to content

Commit

Permalink
Updating deps and adapting to g++
Browse files Browse the repository at this point in the history
  • Loading branch information
clrnd committed Aug 15, 2019
1 parent 3ced797 commit f5cfb78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions deps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ $(midifile):

$(audiofile):
mkdir $@
wget -q -P $@ https://rawgit.com/adamstark/AudioFile/master/AudioFile.cpp
wget -q -P $@ https://rawgit.com/adamstark/AudioFile/master/AudioFile.h
wget -q -P $@ https://raw.githubusercontent.com/adamstark/AudioFile/1.0.3/AudioFile.cpp
wget -q -P $@ https://raw.githubusercontent.com/adamstark/AudioFile/1.0.3/AudioFile.h

$(tclap):
wget -q -O $@.tar.gz https://sourceforge.net/projects/tclap/files/tclap-1.2.1.tar.gz/download
Expand Down
12 changes: 6 additions & 6 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ Options parseOptions(int argc, char* argv[]){
cmd.parse(argc, argv);

return Options {
.infile = infile.getValue(),
.outfile = outfile.getValue(),
.half = half.getValue(),
.slot = slot.getValue(),
.name = name.getValue(),
infile.getValue(),
outfile.getValue(),
name.getValue(),
half.getValue(),
slot.getValue(),
};
}

Expand Down Expand Up @@ -112,7 +112,7 @@ int main(int argc, char* argv[]){
samples[i] = currentSample*max;
}

MidiFile mf;
smf::MidiFile mf;
mf.setTicksPerQuarterNote(100);

std::cout << "Generating..." << std::endl;
Expand Down

0 comments on commit f5cfb78

Please sign in to comment.