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:
8e006e859081b250b0aa0cd4398a69939a97859d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix mp3 length detection
without a call to mpg123_scan the length returned by mpg123_length is
not necessarly accurate (well, even in that case it's not guaranteed
to be exact, i.e. if a file is modified while it's playing.)
fixes the length reporting on some mp3 files i had around.
- Commit:
4b42d3a3f30acc64f6720bf33c8f6d695577bf74
- From:
- Omar Polo <op@omarpolo.com>
- Date:
pledge early
This changed amused to pledge "stdio rpath" early in main() and then
drop down to "stdio" in ctlaction, by removing the pledge call in
parse. Simplifies a bit the logic and runs more code under pledge.
- Commit:
3a3e6aed5177ee3930051e0ae3c7d41160fe3a10
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reword error message
- 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:
1fb06c31f16e8bed6ad41aad26df9dc6b2278bfe
- From:
- Omar Polo <op@omarpolo.com>
- Date:
s/player_setrate/player_setup
when the function was renamed, the error messages weren't.
- Commit:
5f42a6c6cec1b37dd9f653a36d005b5dc1c58be0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
try to recover from mp3 decoding errors
- 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:
0ea0da1e5c4ee818758feb8ef792fb882330792e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
switch from libmad to libmpg123
libmpg123 is more "loud" than libmad, at least for the mp3s that I
have around. Is also newer and maintained. I've heard is also
faster, but amused is so simple that it doesn't make any difference.