Commit Briefs

Omar Polo

include unistd.h for close

spotted on aarch64/glibc


Omar Polo

handle fdopen failure gracefully


Omar Polo

use (a modified version of) kristaps' oconfigure

see GitHub issue #1


Omar Polo

implement seeking

This adds the internal management of the seeking, as well as the decoder backends bits.



Omar Polo

improving error reporting

makes the player process optionally send back a string describing the failure to provide a better and more coincise error message. This turns the syslog message(s): amused: unknown file type amused: failed to play, skipping /home/op/pics/phos.jpg into: amused: unknown file type; skipping /home/op/pics/phos.jpg


Omar Polo

s/player_setrate/player_setup

when the function was renamed, the error messages weren't.


Omar Polo

fmt; fold long lines


Omar Polo

typo



Omar Polo

second part of the "unbroke flac"

in 0da0ad46 i got the return value wrong, so flac are broken wrt stop/next/previous (which are all stops from the player process pov.) Reported also by Dirk-Wilhelm Peters, thanks!


Omar Polo

unbreak flac: add back missing counter reset (tags/0.3)

spotted by sdk@, thanks!


Omar Polo

change play_*() so that they return an integer

this will allow to remove the `got_stop' hack in player.c


Omar Polo

drop now unused #include <sndio.h>

with the recent refactoring, sndio is only visible in player.c