Mercurial > audlegacy-plugins
changeset 1616:13ac6cc08bfa
metronom: C99 initialisers
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Fri, 07 Sep 2007 04:18:00 -0500 |
parents | 41286bab50dc |
children | a941cce3577d |
files | src/metronom/metronom.c |
diffstat | 1 files changed, 9 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/src/metronom/metronom.c Fri Sep 07 04:16:47 2007 -0500 +++ b/src/metronom/metronom.c Fri Sep 07 04:18:00 2007 -0500 @@ -270,34 +270,15 @@ static InputPlugin metronom_ip = { - NULL, - NULL, - "Tact Generator", - metronom_init, - metronom_about, - NULL, - metronom_is_our_file, - NULL, - metronom_play, - metronom_stop, - metronom_pause, - NULL, - NULL, - metronom_get_time, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - metronom_song_info, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, + .description = "Tact Generator", + .init = metronom_init, + .about = metronom_about, + .is_our_file = metronom_is_our_file, + .play_file = metronom_play, + .stop = metronom_stop, + .pause = metronom_pause, + .get_time = metronom_get_time, + .get_song_info = metronom_song_info, }; InputPlugin *metronom_iplist[] = { &metronom_ip, NULL };