Commit graph

224 commits

Author SHA1 Message Date
badaix
355c75458a Add code comments 2025-01-24 21:30:19 +01:00
badaix
d5677b6f78 Reformat code 2025-01-09 15:06:35 +01:00
badaix
cd67fb9645 Replace std::endl with "\n" 2025-01-07 20:29:16 +01:00
badaix
be77ddb08b Update boosr/process include 2024-12-20 23:58:21 +01:00
badaix
9396a78d71 Fix compile error 2024-12-20 22:25:30 +01:00
badaix
17efc6799c Fix static analysis issues 2024-12-20 21:56:12 +01:00
badaix
0b1b1e38bb Iclude boost as system headers to suppress warnings 2024-12-20 19:30:42 +01:00
badaix
142afabad4 Add 24 bit support to Oboe 2024-06-30 14:07:24 +02:00
Marcus Weseloh
6c44c5420b Initialize pulse latency to sane values
pa_stream_get_latency usually fails immediately after
(re-)connecting to PulseAudio, in which case the number
in usec is a (possibly huge) random value.
2024-05-31 19:41:20 +02:00
badaix
3489f548ce Add missing include 2024-04-07 01:35:15 +02:00
badaix
aa82ba8397 Cleanup Snapclient includes 2024-04-03 21:50:03 +02:00
badaix
e57dc0888f Fix mixer script 2024-04-02 21:53:36 +02:00
badaix
ae6aa4629e Use boost process v1 for mixer script 2024-04-01 11:10:06 +02:00
badaix
3e55d2236b Fix compile error 2024-03-31 22:07:17 +02:00
badaix
a96cabd81a Fix compile error 2024-03-31 21:42:40 +02:00
badaix
ace5c07310 Conditionally support mixer script 2024-03-31 21:29:35 +02:00
badaix
68c4853a40 Use boost process v2 for boost >= 1.80.0 2024-03-31 18:45:25 +02:00
badaix
a1acf5e86b Disable warnings for boost process v2 2024-03-31 18:17:54 +02:00
badaix
7628da569e Disable warnings for boost process v2 2024-03-31 15:19:16 +02:00
badaix
a78712fb0d Disable warnings for boost process v2 2024-03-31 15:06:04 +02:00
badaix
151e3c1ce1 Fix script volume zombie processes 2024-03-31 14:53:55 +02:00
badaix
4ee11f6475 Fix include 2023-01-22 11:45:41 +01:00
badaix
e1c8250876 Reformat code 2022-12-29 19:10:38 +01:00
badaix
caef2b7b87 Clean up asio includes 2022-01-31 21:07:34 +01:00
badaix
989eb6ec8e Reorder header includes 2022-01-30 21:45:00 +01:00
badaix
3e0d6266a7 Change log level 2022-01-06 23:22:45 +01:00
badaix
4fc435735d Reduce logging 2021-12-16 22:22:58 +01:00
badaix
dd180dc56a Catch exception during pulse connect 2021-12-09 18:08:38 +01:00
Njal Karevoll
d9bdd1b6c0 Ignore hardware volume changes when not connected.
This needs to be protected with a mutex to avoid races with concurrent connects/disconnects.
2021-12-09 13:36:12 +01:00
Njal Karevoll
8a13274933 disconnect from pulse temporarily while there are no chunks available 2021-12-09 13:36:12 +01:00
badaix
9b0a3c41f3 Fix pragmas 2021-12-08 10:48:26 +01:00
badaix
c050c097b4 Ignore unknown pragmas for boost::process 2021-12-08 10:42:29 +01:00
badaix
d8fe7c89f1 Disable some more warnings for boost::process 2021-12-08 10:30:02 +01:00
badaix
8067394212 Fix data races 2021-09-12 12:03:27 +02:00
badaix
74b3e7d9a4 Fix deprecation warning 2021-06-27 20:55:05 +02:00
badaix
2cc9567847 Switch to C++17 2021-06-27 13:07:07 +02:00
badaix
178888a512 Use snapcast icon in Pulse player 2021-05-03 23:14:33 +02:00
badaix
c88b2d170b Fix writing "PCM device not found" for file player 2021-04-30 10:39:45 +02:00
Stijn Van der Borght
af621acf1c Wasapi player: unregister system volume change callback on player destroy. Fixes crash when changing Windows volume after switching streams
Wasapi player: unregister system volume change callback on player destroy. Fixes crash when changing Windows volume after switching streams
2021-04-17 10:27:14 +02:00
badaix
de02fbb705 Set PulseAudio application icon 2021-03-16 17:24:25 +01:00
badaix
432e4dfad0 Add support for PulseAudio properties 2021-03-16 09:03:50 +01:00
badaix
7597f15d24 Tidy up code 2021-02-11 08:33:36 +01:00
badaix
f5d4fcaf43 Tidy up 2021-02-10 18:36:40 +01:00
badaix
33b7ac7214 Reduce log frequency 2021-02-03 22:59:15 +01:00
badaix
168bc3f98b Silence the PCM buffer if no chunk is available 2021-02-03 22:58:21 +01:00
badaix
c342b15a61 Fix noise when paused 2021-02-03 10:20:30 +01:00
badaix
ed9a8c6462 Make PulseAudio server configurable 2021-02-01 21:50:34 +01:00
badaix
622c283d78 Fix resetting hardware mixer volume 2021-01-30 21:01:18 +01:00
badaix
c46f138ea7 Align buffer with fragments 2021-01-27 23:39:42 +01:00
badaix
48258084da Use at least 3 fragments by default 2021-01-26 22:41:15 +01:00