WildMidi_GetLyric - Man Page

get lyrics of a midi

Library

libWildMidi

Synopsis

#include <wildmidi_lib.h>

char *WildMidi_GetLyric (midi *handle);

Description

Returns a pointer to a nul terminated string that contains the data contained in the last read lyric or text meta event. Or returns NULL if no lyric is waiting to be read.

handle

The identifier obtained from opening a midi file with WildMidi_Open(3) or WildMidi_OpenBuffer(3)

Return Value

On error returns NULL with an error message displayed to stderr.

Otherwise returns a pointer to a *char containing the lyric data.

See Also

WildMidi_GetVersion(3), WildMidi_Init(3), WildMidi_MasterVolume(3), WildMidi_Open(3), WildMidi_OpenBuffer(3), WildMidi_SetOption(3), WildMidi_GetOutput(3), WildMidi_GetMidiOutput(3), WildMidi_FastSeek(3), WildMidi_Close(3), WildMidi_Shutdown(3), wildmidi.cfg(5)

Author

Chris Ison <chrisisonwildcode@gmail.com> Bret Curtis <psi29a@gmail.com>

Info

10 March 2016 WildMidi Programmer's Manual