|
wavelength 1.0.0
|
Editor view of one sample of a bank, tied to the WAV file it was made from. More...
#include <SampleWin.h>
Public Member Functions | |
| SampleWin (const String &filename) | |
| Create a sample from a WAV file, naming it after the file. | |
| ~SampleWin () | |
| Release the reader of the WAV file. | |
| bool | Fail () |
| Report whether the WAV file is unreadable or is not 16-bit mono. | |
| int | GetID () const |
| Report the identifier. | |
| String & | GetName () |
| Report the name. | |
| void | SetName (const String &name) |
| Rename the sample, unless the new name is empty. | |
| AudioIO & | GetAudioIO () |
| Report the reader of the WAV file. | |
| Sample & | GetSample () |
| Report the playback parameters. | |
Editor view of one sample of a bank, tied to the WAV file it was made from.
The class has no RTTI, and its name comes from the assert text of its users. The object is 0x2c bytes. Its routines are in BankManager.cpp.
|
explicit |
Create a sample from a WAV file, naming it after the file.
| filename | The path of the WAV file. |
| SampleWin::~SampleWin | ( | ) |
Release the reader of the WAV file.
| bool SampleWin::Fail | ( | ) |
Report whether the WAV file is unreadable or is not 16-bit mono.
|
inline |
Report the identifier.
|
inline |
Report the name.
|
inline |
Rename the sample, unless the new name is empty.
| name | The new name. |
|
inline |
Report the reader of the WAV file.
|
inline |
Report the playback parameters.