interface SampleStorage
|
Interface for storing files on the sound server
More... |
|
|
Public Methods
Interface for storing files on the sound server
void constructor (string directory, boolean clearOnInit)
| constructor |
SampleStorageEntry createEntry (string name)
| createEntry |
creates a new entry which you can use to store a sample - if you just
create an entry, it will be private to you, i.e. you can use it, and
as soon as you don't need it any longer, it will be freed
if you want that the entry stays in the storage, you need to add it,
and it will stay then until you remove it
void addEntry (SampleStorageEntry entry)
| addEntry |
add an entry (which will make it accessible via findEntry) - remember
to eventually call removeEntry, or the entry will stay there forever
void removeEntry (SampleStorageEntry entry)
| removeEntry |
removes an entry, that is, the entry will only stay there until
nobody needs it any more and then get freed
SampleStorageEntry findEntry (string name)
| findEntry |
finds an entry by name
| Generated by: stefan on stefan on Sat Jun 2 23:13:43 2001, using kdoc 2.0a53. |