#include <iostream>
#include <cstdlib>
#include <string>
#include "DLS.h"
Go to the source code of this file.
Namespaces | |
namespace | std |
Functions | |
string | Revision () |
void | PrintVersion () |
void | PrintSamples (DLS::File *dls) |
void | PrintInstruments (DLS::File *dls) |
void | PrintRegions (DLS::Instrument *instr) |
void | PrintUsage () |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 45 of file dlsdump.cpp.
References DLS::Resource::pInfo, PrintInstruments(), RIFF::Exception::PrintMessage(), PrintSamples(), PrintUsage(), and PrintVersion().
void PrintInstruments | ( | DLS::File * | dls | ) |
Definition at line 101 of file dlsdump.cpp.
References DLS::File::GetFirstInstrument(), DLS::File::GetNextInstrument(), DLS::Instrument::MIDIBank, DLS::Instrument::MIDIProgram, DLS::Resource::pInfo, and PrintRegions().
Referenced by main().
void PrintRegions | ( | DLS::Instrument * | instr | ) |
Definition at line 119 of file dlsdump.cpp.
References DLS::Instrument::GetFirstRegion(), DLS::Instrument::GetNextRegion(), DLS::Region::GetSample(), DLS::Region::KeyRange, DLS::Region::Layer, DLS::Resource::pInfo, DLS::Sampler::SampleLoops, DLS::Sample::SamplesPerSecond, and DLS::Region::VelocityRange.
Referenced by PrintInstruments().
void PrintSamples | ( | DLS::File * | dls | ) |
Definition at line 86 of file dlsdump.cpp.
References DLS::Sample::Channels, DLS::File::GetFirstSample(), DLS::File::GetNextSample(), DLS::Resource::pInfo, and DLS::Sample::SamplesPerSecond.
Referenced by main().
void PrintUsage | ( | ) |
void PrintVersion | ( | ) |
Definition at line 150 of file dlsdump.cpp.
References DLS::libraryName(), DLS::libraryVersion(), and Revision().
Referenced by main().
string Revision | ( | ) |