Commits


reimplement `restart' on top of seek


allow to seek to the beginning with -1 if the computed seek was less than 0 it skips the seek. It's more useful to just rewind to the beginning.


reword error message


drop goto err


drop needless `eof' variable


handle fdopen failure gracefully


opusfile and vorbisfile want a different type for the buffer no practical difference, just the compiler being annoying on linux


clead .d files too


update the README


fix landlock detection apparently it's not always possible to include both linux/prctl.h and sys/prctl.h.


use (a modified version of) kristaps' oconfigure see GitHub issue #1


player_dispatch even when poll(2) doesn't tell us to we may have some imsgs queued up for later consumption that would otherwise get delayed. This fixes for e.g. $ amused stop ; amused seek 90


handle seek during pause and stop


drop needless debug printf


add seek subcommand