#define PLUGIN_STRING_LENGTH 256 typedef struct file_info { char name[PLUGIN_STRING_LENGTH]; char typedesc[PLUGIN_STRING_LENGTH]; char mimetype[PLUGIN_STRING_LENGTH]; float samplerate; float bitrate; uint32 numchannels; uint32 granularity; uint32 framecount; uint32 samplesize; int32 byteorder; int32 sampleformat; uint64 flags; } file_info;
PLUGIN_REQUIRES_CONTIGUOUS_PHYSICAL_MEMORY
Plugin cannot load into memory consisting of multiple areas.
Should only be needed by plugins that do DMA, e.g. plugins that load directly
from disk into the buffer. Doesn't work with relative positioning or granularity>1. If you need contiguous physical memory and relative position or a granularity >1, use an intermediate buffer.
PLUGIN_FILELENGTH_UNKNOWN
The plugin cannot provide an indication of the file's length
PLUGIN_NO_ELAPSEDTIME
The plugin cannot provide an indication of the elapsed time during playback