fplayer
C99 Falcon Sequence (fseq) file player for Light-O-Rama hardware (like xLights)
|
FSEQ sequence file loading API. More...
Go to the source code of this file.
Functions | |
int | Seq_open (struct FC *fc, struct tf_header_t **seq) |
Reads a FSEQ header and initializes the header struct with the sequence's metadata. The caller is responsible for freeing the header. | |
int | Seq_getMediaFile (struct FC *fc, const struct tf_header_t *seq, char **value) |
Retrieves the audio file path from the sequence for playback by searching the FSEQ's variable table for the mf (media file) variable. | |
FSEQ sequence file loading API.
int Seq_getMediaFile | ( | struct FC * | fc, |
const struct tf_header_t * | seq, | ||
char ** | value ) |
Retrieves the audio file path from the sequence for playback by searching the FSEQ's variable table for the mf
(media file) variable.
fc | target file controller instance |
seq | sequence header for file layout information |
value | the value of the mf variable if found, otherwise set to NULL |
int Seq_open | ( | struct FC * | fc, |
struct tf_header_t ** | seq ) |
Reads a FSEQ header and initializes the header struct with the sequence's metadata. The caller is responsible for freeing the header.
fc | target file controller instance |
seq | the sequence header to populate with the FSEQ metadata |