Slim numerical data compression 1.0
|
All important elements of the SLIMFILE. More...
Public Attributes | |
enum slimlib_mode_t | mode |
Mode (SLIMLIB_READ or SLIMLIB_WRITE) | |
struct slim_compressor_t * | compressor |
Compressor, for _WRITE mode. | |
struct slim_expander_t * | expander |
Expander, for _READ mode. | |
int | writing_is_underway |
If in _WRITE mode, did we start writing? | |
int | nchan |
How many channels are known? | |
int | nframes |
How many frames expected per section. | |
long | bytes_used |
How many bytes read/written so far. | |
int | fd |
Remember the filename or file descriptor that was opened. | |
char * | filename |
All important elements of the SLIMFILE.
This is an opaque type from the C point of view, so its contents are defined here, rather than in the header.
int slimlib_file_t::fd |
Remember the filename or file descriptor that was opened.
We'll need this again in case user chooses to rewind.
Referenced by slimclose(), slimdopen(), slimopen(), slimrewind(), and slimseek().