Commits
- Commit:
6eaaaab872315df9626e7237d13ed8d5aeb81fc5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove now misleading comment
- Commit:
1a5441053c16bd493adf7cd6d854c24668b7c545
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix amused-web build on linux
Here we have endian.h but also need some other compat shims; the build
was failing with an unclear "can't include machine/endian.h".
Alter our local endian.h to #include_next endian.h. Then, move the
various #define HAVE_* before including any header in config.h since some
of the included headers were pulling in endian.h before HAVE_ENDIAN_H
is defined.
- Commit:
c2297fa38e218ad8f91175bbb242fb719b1a8435
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a liboboe audio backend for android
Oboe is a Google C++ library for audio on Android. The backend is
currently based on the libao skeleton since I couldn't get it to
play audio in a non-blocking way. (It would also be pointless since
there isn't a way to poll(1).)
It would be worthing experimenting with the callback API.
So far, it works on my phone under termux. I can control amused
with amused-web.
It still lacks a test in the configure since we would need to use
C++ for it.
- Commit:
4e457e622a3cc784da56111553ff67082014d33b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add compat for getdtablesize()
- Commit:
b879254714ca5a54cb1fcabe7ee60802f4c7e9e2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix build when there is no system endian.h
- Commit:
4c1ef99ca3a41b189f7f1ce8366e84328835e152
- From:
- Omar Polo <op@omarpolo.com>
- Date:
work around missing endian.h
As usual, if not found try sys/endian.h or pull in the macos thingy.
- 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:
8ac3fb61255e66def79d5c125c741089d24b070b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
f6086a9b7e6d27439b5d75dbf76f5974a967b956
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add -Wno-pointer-sign to the mix
- 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:
3a60c27797deb05f9272733f00d59ea77ee2fb70
- From:
- Omar Polo <op@omarpolo.com>
- Date:
split out the various LDADD_* so we don't link everything to everything
- 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:
1cb1331404cbce39411013afe03a8cbf1aa048c9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add missing HAVE_IMSG in config.h
otherwise we always use the bundled imsg regardless of its presence
on the system. What's even worst is that we use the system header
with the bundled version.
Spotted in a OpenBSD package bulk following the libutil bump and
imsg API change by tb@, diff is his. Thanks!