Class that contains the most important informations about a soundfile It contains the name, filename and if loaded the data.
More...
Public Member Functions |
| | SoundFile (const char *newname, const char *newfilename) |
| | Constructs a SoundFile.
|
| | SoundFile (SoundFile *const ©that) |
| | Copy Constructor.
|
| | SoundFile (SoundFile *const ©SoundFile) |
| | Copy constructor.
|
| | SoundFile (const char *newName, const char *newFileName) |
| | Constructs a SoundFile.
|
| | ~SoundFile () |
| | Destructor.
|
| | ~SoundFile () |
| | Destructor.
|
Public Attributes |
| csString | filename |
| | filename in our vfs (maybe not unique)
|
| csString | fileName |
| | File's name in our vfs. It doesn't need to be unique.
|
| csTicks | lasttouch |
| | last time when this SoundFile was used/touched
|
| csTicks | lastTouch |
| | Last time when this SoundFile was used/touched.
|
| bool | loaded |
| | true if snddata is loaded, false if not
|
| csString | name |
| | name of this file/resource MUST be unique
|
| csRef< iSndSysData > | sndData |
| | Data in suitable format.
|
| csRef< iSndSysData > | snddata |
| | data in suitable format
|
Class that contains the most important informations about a soundfile It contains the name, filename and if loaded the data.
This struct keeps the information about a sound file.
its used by
- See also:
- SoundData to manage our SoundFile(s).
-
SoundDataCache, the class that uses this struct.
Definition at line 109 of file data.h.