Mike Brady
|
fd08511f1f
|
Make it work with deferred initialisation of the alsa device -- deferred to first use. Investigate hardware mute again.
|
2019-01-30 17:43:15 +00:00 |
|
Mike Brady
|
c5ff0dfed0
|
Rebuild the volume control calculations. Implement software mute. Try to delay alsa initialisation as long as possible.
|
2019-01-30 09:24:10 +00:00 |
|
Mike Brady
|
aa5698fce2
|
Remove the preflight call - don't seem to need it.
|
2019-01-27 15:53:36 +00:00 |
|
Mike Brady
|
90ed88dbc5
|
add hooks for active mode start and end and add in the timeout into the configuration file.
|
2019-01-27 15:15:05 +00:00 |
|
Mike Brady
|
abec863bcf
|
Add a few litte changes from thre transit branch.
|
2019-01-27 14:32:18 +00:00 |
|
Mike Brady
|
02955ecabd
|
bring up to date with unstable branch
|
2019-01-27 14:25:02 +00:00 |
|
Mike Brady
|
56bf886206
|
gracefully handle situation when the output device is already in use; release it properly when finished.
|
2019-01-27 14:19:39 +00:00 |
|
Mike Brady
|
94f68798c8
|
Merge branch 'unstable' of https://github.com/mikebrady/shairport-sync into unstable
Merging two unstable branchses that have diverged
|
2019-01-27 13:57:46 +00:00 |
|
Mike Brady
|
7639bfadbf
|
Fix a number of memory leaks and one #include error when using the OpenSSL library.
|
2019-01-27 13:52:21 +00:00 |
|
Mike Brady
|
ea770b2b13
|
Remove some unnecessary code "protecting" some use of the OpenSSL library.
|
2019-01-27 13:50:54 +00:00 |
|
Mike Brady
|
1f67f66735
|
use the correct label -- CONFIG_OPENSSL -- rather than the incorrect CONFIG_SSL for including code to create a filename using the OpenSSL library.
|
2019-01-27 13:49:39 +00:00 |
|
Mike Brady
|
4188eba571
|
Fix a cause of a memory leak using OpenSSL for Base 64 encoding.
|
2019-01-27 13:48:06 +00:00 |
|
Mike Brady
|
c998400f7c
|
restore includes of openssl/mbedtls/polarssl includes
|
2019-01-26 15:52:21 +00:00 |
|
Mike Brady
|
c807513422
|
quieten a few debug messages, bring a standard one forward.
|
2019-01-24 16:33:50 +00:00 |
|
 Mike BradyandGitHub
|
8a8b59ad8d
|
Update README.md
|
2019-01-24 09:23:51 +00:00 |
|
 Mike BradyandGitHub
|
c06586cb85
|
Update README.md
|
2019-01-24 09:20:11 +00:00 |
|
Mike Brady
|
7a4949b32f
|
quieten a returned error-code message.
|
2019-01-24 09:15:09 +00:00 |
|
Mike Brady
|
b02e5d9f20
|
Use returned codes from do_open() to control the state machine -- don't go to abm_connected unless, eh, connected.
|
2019-01-24 09:14:41 +00:00 |
|
Mike Brady
|
9fb37e4293
|
Reorganise code to make it respond dynamically to changes in settings.
|
2019-01-23 22:22:27 +00:00 |
|
Mike Brady
|
0697a40b08
|
fix crypto library flags
|
2019-01-23 22:21:43 +00:00 |
|
Mike Brady
|
bd81e733cd
|
Introduce a simple state machine into the alsa backend to keep track of the connected state of it. Needed to deal properly with disabling and enabling standby dynamically.
|
2019-01-23 16:44:02 +00:00 |
|
Mike Brady
|
dd1b85383d
|
move malloc_cleanup to common.c
|
2019-01-23 16:34:46 +00:00 |
|
Mike Brady
|
0a9063fafe
|
move malloc_cleanup to common.c
|
2019-01-23 16:34:34 +00:00 |
|
Mike Brady
|
0feb59eaa5
|
move malloc_cleanup to common.c
|
2019-01-23 16:34:05 +00:00 |
|
Mike Brady
|
eda674850f
|
Add an "active" mode that can time out after a period -- 10 seconds by default -- after play ends.
|
2019-01-21 21:44:22 +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 |
|
Mike Brady
|
a40a48693f
|
make OpenSSL routines un-cancellable, in case there might be possible memory leaks on cancellation
|
2019-01-18 16:33:32 +00:00 |
|
Mike Brady
|
61c870bac1
|
make OpenSSL routines un-cancellable, in case there is a possible memory leak
|
2019-01-18 16:32:31 +00:00 |
|
Mike Brady
|
99fd6b85d0
|
make OpenSSL routines un-cancellable, in case there is a possible memory leak
|
2019-01-18 16:31:36 +00:00 |
|
Mike Brady
|
3566cf0caf
|
remove unnecessary file includes
|
2019-01-18 16:30:21 +00:00 |
|
Mike Brady
|
f6d6700d6e
|
Quieten a debug message.
|
2019-01-18 16:28:02 +00:00 |
|
Mike Brady
|
020a69dfb9
|
remove the cause of a CLANG warning
|
2019-01-18 16:27:29 +00:00 |
|
Mike Brady
|
4483037719
|
Block on command_execute for unfixable errors.
|
2019-01-15 08:30:00 +00:00 |
|
Mike Brady
|
68f20fe8db
|
Add an error message if an RTSP thread can not be created.
|
2019-01-13 13:14:39 +00:00 |
|
Mike Brady
|
6c912d6ce5
|
Revise the code for retaining and freeing rtsp message memory allocations. Be more careful about cleaning up a possible message allocation when the rtsp channel is closed. Watch for overreleasing a message.
|
2019-01-13 10:20:26 +00:00 |
|
Mike Brady
|
93cae8a5d1
|
Quieten the msg_ debug messages.
|
2019-01-13 10:17:34 +00:00 |
|
Mike Brady
|
6a27712e94
|
Quieten a debug message.
|
2019-01-13 10:00:11 +00:00 |
|
Mike Brady
|
9fbdc062b4
|
Change how rtsp_messages are memory managed. Add some diagnostics.
|
2019-01-12 21:44:52 +00:00 |
|
Mike Brady
|
ca72645cb8
|
If a message is dropped because the pc queue is busy, free any data that might be associated with it as well as just the rtsp message.
|
2019-01-12 19:17:43 +00:00 |
|
Mike Brady
|
a74261bbd3
|
Add a D-Bus property "DisableStandby" to turn standby oo or off.
|
2019-01-11 14:48:00 +00:00 |
|
Mike Brady
|
b9d78c8af6
|
Avoid wrapping back to the first three UDP ports when assigning ports using nextFreeUDPPort because the call resetFreeUDPPorts, called when not interrupting an existing session, will assign the first three ports without checking (or knowing) if they were recently in use.
|
2019-01-11 10:42:17 +00:00 |
|
Mike Brady
|
2ca6e42b62
|
Do not add dither if at full volume or ignoring volume control
|
2019-01-10 17:00:10 +00:00 |
|
Mike Brady
|
fbd8377519
|
Always add dither if no hardware mixer and volume control is not ignored.
|
2019-01-10 16:57:40 +00:00 |
|
Mike Brady
|
8f20e5808b
|
clang format
|
2019-01-10 16:12:57 +00:00 |
|
Mike Brady
|
1c40176468
|
CLean up timings, clean up DACP interface network timings and error behaviours.
|
2019-01-10 16:11:56 +00:00 |
|
Mike Brady
|
8e72574a57
|
Add some diagnostics, shorten timeouts and set so_linger of zero whenever a write or read error occurs.
|
2019-01-10 16:10:53 +00:00 |
|
Mike Brady
|
9f8b8a25c9
|
add actual waiting time for a failing timed mutex.
|
2019-01-10 16:09:52 +00:00 |
|