Commit Graph

1119 Commits

Author SHA1 Message Date
Volker Fischer
7615e2a996 This file was provided by Christopher Meng, thanks! 2014-07-26 06:29:30 +00:00
Volker Fischer
7918416054 added configurations "CONFIG+=opus_shared_lib" for using OPUS as a shared lib and "CONFIG+=nocelt" to disable legacy support for the old CELT library 2014-07-26 06:07:50 +00:00
Volker Fischer
afa2f0e812 added configurations "CONFIG+=opus_shared_lib" for using OPUS as a shared lib and "CONFIG+=nocelt" to disable legacy support for the old CELT library 2014-07-26 05:58:01 +00:00
Volker Fischer
9438ff535b fixed a typo 2014-07-15 19:22:08 +00:00
Volker Fischer
e9c431cda9 fixed a compiler warning on the newest Mac XCode compiler: The init function of the buffer class was set to virtual but the derived function had a different number of funciton parameters. So the intention was actually NOT to be virtual. Therefore I removed the virtual from the functions and the warning is gone now. 2014-06-15 19:33:27 +00:00
Volker Fischer
6b1541b622 bug fix: on Mac with newest Qt version the ping time was always 0 2014-06-12 19:28:39 +00:00
Volker Fischer
461650d4e2 increase the default used number channels for server 2014-03-11 19:39:44 +00:00
Volker Fischer
f92b363df9 fix tab order 2014-02-25 21:10:40 +00:00
Volker Fischer
3b94fb9382 since we only have one settings dialog, it is nonsense to write "General Settings" but we should write just "Settings" 2014-02-25 15:50:09 +00:00
Volker Fischer
598017e47f Remove the connection LED because it is not actually required. If the connection is successful, the mixer fader appears and shows the connection. If the connection fails, no fader is visible or the fader disappears after a while. In both cases it is clearly seen that the connection is lost and therefore the connection LED is not required. 2014-02-25 15:38:11 +00:00
Volker Fischer
e85b0f93ed remove "--disableleds" command line argument since disabling LEDs is not required anymore because we now have a separate socket thread and therefore a stable audio connection even in case the LEDs are used 2014-02-25 14:58:54 +00:00
Volker Fischer
5b2d256bc2 removed the "open chat on new message" mechanism since nobody actually uses this, now simply the window automatically opens on a new message if it is not already open, otherwise do nothing 2014-02-25 14:38:12 +00:00
Volker Fischer
121a0b4d69 small fix: put combo boxes in another layout so that it looks nicer 2014-02-24 20:23:19 +00:00
Volker Fischer
292cf13a21 finished #43 Hybrid Mono/Stereo mode 2014-02-24 19:51:57 +00:00
Volker Fischer
c8f0a376ab added support for the mon-in/stereo-out mode in the signal processing class (client.cpp) 2014-02-23 20:55:42 +00:00
Volker Fischer
5811b1f9d4 preparations for "mono in/stereo out" mode 2014-02-23 20:01:17 +00:00
Volker Fischer
4dca2d1c93 fix for #17 Default central server flag seems not to work in server GUI 2014-02-23 18:17:46 +00:00
Volker Fischer
17b5bb6dd9 introduce macro ENABLE_CLIENT_VERSION_AND_OS_DEBUGGING for enabling the version and OS query in the client (for debugging reasons) 2014-02-23 09:46:25 +00:00
Volker Fischer
5cfdf988d4 fix a compiler warning 2014-02-21 21:33:25 +00:00
Volker Fischer
de667b66a6 fix compilation error on Linux 2014-02-21 21:29:33 +00:00
Volker Fischer
388664e48e support for querying the server version and OS type for debugging purpose (not in the regular version available) 2014-02-21 21:25:26 +00:00
Volker Fischer
d080c568a3 bug fix 2014-02-21 21:16:45 +00:00
Volker Fischer
4fbe460041 fix shutdown issue on Mac OS 2014-02-18 19:36:09 +00:00
Volker Fischer
3f61c348f7 small fix for Windows 2014-02-17 18:34:39 +00:00
Volker Fischer
14c8df9ee4 fix for shutdown on Linux (an error message was shown on shutdown) 2014-02-17 18:24:32 +00:00
Volker Fischer
e004ed6964 small improvement for the mutexes 2014-02-16 20:04:22 +00:00
Volker Fischer
9e4dbd861a bug fix 2014-02-16 09:28:34 +00:00
Volker Fischer
d214f9976d bug fix for the shutdown of the server 2014-02-16 09:01:08 +00:00
Volker Fischer
b8930b5232 removed unused function 2014-02-16 08:27:26 +00:00
Volker Fischer
887f5cd5b9 ParseConnectionLessMessageWithFrame 2014-02-16 08:21:40 +00:00
Volker Fischer
2ac7a92eaf finished implementation of a separate socket high priority thread 2014-02-16 08:20:07 +00:00
Volker Fischer
2e5f7781ce finished implementation of a separate socket high priority thread 2014-02-16 08:12:07 +00:00
Volker Fischer
bde026b06b make IsConnectionLessMessageID static 2014-02-16 07:17:48 +00:00
Volker Fischer
85fef28e24 added a missing include 2014-02-16 07:16:48 +00:00
Volker Fischer
d078730aeb make some functions static 2014-02-14 22:00:42 +00:00
Volker Fischer
42d0cdca59 small fix and added a comment 2014-02-14 22:00:31 +00:00
Volker Fischer
51db9e742a take care of NewConnection message in the socket context 2014-02-13 21:03:33 +00:00
Volker Fischer
033e3adca4 - take care of NewConnection message in the socket context
- some changes in the Mutexs
2014-02-13 21:03:08 +00:00
Volker Fischer
4837dc88d4 increase the probability of valid instrument picture 2014-02-13 21:01:15 +00:00
Volker Fischer
bab6152f8c some cleanup and implemented a nice socket thread exit on shutdown (fixed Qt warnings on shutdown of the software) 2014-02-13 18:38:25 +00:00
Volker Fischer
7c37d6d018 fixes issues for Linux compilation 2014-02-11 20:39:07 +00:00
Volker Fischer
a9c0e243dd fix compilation errors under Linux 2014-02-11 20:21:32 +00:00
Volker Fischer
1c1e07bd24 fix a compiler warning 2014-02-11 17:47:48 +00:00
Volker Fischer
9ca6df618f separate socket thread works now fine under Windows (only for Windows right now) 2014-02-11 17:35:39 +00:00
Volker Fischer
2ad0890bf2 Do a test where we use waitforreadyread instead of event driven -> this seems to solve the thread priority issue with the GUI but we get a crash in the Socket (mutex/thread-save issue). 2014-02-01 15:14:47 +00:00
Volker Fischer
76d8de72b6 lowering the GUI thread priority should not be necessary if the high priority socket thread is correctly implemented 2014-01-31 16:51:06 +00:00
Volker Fischer
2c515ae6c1 column sizes for Android must be larger 2014-01-30 08:54:58 +00:00
Volker Fischer
e5aedf6998 fix for high prio socket 2014-01-29 16:06:52 +00:00
Volker Fischer
4b83fa6fe0 avoid allocating memory in time critical routines 2014-01-23 20:33:55 +00:00
Volker Fischer
403f3a52f2 bug fix: the ping time LED was not reset if the connection was stopped 2014-01-21 21:19:51 +00:00
Volker Fischer
d7a41b5076 some fixes for Android 2014-01-21 17:25:46 +00:00
Volker Fischer
e76ce47cd6 added some android code 2014-01-20 20:42:58 +00:00
Volker Fischer
90467df03c go back to original version since it did not compile under Linux and MacOS 2014-01-19 15:03:11 +00:00
Volker Fischer
7320b0a4cc CVector<bool> does not work -> implement a workaround with int type 2014-01-19 15:02:25 +00:00
Volker Fischer
180837f70b store fader solo state 2014-01-19 10:51:31 +00:00
Volker Fischer
27c5f29b1a #16 If solo is enabled, the fader does not work anymore 2014-01-18 07:49:47 +00:00
Volker Fischer
2c443c7aef avoid allocating memory in the server real-time processing routine 2014-01-12 09:48:49 +00:00
Volker Fischer
7ee9fc2a67 fixed a compiler warning 2014-01-12 09:44:41 +00:00
Volker Fischer
02e88840e9 added a TODO comment 2014-01-12 07:42:43 +00:00
Volker Fischer
80883715e3 fix for optional "CHighPrioSocket" -> still does not compile... 2014-01-10 20:00:45 +00:00
Volker Fischer
33afb04f3f - speed optimizations (removed some memory allocations in the processing routine)
- removed duplicate function
- clean up some code
2014-01-08 21:24:37 +00:00
Volker Fischer
d98ac1b2af fixed a warning 2014-01-06 16:49:19 +00:00
Volker Fischer
efdd10fc13 const correctness 2014-01-06 16:06:04 +00:00
Volker Fischer
f016e9e022 avoid allocating memory in time critical client thread -> improve socket send function in the channel 2014-01-06 15:57:40 +00:00
Volker Fischer
91b4823d37 code style 2014-01-06 15:33:53 +00:00
Volker Fischer
81b4416a6f only fire message for starting the server if the server is not running at the moment 2014-01-06 13:04:26 +00:00
Volker Fischer
215be703a7 increase the thread priority of the real time timer 2014-01-06 12:53:54 +00:00
Volker Fischer
27f0e540b6 make the "ParseMessageBody" signal/slot mechanism the default since in the future we will need to use different threads at some point 2014-01-06 12:52:53 +00:00
Volker Fischer
7c81775232 small change in example code (in the comment) 2014-01-06 12:51:06 +00:00
Volker Fischer
90cbb22993 added a "const" 2014-01-05 20:47:35 +00:00
Volker Fischer
4baf2c5ef5 replaced global "MUL_COL_LED_*" definitions by actual enum definitions in the multicolor LED class 2014-01-05 18:26:38 +00:00
Volker Fischer
c0a67a9884 update to 2014 2014-01-05 16:52:38 +00:00
Volker Fischer
f26301ae75 next try to fix corrupt file 2014-01-05 16:13:00 +00:00
Volker Fischer
3f7d434144 the file in the CVS seems to be corrupt 2014-01-05 15:45:53 +00:00
Volker Fischer
06ca70ef10 added a TODO comment 2014-01-05 15:33:08 +00:00
Volker Fischer
72f7c25d98 code style 2014-01-03 09:00:24 +00:00
Volker Fischer
6e49e4e92c change the mechanism of how the LEDs are updated -> no window event posts anymore to avoid blocking in the critical audio thread 2014-01-03 08:54:49 +00:00
Volker Fischer
e9a5962ef1 some cleanup: remove unnecessary GUI messages (they are not used because we only have callback based sound interfaces right now) 2014-01-02 20:11:56 +00:00
Volker Fischer
2980c195a4 update to a new version of STK reverb (inserting comb filters for more realistic reverberation effect) 2014-01-02 10:47:11 +00:00
Volker Fischer
ac10994d5c Support for a true stereo reverberation effect 2014-01-01 21:31:22 +00:00
Volker Fischer
715041effe in the most recent Ubuntu distribution the QTime did not work for the ping times anymore (the ping time was always 0 ms) 2013-12-27 16:04:46 +00:00
Volker Fischer
d3fce3fe62 code style 2013-12-27 16:01:35 +00:00
Volker Fischer
5fdaea0e55 fix compilation errors on Linux and MacOS 2013-12-24 10:20:24 +00:00
Volker Fischer
ada419c5bb simplify the vector class (remove unnecessary derived member variables) 2013-12-24 10:06:03 +00:00
Volker Fischer
ac83592f08 some small speed optimizations 2013-12-24 10:00:45 +00:00
Volker Fischer
bc3098ab79 use std copy function instead of a while loop 2013-12-24 09:59:27 +00:00
Volker Fischer
3fc6ccc8aa introduce GetInOutLatencyMs to query the actual latency from the sound interface 2013-12-17 20:52:38 +00:00
Volker Fischer
d089e7d308 use std max function for signal level meter update instead of if condition 2013-12-16 21:15:42 +00:00
Volker Fischer
4f91d59a96 fix compile error on MacOS 2013-12-16 20:41:09 +00:00
Volker Fischer
cbaefb32da speed optimization 2013-12-16 20:36:48 +00:00
Volker Fischer
379a3e9f9d speed optimzation: avoid some unnecessary conversions from short to double 2013-12-15 12:46:09 +00:00
Volker Fischer
9a2efd25fe bug fix: support for correct utf-8 storage of names in the ini-file 2013-12-15 10:54:17 +00:00
Volker Fischer
d4be4bc038 code style and changed reverb decay to 1.1 seconds 2013-12-14 22:11:24 +00:00
Volker Fischer
1f3c716163 code style 2013-12-14 22:10:38 +00:00
Volker Fischer
6034dab1b3 introduce functions for ToBase64 and FromBase64 for cleaner code 2013-12-14 22:09:59 +00:00
Volker Fischer
b66e22379a the solo state of a mixer fader is not exclusive any more and the solo state is preserved if the number of mixer faders changes 2013-09-10 16:24:55 +00:00
Volker Fischer
ae874ae0b4 changed MAX_NUM_CHANNELS to 20 2013-09-08 20:15:21 +00:00
Volker Fischer
ef76866d6f remove legacy ping time message (now very old versions of llcon do not get ping measurements from the server anymore) 2013-09-07 20:30:08 +00:00
Volker Fischer
762a6283c6 code style 2013-09-07 20:29:29 +00:00
Volker Fischer
8ae66fd1a5 store window positions and visability state 2013-08-26 19:59:18 +00:00
Volker Fischer
584db6def8 code style 2013-08-26 19:58:59 +00:00
Volker Fischer
3012f20fce added instrument picture "Streamer", update for "Listener" picture 2013-08-25 18:13:13 +00:00
Volker Fischer
5224f90f5d added instrument picture "Listener" and fixed file name of "Recorder" picture 2013-08-25 17:49:21 +00:00
Volker Fischer
f87e8ef790 added instrument picture "Recorder" 2013-08-25 16:53:27 +00:00
Volker Fischer
3feb43054f added some more comments 2013-08-23 15:36:37 +00:00
Volker Fischer
395dd25c07 small fix in comment 2013-08-23 14:34:36 +00:00
Volker Fischer
89a1ab3de9 speed optimzation which leads to less audio drop outs if the connection dialog is opened during a connection 2013-08-18 20:53:31 +00:00
Volker Fischer
e8b65b6c0d disable the "socket in separate thread" code again since it does not perform the way it was intended to 2013-08-18 18:08:08 +00:00
Volker Fischer
f85115d548 added missing protocol messages 2013-08-18 18:05:28 +00:00
Volker Fischer
0d93612214 bug fix for the server (fixed a dead lock) 2013-08-18 15:22:18 +00:00
Volker Fischer
dcc4f0596f code cleanup 2013-08-18 07:42:32 +00:00
Volker Fischer
9d05436964 enable the experimental "threaded socket" code since one outstanding issue is now fixed :"fix for the "Multiple socket notifiers for same socket" error if threaded socket is used" 2013-08-18 07:41:30 +00:00
Volker Fischer
84c93bbbe5 fix for the "Multiple socket notifiers for same socket" error if threaded socket is used 2013-08-18 07:40:34 +00:00
Volker Fischer
c22c264123 Support for three audio quality settings (a new high quality rate is introduced) 2013-08-15 19:15:01 +00:00
Volker Fischer
2856626523 added formula 2013-06-09 06:42:33 +00:00
Volker Fischer
6bdb82c65f Added support for putting the receive socket in a separate thread. Unfortunately the current code does not work as expected. Some Qt warnings appear and after a while the receive socket does not receive any more network packets. Therefore a global macro is introduced to enable/disable the new code. Default is: disabled. 2013-06-03 16:07:17 +00:00
Volker Fischer
b8e9fcc4a3 cleanup (removed unnecessary variable) 2013-05-10 19:46:59 +00:00
Volker Fischer
72b24fedf3 clean up "new connection" mechanism for the server (which messages are fired, etc.) 2013-05-10 19:37:57 +00:00
Volker Fischer
8e95b548cb clean up the socket so that we do not have direct calls to e.g. protocol messages 2013-05-10 19:34:55 +00:00
Volker Fischer
21707b0e17 added some more comment 2013-05-10 07:57:21 +00:00
Volker Fischer
386ade7cae code style 2013-05-08 07:35:15 +00:00
Volker Fischer
424532a162 disable new feature for connection setup shown during an active connection for now since it does not work reliably... 2013-05-04 19:24:36 +00:00
Volker Fischer
c942a2757c code style 2013-05-04 19:14:02 +00:00
Volker Fischer
dc22883150 the connection setup dialog can now be opened during a connection 2013-05-03 19:11:01 +00:00
Volker Fischer
f157bd0d2a jamulus.dyndns.org is now active 2013-03-24 15:46:07 +00:00
Volker Fischer
ddbc1d3d8d get rid of "Llcon" 2013-03-24 15:42:23 +00:00
Volker Fischer
28defb82cb get rid of "Llcon" 2013-03-24 11:38:00 +00:00
Volker Fischer
0841ec12a4 file renaming 2013-03-24 11:24:43 +00:00
Volker Fischer
196f0ff477 get rid of the name "llcon" 2013-03-24 10:49:25 +00:00
Volker Fischer
4ed34f5509 removed llcon from file names 2013-03-24 10:34:39 +00:00
Volker Fischer
06b485b231 exchanged llcon by Jamulus in almost all places except the Sourceforge download path and the llcon.dyndns.org server 2013-03-24 09:20:19 +00:00
Volker Fischer
a130b1425c add the version number in the qt project file rather than in the global.h 2013-03-24 08:54:11 +00:00
Volker Fischer
70ebf16ceb code style 2013-03-22 18:50:05 +00:00
Volker Fischer
cbb18ebc03 a more realistic calculation of the network stream rate 2013-03-10 17:32:33 +00:00
Volker Fischer
ccadb45f11 fixed loud noise on initialial connection (caused by weird OPUS PLC effect) 2013-03-10 09:27:25 +00:00
Volker Fischer
961ae0f396 fix for loud noise at the beginning of a connection when a new server (supporting OPUS) is connected -> Still some noise left because of weird PLC effects of the OPUS codec 2013-03-10 08:19:41 +00:00
Volker Fischer
cf0c9d192d - removed OPUS_EXPECTED_PACKET_LOSS_PERC because it seems not to be used in the CELT decoder (just for SILK)
- fix for loud noise at the beginning of a connection when a new server (supporting OPUS) is connected -> Still some noise left because of weird PLC effects of the OPUS codec
2013-03-10 08:17:25 +00:00
Volker Fischer
b69e8a3028 removed OPUS_EXPECTED_PACKET_LOSS_PERC because it seems not to be used in the CELT decoder (just for SILK) 2013-03-10 08:15:15 +00:00
Volker Fischer
2f0eb9a7f0 removed iNumInvalidElements method since this does not work fine with OPUS PLC 2013-03-06 16:48:11 +00:00
Volker Fischer
1a67c9a66d enable OPUS codec 2013-03-06 16:46:15 +00:00
Volker Fischer
2b6e97bb83 change packet loss expected amount for OPUS decoder (to be optimized) 2013-03-06 16:45:35 +00:00
Volker Fischer
089c60c9cd fix a compile warning 2013-03-04 16:23:05 +00:00
Volker Fischer
a023af7961 small fixes like window icon, title 2013-03-04 16:20:32 +00:00
Volker Fischer
3c790d28df bug fix 2013-03-04 16:11:37 +00:00
Volker Fischer
f2d4cb3e17 next try... 2013-03-03 21:56:25 +00:00
Volker Fischer
48708ba00c fix 2013-03-03 21:42:13 +00:00
Volker Fischer
f892dc6312 bug fix 2013-03-03 21:38:23 +00:00
Volker Fischer
91548aacf6 use better high precision timer for Linux 2013-03-03 21:32:42 +00:00
Volker Fischer
478fd285be added command line argument --showanalyzerconsole to enable the analyzer console 2013-03-02 19:52:13 +00:00
Volker Fischer
f9b13ec2f6 bug fix: IP address was not shown on empty name tag 2013-03-01 17:15:29 +00:00