dlsdump.cpp File Reference

#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[])


Function Documentation

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 (  ) 

Definition at line 155 of file dlsdump.cpp.

Referenced by main().

void PrintVersion (  ) 

Definition at line 150 of file dlsdump.cpp.

References DLS::libraryName(), DLS::libraryVersion(), and Revision().

Referenced by main().

string Revision (  ) 

Definition at line 145 of file dlsdump.cpp.

Referenced by PrintVersion().


Generated on Wed Dec 6 19:25:57 2006 for libgig by  doxygen 1.5.1