Commits
- Commit:
17726cb870aab823bcde61ab20f894e07ff5d3bf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
unbreak percentage relative seeking
- Commit:
b02dadd38071fc5f6fec5241c805077e7a5b818d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cache audio_nfds()
ALSA' snd_pcm_poll_descriptors_count() can fail with -EPIPE after
an underrun (e.g. after a pause), so we can't call it directly like
this. It's also a bit sloppy to always call audio_nfds(), so instead
save the (initial) value returned and pass it to the various
functions.
Issue reported and fix tested by phoebos (ben [at] bvnf [dot] space),
thank you!
- Commit:
578f8d0cb8038f6ef45368b7d706298223ba5682
- From:
- Omar Polo <op@omarpolo.com>
- Date:
adjust copyright years
- 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:
06ceb3767eb7e480de05cd50f4fbaf75fb3322a2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
split out sndio-specific parts to audio_sndio.c
This hides the libsndio bits behind a small audio_* API for which in
the future we may provide multiple implementations.
- Commit:
069e653bc1e64578b0a97465a2016b7dc0bf3f56
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use %u for unsigned int instead of %d
- Commit:
bc9460900d1c5cb541e88c4c39cfa2fb9e8d28d8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
retry on sio_revents failure due to EAGAIN
I've noticed that often during the suspend/resume cycle amused could die
due to a "sndio hang-up" caused by an EAGAIN. This should prevent that
and make sure we retry the operation.
- Commit:
1df4695feffa99078c87155c6f52c4dcb5f75fcf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't ignore ERRNO from sio_revents
- 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.