Commit graph

592 commits

Author SHA1 Message Date
badaix
5cc37f98f4 Reformat code 2020-04-10 09:45:19 +02:00
Stijn Van der Borght
1fcb8b4fc2 code review changes pt2: cleaned up cmake, removed unused addUs function and windows macro from time_defs.hpp 2020-04-08 11:33:25 +02:00
Stijn Van der Borght
463f28008b fix bug where one audio device was not selectable 2020-04-08 11:33:25 +02:00
Stijn Van der Borght
bd373dc09c code review changes: use NOMINMAX hack, audio backend android only, move windows time defs to time_defs.hpp 2020-04-08 11:33:25 +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
95a369be79 wasapi: log device accepted format 2020-04-08 11:33:25 +02:00
Stijn Van der Borght
c9a65b2124 wasapi: print fatal log before crashing 2020-04-08 11:33:25 +02:00
Stijn Van der Borght
4ad33af8d7 wasapi: listen to IAudioSessionEvents::OnSimpleVolumeChanged 2020-04-08 11:33:25 +02:00
Stijn Van der Borght
cafe34bfc0 wasapi: only display available devices, log output when audio device does not send callback 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
e15800450e Reformat code 2020-03-14 11:29:27 +01:00
badaix
3a8023ab93 Make soxr optional and add to build.md 2020-03-14 11:22:04 +01: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
5e508cae2e Add retry for snd_pcm_avail_delay 2020-03-12 23:31:29 +01:00
badaix
fae5a9e16f Reprepare alsa if snd_pcm_avail_delay fails 2020-03-12 08:51:55 +01:00
badaix
90785a87da Fix "last seen" timestamp 2020-03-11 22:02:35 +01:00
Johannes Pohl
0e259d1ab4
Fix initialization order 2020-03-10 13:46:50 +01:00
Christian Flach
5f5b6b4638 Initialize correctAfterXFrames_ 2020-03-10 13:01:36 +01:00
badaix
0e933f5391 Log the AudioApi used by Oboe 2020-03-09 21:45:14 +01:00
badaix
5928d0e77b Reset chunk if there are no new ones to avoid loop 2020-03-09 21:44:50 +01:00
badaix
f8fac84b09 Ignore error ofpcm_avail_delay if values seem ok 2020-03-09 21:43:34 +01:00
badaix
da84562dfd Ignore error ofpcm_avail_delay if values seem ok 2020-03-09 21:42:01 +01:00
badaix
2921ef6e97 Change spelling multi-room to multiroom 2020-03-05 23:27:50 +01:00
badaix
d0ec17171e Reprepare ALSA if snd_pcm_avail_delay fails 2020-03-04 21:43:04 +01:00
badaix
5ab89e1a54 Avoid unnecessary hard syncs 2020-03-01 18:18:27 +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
12f828ed43 Channels for resampling must be "*" 2020-02-28 22:14:44 +01:00
badaix
3f0a18f8b5 Raise version number to 0.19.0 2020-02-27 22:09:28 +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
ea3eb988a9 Add "Init start" and "Init done" loglines
to detect if the player hangs and to kill and restart snapclient
2020-02-22 16:45:11 +01:00
badaix
a013558e81 Reformat code 2020-02-22 16:43:13 +01:00
badaix
de75ad9b2c Resampling can use original rate or bit depth 2020-02-21 21:11:26 +01:00
badaix
0de2bbde36 Fix compile error 2020-02-18 23:24:25 +01:00
badaix
1bc8f74c41 Change SampleFormat variables to getters 2020-02-18 22:47:04 +01:00
badaix
96856ae5a6 Fix macos compiler warning 2020-02-17 23:05:17 +01:00
badaix
3d80a5dd05 Fix compiler warnings 2020-02-17 22:27:15 +01:00
badaix
3c1e234bd7 Android link against soxr 2020-02-17 22:05:22 +01:00
badaix
fd862f1bd6 Fix deadlock and segfault in stream 2020-02-17 22:04:47 +01:00
badaix
99e147c5aa Remove timeout in getNextPlayerChunk 2020-02-16 21:23:26 +01:00
badaix
c9c08b59f5 Refactor stream synchronization 2020-02-16 13:26:12 +01:00
badaix
7119f0626c Add log tags 2020-02-14 22:53:08 +01:00
badaix
835c4864bd Add soxr to cmake 2020-02-14 22:11:26 +01:00
badaix
3fc8b9ca08 Add optional resampling of the output stream 2020-02-14 08:46:13 +01:00
Christian Flach
6d4b91cf2b Fix comments - last slice may be bigger, not smaller 2020-02-12 22:46:15 +01:00
Christian Flach
f842f5b3b8 Fix invalid memory accesses and underflows 2020-02-12 22:46:15 +01:00
Christian Flach
8c8226f2dc Remove most usages of "new" and "malloc" in the client 2020-02-12 22:46:15 +01:00
badaix
689f550049 Uncomment resampling 2020-02-10 21:45:05 +01:00
badaix
d77d4dadd5 Merge branch 'resample' into develop 2020-02-10 21:17:17 +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