Mike Brady
c8b0be30b4
find . \( -name \*.cpp -or -name \*.h -or -name \*.c \) -exec clang-format -i -style='{BasedOnStyle: llvm, IndentWidth: 2, ColumnLimit: 100}' '{}' \;
2019-06-19 19:06:54 +01:00
Mike Brady
83c0405d03
Add automatic bit depth and speed selection for alsa devices. Set rate and format to "auto" by default. Always look for the greatest bit depth, but the lowest multiple of 44,100.
...
Improve support for big-endian CPUs by adding support for explicit -endian formats, i.e. S16_LE, S16_BE, S24_LE, S24_BE, S32_LE, S32_BE.
For the "disable_standby_mode" setting, change "while_active" to "auto".
2019-05-07 10:19:04 +01:00
Mike Brady
20967812ad
Fix a bug in the activity_monitor software that could lock up a player thread so that it couln't be cancelled. If a player was cancelled while performing an activity script, the activity_monitor_mutex would remain locked.
2019-02-26 15:23:11 +00:00
Mike Brady
405a028f33
quieten some exiting debug messages
2019-02-16 19:44:25 +00:00
Mike Brady
5af6179875
use the term'state' rather than 'mode' when taling about the active state. Use 'while_active' rather than 'while active'
2019-02-12 15:47:10 +00:00
Mike Brady
54bb627eff
Fix some errors and warnings from OpenBSD
2019-02-12 10:55:04 +00:00
Mike Brady
97a4766e93
Add call to check if the dbus service is started.
2019-02-08 22:31:50 +00:00
Mike Brady
58acd161cd
make including of reference to dbus-service conditional on CONFIG_DBUS_INTERFACE
2019-02-08 20:48:29 +00:00
Mike Brady
34351a99cb
Continue hooking up active mode and disable standby stuff
2019-02-08 16:57:39 +00:00
Mike Brady
c86823c343
Starting to connect active mode with disable standby.
2019-02-08 09:04:33 +00:00
Mike Brady
79e22063ef
check that the systems are started before trying to stop them, duh.
2019-02-05 15:51:16 +00:00
Mike Brady
2e4428538d
Add an "active" mode that can time out after a period -- 10 seconds by default -- after play ends.
2019-01-21 21:43:55 +00:00
Mike Brady
604ca8dee4
Hook up active mode stuff to metadata, add two four-char codes, improve external command calling.
2019-01-21 21:18:40 +00:00
Mike Brady
2e181f937f
add initial script-execution functionality to active mode. Make is possible to wait for start and stop scripts.
2019-01-21 18:20:39 +00:00
Mike Brady
a8639f6c40
Add an activity monitor -- can set an activity idle timeout.
2019-01-20 22:15:02 +00:00