Commits
- 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
- Commit:
ee5ab27dda2f3da5cd6a38ec0d4d4c9e6a5b6c48
- From:
- Omar Polo <op@omarpolo.com>
- Date:
s/audio_init/player_init
was the only function to disrespect the player_* namespace (well,
excepting play). while here also don't mark those two as static, they
were the only static functions in the file. I'm not trying to
enforcing private symbols here.
- Commit:
7850bef5851db3b13284bfaae7cede92b8450aff
- From:
- Omar Polo <op@omarpolo.com>
- Date:
no need to sio_setpar during initialization
we don't know what format the music will be so we have to stop and set
the parameters in player_setup. there's no point in setting bogus
parameter in audio_init.
- Commit:
d903ec9aae187a608670f040d40a89ca1fed243a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop a local variable
don't need to keep `files' around, res->files is enough. it would have
prevented the previous bug (probably.)