Commits
- Commit:
bbd1402d8bfd350185dcc967306c4c72094c2c21
- From:
- Omar Polo <op@omarpolo.com>
- Date:
alsa: fix snd_pcm_writei usage
snd_pcm_writei works in terms of audio frames, not buffer (bytes)
length like snd_write does, so account for that. To do so, prepare
a `bpf' (bytes per frame) multiplier in the configure stage and use
it to convert back and forward between the buffer length and the
number of frames.
While here, also use snd_pcm_avail_update() to know how many frames
may be written.
- Commit:
34674849fb1efe5167c457f0dc98ee7fadcc8886
- From:
- Omar Polo <op@omarpolo.com>
- Date:
configure: allow to select the audio backend
- Commit:
e26da60a20d19b69c0bafd3005985d2c9965c4f3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an audio implementation for ALSA
it still doesn't work correctly, audio is very distorted, but at least
there's some sound.
- 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:
15decef243429c2973b338ff3b01f95ac90dd555
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix snprintf call; could return < 0 on conversion failure
- Commit:
7d1d97775f953cdc603a85c6b160332f02d223b2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove double ctl_sock check
- Commit:
1df4695feffa99078c87155c6f52c4dcb5f75fcf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't ignore ERRNO from sio_revents
- Commit:
0b76f897189b1df7388b0c270a0be3cf00e0331c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amusing: bind C-q to quit the window
- Commit:
4361fd50966120dbcf54f52a8447dd02e37e636e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amusing: / to focus the filter bar; esc to un-focus it
- Commit:
04aefc815acc45e1e2991fe85112953ba4355799
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amusing: add some keybindings
- Commit:
9b739c87b03bd1deeb6644dedaa89e7356b294a1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amusing: don't show status string and remove the `status' variable
- Commit:
19cab05cdf5a86d4f9a15acc9d527523c642f093
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amusing: show the current played song too
- Commit:
66fe8023a16745f95f0bdf83cbdafb673c8b8388
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add contrib/amusing: a gui written in Tcl/Tk