Replies: 5 comments 1 reply
-
I would expect that the player starts the playlist from the beginning after another call to |
Beta Was this translation helpful? Give feedback.
-
fluid_player_play() doesn't work. Only reloading via fluid_player_add causes playback. I still don't know what that description means... |
Beta Was this translation helpful? Give feedback.
-
#include <stdlib.h> /* An example midi file */ int main(int argc, char** argv) |
Beta Was this translation helpful? Give feedback.
-
I cannot reproduce your problem. The in-memory MIDI file of your example contains three notes. Calling play() and join() causes these three notes to be played. Calling play() and join() again causes the three notes to be played again. That's why in total I hear 6 notes. The seek() is not needed. Also, you're not "reloading" anything via fluid_player_add as you've described earlier. |
Beta Was this translation helpful? Give feedback.
-
OK, it works better in the newer version. |
Beta Was this translation helpful? Give feedback.
-
In the fluid_player_play description:
"If the list of files added to the player has completed its requested number of loops, the playlist will be restarted from the beginning with a loop count of 1."
What I understand is that the file playback is repeated indefinitely. That doesn't happen with me. I can't even force replay, need to re-add the file via fluid_player_add.
Do you know what this description means? And is it possible to replay a "finished" file without re-fluid_player_add ?
Beta Was this translation helpful? Give feedback.
All reactions