Commits
- Commit:
119ab6647ee5db9b80ff99d2e2e281ac3b1470f2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
update imsg test: amused now needs the new APIs
- Commit:
4e457e622a3cc784da56111553ff67082014d33b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add compat for getdtablesize()
- Commit:
d1705aabaf2f68036142492a64d2c1ad3ec75b95
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an libao audio backend
This backend uses libao to play music. It's a bit convoluted since
libao doesn't provide an async interface, so we have to run it in
a separate thread. Then, there's some notification via a shared
socketpair because the main loop is around poll().
This actually doesn't work OOTB on OpenBSD due to a restrictive
pledge(), but it's not a issue since sndio should be used there.
libao is the last resort.
- Commit:
31e12e6728b328d0d6ae7401d7ca4200cbfd3700
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move timespecsub compat out of ev.c
- Commit:
82556d5bf1007a0752ebff2f91233109400b65d2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tweak the configure
- more consistent naming for libs (LDADD_LIB_*)
- allow to change CC and CFLAGS as arguments
- allow to specify the LDADD_LIB_* as arguments
- Commit:
56de31119e040404ace90529b38edd3d7dcbf5aa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add configure check for libmd; needed on some OSes for amused-web
On the BSDs the SHA1Init() and friends are part of libc, while on
linux (and maybe other systems as well) we need an implementation
of these function: libmd for example.
- Commit:
f26a3c7347e47b6db0aa39d040442b85b6dc1bb0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix the test for getdtablecount
The configure ran it but wasn't present in the tests.c file. Will
need to switch away from this all-in-one someday...
- Commit:
0a53bd62d11ed31ce71da1fc9993bc25a6c93755
- From:
- Omar Polo <op@omarpolo.com>
- Date:
switch from libevent to a smaller, thin wrapper around poll()
libevent is a very cool library, I like its APIs and enjoy using
it. However, for amused it is maybe a bit too much since it doesn't
deal with too many file descriptors. Amused only needs to monitor
one fd for the player process and the currently connected clients.
Given that it runs per-user locally, having more than a dozen of
fds open is very, very rare.
- Commit:
34674849fb1efe5167c457f0dc98ee7fadcc8886
- From:
- Omar Polo <op@omarpolo.com>
- Date:
configure: allow to select the audio backend
- Commit:
f9756af54f66e33cd5a7beb324254f05470fc9a3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix sndio detection
the compiler may complain that there's no return:
tests.c: In function 'main':
tests.c:954: warning: control reaches end of non-void function
spotted by the OpenBSD bulk builds on sparc64 (using gcc 4.2)
- Commit:
495360b24b8469f3d1e30eefc8d7bfef39f9777c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix landlock detection
apparently it's not always possible to include both linux/prctl.h and
sys/prctl.h.
- Commit:
f36fd90a2e6ab101692fba0fa643aec5035597cd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use (a modified version of) kristaps' oconfigure
see GitHub issue #1