Commits
- Commit:
f523773656c7fb53c7ec2f373fb48da5c2f1d788
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't sio_start if we're not stopped
- Commit:
463ce8791b0da705a2cfd040324fc8dd3c2fd9b9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't POLLIN, we only care about POLLOUT
- Commit:
4d8a06d41dc96cb9b17dcbf3a20477dfb5566b82
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't change params if they're the same
avoids a sio_stop in the common case of switching from song that needs
similar params (such as tracks in the same album.)
- Commit:
aecca17ce0a487ea94b7e3f0c8e5387c1fce31e7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
inline player_init
- Commit:
c0180200175f649dcb6bd4214a7d55a89bccab8c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
switch to a non-blocking usage of sndio
- Commit:
1fb06c31f16e8bed6ad41aad26df9dc6b2278bfe
- From:
- Omar Polo <op@omarpolo.com>
- Date:
s/player_setrate/player_setup
when the function was renamed, the error messages weren't.
- Commit:
a830518b711387c072755100b8c6d9142b19656e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use a strictier pledge for `amused add'
now that we're using canonpath instead of realpath(3), we can drop the
rpath pledge promise.
- Commit:
ef593b43ed4d545943bfb6ebdcc0b8a9c9450cd1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use canonpath instead of realpath(3)
so we get the same behaviour with `add' and `load'
- Commit:
96233476c269f24ce76cecadc2f5144632157d7b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use canonpath (from kern_pledge.c) instead of home grow "equivalent"
- Commit:
ebdc0a24f14a77c01c20f3c8f7d106dc2f0ee410
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop unnecessary temp variable in main_restart_track
- Commit:
1771f738ebf22a71a7c60542a96ae37a2eb6e055
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt; fold long lines
- Commit:
738d9f00ebea340b28d1f859f5f39c1ad6fb0fd0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use getprogname(3) instead of __progname
might help with portability, see for e.g. GitHub issue #1
- Commit:
e06ad444a2ebf4c3ef8c41c6f4fa74f358f205be
- From:
- Omar Polo <op@omarpolo.com>
- Date:
avoid unnecessary initialization
we're just gonna memcpy all over path again a couple of lines before; a
smart compiler will probably ignore the initialization anyway.
- Commit:
fd90976c2bb3674cfbf4ffd5ad0fcec51a64da18
- From:
- Omar Polo <op@omarpolo.com>
- Date:
free the imsg in player after handling, plugs a memory leak
- Commit:
6e4f8947cd1b33dc0004236e614d704377353f24
- From:
- Omar Polo <op@omarpolo.com>
- Date:
inline player_enqueue