Commits
- Commit:
ddaffed69d4fe7f814777d57bc373b2a40d4abb7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert to imsg_get_type()
- Commit:
5c9741443b589c7f51dc66ae1b0e0c8708e85f69
- From:
- Omar Polo <op@omarpolo.com>
- Date:
convert to imsg_get_fd()
- Commit:
9307af9e3cb00ecb2647b4a62818fb728ca05dd4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use imsg_get_data() instead of accessing imsg.data
- Commit:
50e0da0e7f8e07ab5d5c970ebca132a49b5fdbd8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename ibuf arguments to imsgbuf
ibuf is just too confusing since there is also the 'struct ibuf'.
- 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