Skip to content

When to delete_fluid_player after fluid_player_join ? #1281

Answered by derselbst
be1 asked this question in Q&A
Discussion options

You must be logged in to vote

The documentation warns* it is unsafe to delete_fluid_player after a return of fluid_player_join. But when can I delete it then ?

You can delete the player after joining. But additionally, you need to ensure that no other thread concurrently calls any of fluidsynth's rendering functions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by be1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants