63 if (name.
size() > 0) {
#define ASSERT(cond)
Report a failure when a condition is false.
Definition Debug.h:129
Source WAV file of a sample, and its conversion to the console's formats.
Definition AudioIO.h:29
SampleWin(const String &filename)
Create a sample from a WAV file, naming it after the file.
Sample & GetSample()
Report the playback parameters.
Definition SampleWin.h:84
void SetName(const String &name)
Rename the sample, unless the new name is empty.
Definition SampleWin.h:62
~SampleWin()
Release the reader of the WAV file.
AudioIO & GetAudioIO()
Report the reader of the WAV file.
Definition SampleWin.h:74
String & GetName()
Report the name.
Definition SampleWin.h:53
bool Fail()
Report whether the WAV file is unreadable or is not 16-bit mono.
int GetID() const
Report the identifier.
Definition SampleWin.h:44
One waveform of a bank, as the bank file records it.
Definition sample.h:10
Growable text buffer that is also a PrnStream.
Definition string.h:19
unsigned int size() const
Definition Str.h:226