Commits
- Commit:
60a09ce7593620b472371bfbca3c11b6ba8d2c81
- From:
- Omar Polo <op@omarpolo.com>
- Date:
implement seeking on percentage of total duration
- Commit:
3aa75c64d7d3cdcf3988263eaf4d073dc7c89e50
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
f36fd90a2e6ab101692fba0fa643aec5035597cd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use (a modified version of) kristaps' oconfigure
see GitHub issue #1
- Commit:
c2f554ff612cef4c72eea5a7da22d508b8c36d3c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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
- Commit:
3ad8bae849a3a44cbdde1c62f087b654a8439a74
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle seek during pause and stop
- Commit:
c06683bfcc3066ece6177a2256efeeb1f873c79d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop needless debug printf
- 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:
b9d2a697d18a2b6994f7b611145e7b085a5de49d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bits, rate and channels are unsigned
match the struct sio_par
- Commit:
ae335651f8a91f929ca576e1e3e3e2a5ba780059
- From:
- Omar Polo <op@omarpolo.com>
- Date:
declare local functions as static
- 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:
f523773656c7fb53c7ec2f373fb48da5c2f1d788
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't sio_start if we're not stopped
- Commit:
463ce8791b0da705a2cfd040324fc8dd3c2fd9b9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't POLLIN, we only care about POLLOUT
- Commit:
4d8a06d41dc96cb9b17dcbf3a20477dfb5566b82
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't change params if they're the same
avoids a sio_stop in the common case of switching from song that needs
similar params (such as tracks in the same album.)
- Commit:
aecca17ce0a487ea94b7e3f0c8e5387c1fce31e7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
inline player_init