Commits
- 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
- Commit:
cec9ff7559292978692d09afedf72daf0aa5085d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't die on opus failures
- Commit:
efe0c8838579123aa8b598d840f59148175b94e1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify further the code
- Commit:
a58776afc1b5368e53b3774c030e8c9c5b9a981e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
annotate the only two channel support for opus
- Commit:
7fc831ea00ec72448ae3f54f24b047528daa61d8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
support setting the number of channels for flac and vorbis
- Commit:
bb3f279f10e8ae485815c84453e4362eb984fea8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add status subcommand