Commit Briefs

Omar Polo

bump version


Omar Polo

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.


Omar Polo

work around missing endian.h

As usual, if not found try sys/endian.h or pull in the macos thingy.


Omar Polo

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.


Omar Polo

bump version


Omar Polo

fix `make dist'



Omar Polo

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



Omar Polo

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.


Omar Polo

bump version


Omar Polo

bump version



Omar Polo

add an audio implementation for ALSA

it still doesn't work correctly, audio is very distorted, but at least there's some sound.


Omar Polo

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.