Commit Briefs
free the FILE on op_open_callbacks failure
the API is a bit of a shitshow. op_fdopen is just a wrapper around FILE*, but returns void* for don't know what Windows limitation. if op_open_callbacks fails we have to free the stream by ourselves. the documentation implies that this void* pointer is, in fact, a FILE*.
s/player_setrate/player_setup
when the function was renamed, the error messages weren't.
unbreak opus too
i am just unable to do a proper refactoring. When i changed the return type of play_opus I mixed `r' and `ret', so it would always play zero samples...
change play_*() so that they return an integer
this will allow to remove the `got_stop' hack in player.c
drop now unused #include <sndio.h>
with the recent refactoring, sndio is only visible in player.c