Commits
- 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:
8b3efdb322551aaf432334c16a23f52789c22989
- From:
- Omar Polo <op@omarpolo.com>
- Date:
alsa: set up the onmove callback
With this the alsa backend reports the progresses too, forgot
previously.
- Commit:
440c29a48baee8e864752653f5cca6ea842cfd1e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
alsa: handle xrun due to pausing
amused implements pausing as not sending audio at all until resuming,
i.e. by doing an underrun. ALSA is more strict than sndio, by
default at least, and so we need to call snd_pcm_recover() before
we can play again.
- Commit:
e89b829ac8e30fd8c5ff9dca70a52aeadecfff04
- From:
- phoebos <ben@bvnf.space>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
configure: ensure HAVE_SIO_FLUSH has a value when BACKEND=alsa
- Commit:
e2eee898b416b1448b1ef783749b0cca7967ce76
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump version
- Commit:
0ae57bff986bbbc924faab15d83db448846b9df2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
CHANGES for 0.11
- 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:
f094cfde0da00a5d35783f5e19ed4883a59dc88b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-UID is slightly more correct than amused-$UID
- Commit:
9c0e6da26cfc5963db69686ca2b1a086d57d6b66
- From:
- Omar Polo <op@omarpolo.com>
- Date:
clarify that 'amused stop' stops the playback, not amused itself
- Commit:
c92c29833cfecd07a63bb9389c53a5eb45b9fa2e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix mandoc formatting of alternations
Cm on|off renders the pipe in bold too, use Cm on Ns | Ns Cm off
to disambiguate.
- Commit:
fe164c509cba12549799daf530afb9a260d99c97
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sort flags; -v comes after -s
- Commit:
e5598fa6269b1e3c4aedab69205a2d75e983a1ac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove needless include of log.h
- Commit:
91a5f366d39065660d7140d8bd25d4cc0e7ff7f2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mention ALSA in the README
- 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.