OLD | NEW |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 1997--2015 Jan Nieuwenhuizen <janneke@gnu.org> | 4 Copyright (C) 1997--2015 Jan Nieuwenhuizen <janneke@gnu.org> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "translator.icc" | 23 #include "translator.icc" |
24 | 24 |
25 class Lyric_performer : public Performer | 25 class Lyric_performer : public Performer |
26 { | 26 { |
27 public: | 27 public: |
28 TRANSLATOR_DECLARATIONS (Lyric_performer); | 28 TRANSLATOR_DECLARATIONS (Lyric_performer); |
29 protected: | 29 protected: |
30 | 30 |
31 void stop_translation_timestep (); | 31 void stop_translation_timestep (); |
32 void process_music (); | 32 void process_music (); |
33 DECLARE_TRANSLATOR_LISTENER (lyric); | 33 void listen_lyric (Stream_event *); |
34 private: | 34 private: |
35 vector<Stream_event *> events_; | 35 vector<Stream_event *> events_; |
36 Audio_text *audio_; | 36 Audio_text *audio_; |
37 }; | 37 }; |
38 | 38 |
39 Lyric_performer::Lyric_performer () | 39 Lyric_performer::Lyric_performer () |
40 { | 40 { |
41 audio_ = 0; | 41 audio_ = 0; |
42 } | 42 } |
43 | 43 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 /* create */ | 86 /* create */ |
87 "", | 87 "", |
88 | 88 |
89 /* read */ | 89 /* read */ |
90 "", | 90 "", |
91 | 91 |
92 /* write */ | 92 /* write */ |
93 "" | 93 "" |
94 ); | 94 ); |
OLD | NEW |