1WildMidi_GetLyric(3)     WildMidi Programmer's Manual     WildMidi_GetLyric(3)
2
3
4

NAME

6       WildMidi_GetLyric - get lyrics of a midi
7

LIBRARY

9       libWildMidi
10

SYNOPSIS

12       #include <wildmidi_lib.h>
13
14       char *WildMidi_GetLyric (midi *handle);
15

DESCRIPTION

17       Returns  a  pointer  to  a nul terminated string that contains the data
18       contained in the last read lyric or text meta event.  Or  returns  NULL
19       if no lyric is waiting to be read.
20
21       handle The  identifier  obtained  from  opening  a midi file with Wild‐
22              Midi_Open(3) or WildMidi_OpenBuffer(3)
23

RETURN VALUE

25       On error returns NULL with an error message displayed to stderr.
26
27       Otherwise returns a pointer to a *char containing the lyric data.
28

SEE ALSO

30       WildMidi_GetVersion(3),   WildMidi_Init(3),   WildMidi_MasterVolume(3),
31       WildMidi_Open(3),  WildMidi_OpenBuffer(3), WildMidi_SetOption(3), Wild‐
32       Midi_GetOutput(3),   WildMidi_GetMidiOutput(3),   WildMidi_FastSeek(3),
33       WildMidi_Close(3), WildMidi_Shutdown(3), wildmidi.cfg(5)
34

AUTHOR

36       Chris Ison <chrisisonwildcode@gmail.com> Bret Curtis <psi29a@gmail.com>
37
39       Copyright (C) WildMidi Developers 2001-2016
40
41       This file is part of WildMIDI.
42
43       WildMIDI  is  free  software:  you  can  redistribute and/or modify the
44       player under the terms of the GNU General Public License  and  you  can
45       redistribute  and/or  modify  the  library  under  the terms of the GNU
46       Lesser General Public License as published by the Free Software Founda‐
47       tion,  either  version  3 of the licenses, or(at your option) any later
48       version.
49
50       WildMIDI is distributed in the hope that it will be useful, but WITHOUT
51       ANY  WARRANTY;  without even the implied warranty of MERCHANTABILITY or
52       FITNESS FOR A PARTICULAR PURPOSE. See the GNU  General  Public  License
53       and the GNU Lesser General Public License for more details.
54
55       You  should  have received a copy of the GNU General Public License and
56       the GNU Lesser General Public License along with WildMIDI. If not,  see
57       <http://www.gnu.org/licenses/>.
58
59       This  manpage  is licensed under the Creative Commons Attribution-Share
60       Alike 3.0 Unported License. To view  a  copy  of  this  license,  visit
61       http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Cre‐
62       ative Commons, 171 Second Street, Suite 300, San Francisco, California,
63       94105, USA.
64
65                                 10 March 2016            WildMidi_GetLyric(3)
Impressum