Commit graph

148 commits

Author SHA1 Message Date
badaix
f5d4fcaf43 Tidy up 2021-02-10 18:36:40 +01:00
badaix
622c283d78 Fix resetting hardware mixer volume 2021-01-30 21:01:18 +01:00
badaix
c880ae2e62 Add player namespace and player name constants 2020-12-31 18:29:26 +01:00
badaix
3ac9245d00 Reformat code with clang 10 2020-11-27 21:29:34 +01:00
badaix
d9e0b7792d Add support for PulseAudio (WIP) 2020-11-20 14:25:42 +01:00
badaix
b7dc5d7f7a Improve missing player error message 2020-10-08 17:52:36 +02:00
badaix
541d803452 Make audio backend "file" configurable 2020-10-05 22:42:56 +02:00
badaix
8186c44118 Add reformat target to CMakeLists.txt 2020-08-04 18:46:58 +02:00
badaix
0af19ca0cb Small code cleanup 2020-06-06 13:44:22 +02:00
badaix
7af8343650 Add file player for testing 2020-05-31 13:24:11 +02:00
badaix
ed3d9e5ebc Send hello message as request 2020-05-15 08:54:15 +02:00
badaix
184254b35f Add some comments, clean ups 2020-05-10 21:52:19 +02:00
badaix
860c0e5c8f Cleanup WINDOWS and HAS_WASAPI usages 2020-05-07 22:38:25 +02:00
badaix
d7c39bf13b Fix compile error 2020-05-07 22:19:27 +02:00
badaix
2c7cbc0d75 Check if enough alsa frames are available 2020-05-07 22:01:04 +02:00
badaix
4e5e54fd4d Fix compile error 2020-05-05 23:18:24 +02:00
badaix
7294de5827 Remove unused variable 2020-05-05 21:50:13 +02:00
badaix
424487a48e Add sharing mode for Oboe, log device settings 2020-05-05 21:46:21 +02:00
badaix
dd913acff9 Add mixer mode "none" 2020-05-03 20:10:01 +02:00
badaix
47f7291d4f Rename msg::ClientSettings to msg::ClientInfo 2020-05-01 22:37:25 +02:00
badaix
e8bb8ecdba Send initial hardware mixer volume to the server 2020-05-01 22:37:25 +02:00
badaix
9bb1c4a041 Make controller async, add client Mixer settings
Controller uses the asio io_context and thus uses one thread less.
This also fixes a lot of thread sanitizer issues.
2020-05-01 22:37:25 +02:00
badaix
bbdbe48cbc Fix compile error on Windows 2020-04-19 15:22:05 +02:00
badaix
827cfb7985 Fix client latency 2020-04-19 14:27:41 +02:00
badaix
ad8332345f Remove SLOG from logging 2020-04-16 09:01:09 +02:00
badaix
30753f9f61 Rename WasapiMode to SharingMode
The mode is more general and will be applied
in a second step also to other audio devices
2020-04-10 10:15:58 +02:00
Stijn Van der Borght
9737c1ac44 wasapi: added client option for selecting shared/exclusive mode 2020-04-08 11:33:25 +02:00
Stijn Van der Borght
094ec9b53c re-added Outurnate's Windows client for master branch 2020-04-08 11:33:25 +02:00
badaix
238116071a Remove unneeded loop 2020-03-12 23:47:23 +01:00
badaix
d49b5c251c Switch to exception_ptr for async exceptions 2020-03-12 23:33:10 +01:00
badaix
1bc8f74c41 Change SampleFormat variables to getters 2020-02-18 22:47:04 +01:00
badaix
3fc8b9ca08 Add optional resampling of the output stream 2020-02-14 08:46:13 +01:00
Christian Flach
8c8226f2dc Remove most usages of "new" and "malloc" in the client 2020-02-12 22:46:15 +01:00
badaix
eb3a240120 Add ClientSettings struct for client settings
Add "player" command line argument to choose the player backend.
Currently there are only for Android different players available.
2020-02-09 19:57:10 +01:00
badaix
5b9fc3d68d Add Oboe player for Android 2020-01-24 23:06:12 +01:00
badaix
8c6d703ec5 Update copyright dates 2020-01-04 01:03:48 +01:00
badaix
e9a5a36855 Client uses less memory allocations 2019-12-12 21:46:23 +01:00
badaix
6b793dfb76 Replace some shared_ptr with unique_ptr 2019-12-11 22:48:21 +01:00
badaix
07e8290ee4 Add namespace for encoder and decoder 2019-11-04 14:53:02 +01:00
badaix
258bab4f65 WIP opus is working, some values are hard coded 2019-11-02 13:19:55 +01:00
badaix
0c7691756c merge PR#4 2019-11-01 23:07:32 +01:00
badaix
7fda592d13 enable extra warnings 2019-10-13 19:01:56 +02:00
badaix
0b21a5daee rename files to snake_case 2019-10-13 18:43:32 +02:00
badaix
a30f548a31 rename files to snake_case 2019-10-12 18:28:29 +02:00
badaix
ea3921d8b7 rename some files to snake_case 2019-10-12 14:34:00 +02:00
badaix
7cb595db28 move aixlog and popl to common 2019-10-09 22:11:43 +02:00
badaix
8b231c7cc6 modernize with clang-tidy 2019-09-25 19:02:33 +02:00
badaix
b20add3815 add clang-format file
reformat code
2019-09-24 22:42:36 +02:00
badaix
44046821c1 update date in copyright 2018-02-19 20:04:28 +01:00
Jörg Krause
9abeac8365 Allow building server and client without FLAC support
Allows building the server and the client without FLAC support:

```
readelf -d ./bin/snapserver | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libjsonrpcpp.so]
 0x00000001 (NEEDED)                     Shared library: [libavahi-common.so.3]
 0x00000001 (NEEDED)                     Shared library: [libavahi-client.so.3]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so]
```

Note, that the current client and server Makefiles always enable FLAC
support.
2018-02-03 21:29:45 +01:00