Commits
- Commit:
e3317c86113ff236272f6bf1b88cacfe54103be3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix my email address
used @openbsd.org initially by mistake and got copied around in
most files. Since this has nothing to do officially with the OpenBSD
project, use my own email address.
- Commit:
e5598fa6269b1e3c4aedab69205a2d75e983a1ac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove needless include of log.h
- Commit:
986b215cdb6f7ee801a41ed35e5fef08aeb33d29
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle fdopen failure gracefully
- Commit:
33e8ddf3b1df91d66664dcf0dc7011d089a74611
- From:
- Omar Polo <op@omarpolo.com>
- Date:
opusfile and vorbisfile want a different type for the buffer
no practical difference, just the compiler being annoying on linux
- Commit:
f36fd90a2e6ab101692fba0fa643aec5035597cd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use (a modified version of) kristaps' oconfigure
see GitHub issue #1
- Commit:
791d3db313f1f9816c699583c97079efccd408d6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
implement seeking
This adds the internal management of the seeking, as well as the
decoder backends bits.
- Commit:
ff06024f86fb68ea11b030f669b162794eb5bc19
- From:
- Omar Polo <op@omarpolo.com>
- Date:
keep track of current position and total duration
- Commit:
17ef54d6ac6c34b0b1370c1c57836322702783e1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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
- Commit:
a130f0271c0a856e6104a3eec0a4101b4c75f5df
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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*.
- Commit:
1fb06c31f16e8bed6ad41aad26df9dc6b2278bfe
- From:
- Omar Polo <op@omarpolo.com>
- Date:
s/player_setrate/player_setup
when the function was renamed, the error messages weren't.
- Commit:
74a7482cb0582d5afba526ed7a08cd6fe4e79e1c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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...
- Commit:
0da0ad464c14fc59e00a2d2d904ebc97bedb212e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
change play_*() so that they return an integer
this will allow to remove the `got_stop' hack in player.c
- Commit:
335fa83ad847d6b5b891ec166625907be664ab5d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop now unused #include <sndio.h>
with the recent refactoring, sndio is only visible in player.c
- Commit:
2139c525dbcd33e08c153dd8dbe75cd1fddf6b30
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor the player_shouldstop/sio_write dance in a function
- Commit:
e24324f1e5f50d7f1ceb3f8ae4c5513fa27d89f5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow changing sample bit size