Commit graph

165 commits

Author SHA1 Message Date
badaix
98ac8b2fb7 lower alsa period time from 30 to 15 ms 2020-08-26 12:45:28 +02:00
badaix
dec7306a84 Replace some pointers with references 2020-08-18 23:36:17 +02:00
badaix
9c01849a64 Change some log levels 2020-08-16 14:44:22 +02:00
badaix
aee4f3144b Fix compile error if alsa is not available 2020-08-15 23:07:11 +02:00
badaix
4d7b73df7d Add alsa stream source 2020-08-15 23:01:12 +02:00
badaix
ecd5f57b0c Log chunk age 2020-08-10 22:18:09 +02:00
badaix
bab52d314a Fix compilation on macOS 2020-08-08 15:35:43 +02:00
badaix
0a03ddb46b Fix compile error on macOS 2020-08-08 15:17:15 +02:00
badaix
ebae6c128f Log size of the pipe 2020-08-08 14:46:25 +02:00
badaix
ed0521a1d2 Rename onChunkRead to onNewChunk 2020-07-11 19:39:58 +02:00
badaix
c1c521b260 Reformat code 2020-05-31 13:46:26 +02:00
Johannes Pohl
c07b56816d
Merge pull request #625 from jonahquark81/master
Minor tweaks to resolve #623 & #624
2020-05-31 13:43:38 +02:00
jonahquark
76ef652ea8 Revert error message 2020-05-20 19:34:15 +01:00
jonahquark
0168bb17ab Retry reading metadata on bad file descriptor 2020-05-20 19:26:02 +01:00
badaix
7c71e0346b Read logging settings from config file 2020-05-15 21:33:40 +02:00
badaix
052dbddb93 Disable compiler warnings for boost process 2020-05-05 22:45:36 +02:00
badaix
424487a48e Add sharing mode for Oboe, log device settings 2020-05-05 21:46:21 +02:00
Steffen Rusitschka
445a6b9a53
Merge branch 'master' into disable-audio-cache 2020-05-02 17:48:49 +02:00
Steffen Rusitschka
4cb2b718be add flag for --disable-audio-cache 2020-05-02 17:17:35 +02:00
badaix
d52b5f1e6a Make some functions const 2020-03-25 08:37:18 +01:00
badaix
0256409189 Add autoplay option for librespot 2020-03-02 21:12:27 +01:00
badaix
2b14641704 Makre resync more tolerant 2020-03-01 18:54:00 +01:00
badaix
63ad64dfff Pass encoded chunks as shared_ptr 2020-02-29 21:48:12 +01:00
badaix
a8998997e9 Change stream reader to use actual chunk duration
e.g. a configured chunk_ms of 11 will read a 44.1kHz stream in chunks of 485 frames (=10.9977ms)
2020-02-29 19:24:47 +01:00
badaix
ae9ecf00e3 Fix compile error 2020-02-26 19:43:09 +01:00
badaix
7376c7709c Settings can be overwritten on command line
make pidfile and persistant data dir confgurable
2020-02-25 23:40:23 +01:00
badaix
0c25a7a42d Reformat code 2020-02-25 22:14:19 +01:00
Christian Flach
302ea576ce Add support for cover art 2020-02-25 21:41:44 +01:00
badaix
1bc8f74c41 Change SampleFormat variables to getters 2020-02-18 22:47:04 +01:00
Jean-Philippe Menil
3e91984d3e fix missing include 2020-02-16 21:04:27 +01:00
badaix
6ad6467e73 Reformat code 2020-02-03 09:10:33 +01:00
Johannes Pohl
e7e57d63cd
Merge pull request #539 from cmfcmf/librespot-killall
Add option to not kill all librespot instances
2020-02-02 19:58:27 +01:00
Christian Flach
678f102a98
Add option to not kill all librespot instances 2020-01-30 14:19:12 +01:00
Christian Flach
c6cbc24163
Correct argument escaping of --name paramter
Previously, the "" were treated as part of the devicename. This lead to Airplay names which included the "".
Instead, we must quote the whole argument, so that the name does not contain "".
2020-01-29 23:13:19 +01:00
Christian Flach
0aed04f9b3
Fix reading from the metadata pipe, remove old code
We must not open the pipe with O_NONBLOCK, because it might not be ready yet.
2020-01-29 23:13:19 +01:00
Christian Flach
31a9e30666
Use unique metadata pipe per AirplayStream 2020-01-29 13:06:30 +01:00
Christian Flach
05575f46e6
Fix automatic port selection
- shairport-sync sends a different message since 3.0 when the port cannot be opened (945483d9c3)
- to send logs to stderr, the --use-stderr parameter is needed since 3.3 (https://github.com/mikebrady/shairport-sync/blob/master/RELEASENOTES.md#version-33)
2020-01-29 11:38:50 +01:00
Christian Flach
a7808cfec3 Overwrite sample format for airplay before ctor is called 2020-01-28 18:41:18 +01:00
badaix
3a7f1573f2 Less debug logging 2020-01-28 00:06:54 +01:00
badaix
a9b042f78e Fix crash during client disconnect 2020-01-26 16:02:23 +01:00
badaix
4bc02a8f55 Remove unused process.hpp 2020-01-21 23:01:48 +01:00
badaix
52af69618c Update aixlog to v1.2.5 2020-01-10 23:05:04 +01:00
badaix
7b268b83df Remove unused shared_from_this 2020-01-08 21:22:56 +01:00
badaix
4a802d73ba Switch to boost::process 2020-01-07 21:03:57 +01:00
badaix
e195298e74 Revert back to process from boost::process 2020-01-06 23:23:56 +01:00
badaix
062e46060c Fix crash during shutdown
In case there are multiple PosixStreams with the same name, the server crashed during shutdown
2020-01-06 18:50:57 +01:00
badaix
9496d51ccd Use boost::process::pipe instead of async_pipe
due to a bug in boost 1.72:
https://github.com/boostorg/process/issues/116
2020-01-05 22:28:01 +01:00
badaix
32ca5144a5 Use async_pipe for stderr reading 2020-01-05 22:15:12 +01:00
badaix
ad05e87f6d Replace process class with boost::process 2020-01-05 22:00:35 +01:00
badaix
d80c87351c Small fixes and reformats 2020-01-05 21:51:59 +01:00