Commit graph

303 commits

Author SHA1 Message Date
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
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
28defb82cb get rid of "Llcon" 2013-03-24 11:38:00 +00:00
Volker Fischer
196f0ff477 get rid of the name "llcon" 2013-03-24 10:49:25 +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
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
1a67c9a66d enable OPUS codec 2013-03-06 16:46:15 +00:00
Volker Fischer
797a991417 support for storing fader tags/levels in settings file 2013-02-28 20:54:47 +00:00
Volker Fischer
badf158653 there are still loud artifacts in the audio when dropouts occur, disable OPUS again 2013-02-20 18:29:33 +00:00
Volker Fischer
05a71cd572 fixes by Michael Gorbovitski (mickg100) for OPUS performance improvement -> Thank you! 2013-02-20 17:22:04 +00:00
Volker Fischer
b4069f93f9 some code cleanup 2013-02-17 10:33:01 +00:00
Volker Fischer
c106f8f9c7 disable OPUS for now, the PLC seems not to be correct... 2013-02-16 21:08:02 +00:00
Volker Fischer
694ee2fae2 bug fix: use OPUS custom interface instead of the normal one 2013-02-16 19:11:30 +00:00
Volker Fischer
0c4f22eaa2 support for OPUS codec 2013-02-16 18:06:18 +00:00
Volker Fischer
f0d46f4fc0 started OPUS integration by just creating the OPUS objects and do nothing with them right now 2013-02-16 10:54:40 +00:00
Volker Fischer
b518f0cd96 added a "cc6_" prior to all file names, functions and global variables 2013-02-15 20:09:10 +00:00
Volker Fischer
cc3547676b Added Support for instrument picture on fader tag 2013-02-11 15:36:47 +00:00
Volker Fischer
a7895f88ea update year to 2013 2013-01-23 10:41:13 +00:00
Volker Fischer
9976292bc5 fix for old Qt version on Mac 2012-01-30 19:08:40 +00:00
Volker Fischer
3f75913dca better handling of sound card reinits 2012-01-28 11:51:14 +00:00
Volker Fischer
e50abe3a67 fix for bad audio under Mac for some USB sound cards 2012-01-23 21:01:18 +00:00
Volker Fischer
8720c40db6 some more work for moving functions from the Windows sound interface to the sound base class 2011-10-18 20:04:56 +00:00
Volker Fischer
0e04086d37 removed Cycle Time Variance measurement since it is not required anymore 2011-06-16 11:43:28 +00:00
Volker Fischer
4325c54605 new function interface 2011-06-16 11:37:17 +00:00
Volker Fischer
d571f5328b backup checkin, including lots of test code... 2011-06-11 05:19:48 +00:00
Volker Fischer
b12ee5c104 some fixes and added some test code 2011-06-01 18:29:07 +00:00
Volker Fischer
16f1bb0eb3 some fixes 2011-05-28 14:39:13 +00:00
Volker Fischer
70f0c66b85 bug fix 2011-05-28 12:35:45 +00:00
Volker Fischer
0f46659fcb some more fixes 2011-05-28 12:17:01 +00:00
Volker Fischer
7af781447d some fixes for server jitter buffer setting but still not working correctly 2011-05-28 06:01:26 +00:00
Volker Fischer
439dd65b46 most of the work done for separate client/server jitter buffer settings but not yet finished (does not work as expected yet) 2011-05-27 20:29:37 +00:00
Volker Fischer
49070c77c1 replaced normal ping messages with connection less ping message to avoid all the acknowledge messages 2011-05-24 19:40:57 +00:00
Volker Fischer
b28daa079a removed old disconnect message which only works with connected channels -> replaced by a connection less disconnect message 2011-05-23 19:06:02 +00:00
Volker Fischer
b7ce6c3193 moved the socket buffer size update from the client in the channel because it shall be also used in the server in the future, bug fix with connect/disconnect 2011-05-22 20:40:29 +00:00
Volker Fischer
a770b75a06 added a connection less message for disconnect -> does not work yet since connection less messages are not evaluated for connected channels 2011-05-22 09:47:09 +00:00
Volker Fischer
56f528b13e bug fix in server, added simulation mode in buffer base class, added deactivated test code for simulation buffer statistics, avoid audio drop outs when the jitter buffer size is changed 2011-05-17 15:39:33 +00:00
Volker Fischer
0fecef8aa8 new version number, added code for sending disconnect messages if a server was not correctly disconnected 2011-05-05 19:39:48 +00:00
Volker Fischer
d3b9f90f45 added central server setting 2011-05-02 19:48:36 +00:00
Volker Fischer
23d79c5f85 the number of connected clients are now not managed with the server list but by the connection less ping time message 2011-04-25 10:51:57 +00:00
Volker Fischer
1f87508104 use preferred sound card buffer size instead of the default one 2011-04-23 20:43:29 +00:00
Volker Fischer
da9af48062 some more connect dialog work 2011-04-11 19:09:01 +00:00
Volker Fischer
79e0982ff0 some more server list implementations, some code cleanup 2011-04-09 19:42:30 +00:00
Volker Fischer
24f707f2e7 removed connecion less channel class since it is not required 2011-04-06 19:01:39 +00:00
Volker Fischer
74ac1d075f added a command line argument, some code style changes 2011-04-05 18:34:34 +00:00
Volker Fischer
d470a0bb68 use units in constants (e.g. HZ, MS), some more work on server list 2011-03-31 07:10:43 +00:00
Volker Fischer
a6a6ffeda8 code cleanup (put functionality in separate function to avoid copied code) 2011-03-30 08:03:54 +00:00
Volker Fischer
9feff9057a prepared everything for transmitting/receiving the first connection less ping time measurement 2011-03-30 07:55:43 +00:00
Volker Fischer
0cff6af6d8 connection less messages system requires the host address to always be available (not stored in channel object) 2011-03-29 20:11:03 +00:00
Volker Fischer
5aa210533b fixed some compiler warnings 2011-03-27 12:28:43 +00:00
Volker Fischer
2dc520014a changed GUI design (removed status bar and introduced status LEDs), added "Fancy GUI Design" switch in settings dialog 2011-03-20 12:53:31 +00:00
Volker Fischer
f0a3e97b96 update of copyright 2011-02-22 18:56:52 +00:00
Volker Fischer
35c93ef39a move overall delay estimation algorithm in client class 2010-06-27 12:06:35 +00:00
Volker Fischer
5f7db0880e first working VST version 2010-04-06 18:23:10 +00:00
Volker Fischer
7362dae229 fixes for reverberation in stereo mode (disable channel selection and apply reverb on both channels) 2010-03-24 20:10:25 +00:00
Volker Fischer
b710dfbc72 first finished version of stereo support (incl. GUI and settings) 2010-03-22 19:01:41 +00:00
Volker Fischer
2a77dbda58 first working stereo version (algorithm part) 2010-03-22 16:38:15 +00:00
Volker Fischer
7173108c77 preparations for stereo support 2010-03-21 20:46:53 +00:00
Volker Fischer
c7f1992890 changed macro name 2010-03-21 08:31:17 +00:00
Volker Fischer
bd6508c58f first working version of sound card channel selection 2010-03-20 12:57:16 +00:00
Volker Fischer
2387a49ba0 use smaller sound card frame sizes as default for Mac 2010-03-13 07:06:25 +00:00
Volker Fischer
58ce295b08 small fix 2010-03-05 05:51:25 +00:00
Volker Fischer
1c76d2e8fe bug fix with overall delay calculation if sound card conversion buffer is used 2010-02-07 12:15:36 +00:00
Volker Fischer
75b1994257 added some more ASIO sample formats (not yet all implemented!), support for sound card conversion buffer to support sound card frame sizes which are different from the predefined ones 2010-02-03 19:27:48 +00:00
Volker Fischer
769f02e5e7 updated copyright 2010-01-03 13:40:46 +00:00
Volker Fischer
70e53c4383 fixes for error messages, removed std::string -> replaced by QString 2009-12-01 20:08:21 +00:00
Volker Fischer
46a9825d07 removed actual sound card buffer size GUI control, only enable radio buttons for supported sound card frame sizes 2009-11-30 19:28:29 +00:00
Volker Fischer
1474ca5ced added fancy GUI design 2009-09-19 08:28:24 +00:00
Volker Fischer
252c302ccf enable delay to somehow improve the disconnect behaviour (problem not yet fully solved) 2009-09-17 19:48:00 +00:00
Volker Fischer
65d61f1c0e implementation of channel name request message, required if server is restarted while client thinks it is still connected 2009-09-17 19:15:56 +00:00
Volker Fischer
a8a3ebd483 fix for jitter buffer message, added some TODO comment 2009-09-17 07:00:21 +00:00
Volker Fischer
3c80a82ea6 unix2dos 2009-09-16 20:27:16 +00:00
Volker Fischer
c95b612fb5 added some test code 2009-09-16 19:47:39 +00:00
Volker Fischer
519590d764 go back to original factor for auto jitter buffer calculation 2009-09-09 19:41:06 +00:00
Volker Fischer
8527f2bd01 use low complexity CELT encoder mode 2009-08-23 16:22:57 +00:00
Volker Fischer
dae4e63e3a new version number, small fix for celt decoding 2009-08-21 05:53:54 +00:00
Volker Fischer
e77e8641d0 fix for sound card buffer sizes which are not supported 2009-08-19 07:23:33 +00:00
Volker Fischer
256cd88a6a added some static casts 2009-08-17 17:44:58 +00:00
Volker Fischer
61b086d898 clear mixer board on disconnect 2009-08-17 16:20:15 +00:00
Volker Fischer
1083117626 consider jitter in server timer for auto jitter buffer function 2009-08-17 15:26:20 +00:00
Volker Fischer
5a68ff676d bug fix 2009-08-17 13:54:41 +00:00
Volker Fischer
87bf110ef3 more detailed error text in case of wrong sound card frame size 2009-08-16 12:49:09 +00:00
Volker Fischer
aa2a36cd4f added comment 2009-08-16 07:55:37 +00:00
Volker Fischer
1fac1056ea check sound card frame sizes and fire error in case it is not supported 2009-08-16 00:05:03 +00:00
Volker Fischer
cb097793f0 Added "Use High Quality Audio" check box in settings dialog (this changes the CELT bit rate actually) 2009-08-15 20:37:18 +00:00
Volker Fischer
d6ec1b8978 - send more quit messages on stop
- change in auto network jitter buffer setting -> smaller values
2009-08-15 14:16:03 +00:00
Volker Fischer
94c27493c2 some renamings, store actual frame size factor 2009-08-13 18:59:14 +00:00
Volker Fischer
af0b4816c3 bug fixes 2009-08-13 16:12:49 +00:00
Volker Fischer
3f6cfbbaeb fixes for big block sizes, still not finished 2009-08-13 06:43:42 +00:00
Volker Fischer
87ad3118ff better default rates (when using server, not only self connection) 2009-08-11 14:35:24 +00:00
Volker Fischer
84f0a31a20 certain bug fixes and code cleanup 2009-08-11 09:10:23 +00:00
Volker Fischer
5d8d6eecb2 fix for auto jitter buffer setting 2009-08-03 05:50:52 +00:00
Volker Fischer
36c1bc1da4 fix for overall delay estimation 2009-08-02 20:14:25 +00:00
Volker Fischer
22713c9c7a some more GUI work 2009-08-02 19:18:19 +00:00
Volker Fischer
9eb7bb9e1f some GUI work 2009-08-02 17:44:45 +00:00
Volker Fischer
43eb897fd8 bug fix, some renamings of variables/functions, introduction of new signal in channel 2009-08-02 07:54:15 +00:00
Volker Fischer
eb0c8e3786 added class for high precision timer for server 2009-08-01 09:05:14 +00:00
Volker Fischer
148841d924 fix 2009-07-30 18:54:50 +00:00
Volker Fischer
9837af237d make the project compilable again 2009-07-30 18:36:37 +00:00
Volker Fischer
bb7e32872f even more work done 2009-07-28 20:31:23 +00:00
Volker Fischer
6768e0ebf9 some more work 2009-07-28 07:17:04 +00:00
Volker Fischer
572dcd8728 some fixes/updates 2009-07-25 20:54:57 +00:00
Volker Fischer
f53d28fc11 make the source compilable under Windows, no working functionality yet 2009-07-24 20:17:01 +00:00
Volker Fischer
034530474c start work for supporting CELT codec, code does not compile at the moment (backup checkin) 2009-07-24 14:31:25 +00:00
Volker Fischer
c7168206d0 some more work for multiple sample rate support 2009-07-05 07:07:30 +00:00
Volker Fischer
181a8142a8 initial work for setting sample rate in client 2009-07-04 06:55:46 +00:00
Volker Fischer
f5feef2a6f add normlization for the case that the two channels are added together 2009-07-03 17:12:09 +00:00
Volker Fischer
e7e158d630 support for testbench under Linux, added some lines in change log 2009-05-09 17:38:25 +00:00
Volker Fischer
0b3e8c76a2 added disconnect message, some GUI changes 2009-05-09 08:22:09 +00:00
Volker Fischer
3bc7d3cc32 implemented combo box for server address for storing the last 6 items 2009-05-04 11:27:05 +00:00
Volker Fischer
ffe0869129 improved variable type consistency -> changed unsigned char in uint8_t (removed TODO comments and copy operations) 2009-03-28 20:02:21 +00:00
Volker Fischer
d1fa3ff53e yet another auto jitter buffer fix 2009-03-19 17:45:43 +00:00
Volker Fischer
18d3872d71 auto jitter buffer change 2009-03-19 17:13:18 +00:00
Volker Fischer
2d5ab5dbd8 fix for auto jitter buffer setting 2009-03-19 06:53:05 +00:00
Volker Fischer
564d54f68c small fix for auto jitter buffer setting 2009-03-18 07:24:53 +00:00
Volker Fischer
9dd942bec6 bug fixes for timing variance calculation, new init parameters for CycleTime class, added CycleTime for channel estimating input network stream variance of timing 2009-03-17 06:50:00 +00:00
Volker Fischer
1e0fe59f58 implementation that outside the software the audio buffer size can be changed and the software reconfigures automatically 2009-03-12 13:07:43 +00:00
Volker Fischer
1f8549d00d fixed typo 2009-03-10 17:35:39 +00:00
Volker Fischer
c61b9d593a implemented auto output settings for server depending on maximum upload rate, bug fix in server, some code cleanup, new entry in server dialog table 2009-03-10 10:47:55 +00:00
Volker Fischer
1697b8f9cd bug fix with sound card device selection, show red text if actual sound card buffer size differs from preffered value 2009-03-08 17:14:37 +00:00
Volker Fischer
db19ed48bc bug fixes 2009-03-08 09:01:01 +00:00
Volker Fischer
d3c76269d2 removed some qDebug(), less number of possible audio block sizes, fix for auto jitter buffer -> still not ready 2009-03-08 07:26:01 +00:00
Volker Fischer
f38aa17ca6 fix for setting sound card device 2009-03-07 20:45:00 +00:00
Volker Fischer
029719fd1d created separate class for time response measurement 2009-03-07 10:52:06 +00:00
Volker Fischer
8a8cf0b543 implemented to show actual sound card buffer size 2009-03-05 20:45:36 +00:00
Volker Fischer
ee28e3bc8e bug fix in socket buffer, fix in channel, ASIO buffer size setting should work now, some other small fixes 2009-03-05 20:07:41 +00:00
Volker Fischer
22ab17e84f fix for auto jitter buffer setting 2009-03-04 21:11:48 +00:00
Volker Fischer
5cbf5cfd13 some more work for sound card buffer size index implementation 2009-03-04 07:57:44 +00:00
Volker Fischer
2e81acfc3d preliminary implementation 2009-03-03 18:04:51 +00:00
Volker Fischer
0982cb21ff cleanup, preparations for new settings dialog, not yet working! 2009-03-03 13:37:28 +00:00
Volker Fischer
2efdb7775d some code cleanup, introduces one more check in protocol 2009-03-02 20:11:24 +00:00
Volker Fischer
c064b49576 fix for mutex in channel object 2009-03-02 09:36:00 +00:00
Volker Fischer
d7043ffbb6 bug fix 2009-03-01 22:16:16 +00:00
Volker Fischer
2d653ef3cc some cleanup 2009-03-01 22:08:06 +00:00
Volker Fischer
24ce20479e implemented network transport properties protocol mechanism 2009-03-01 20:53:12 +00:00
Volker Fischer
91071384d2 big changes on software structure, intermediate backup checkin -> NOT WORKING correctly right now 2009-03-01 11:17:35 +00:00
Volker Fischer
8843e94822 set the soundcard buffer size in the init function 2009-02-24 22:56:19 +00:00
Volker Fischer
2cd15abb8a added new protocol messages for network transport properties; removed unnecessary protocol events 2009-02-24 18:20:33 +00:00
Volker Fischer
949e2f1387 only one initialization function for sound interface now 2009-02-23 20:13:03 +00:00
Volker Fischer
3fb2d9ca5e added soundbase class 2009-02-22 23:13:59 +00:00
Volker Fischer
c077f6ecf8 code cleanup (removed tabs), 2008 -> 2009 2009-02-22 11:07:18 +00:00
Volker Fischer
71598931e2 some cleanup and preperations for callback based audio interface 2009-02-21 17:37:15 +00:00
Volker Fischer
5917ead5e6 added text label for audio fader to show the actual attenuation state 2009-02-17 12:32:50 +00:00
Volker Fischer
6299f7ce92 speed optimziation: use mono resampler for audio output 2009-02-17 11:58:27 +00:00
Volker Fischer
347befce8d fix for auto jitter buffer setting 2009-02-16 16:06:14 +00:00
Volker Fischer
0087d50761 speed optimization: use shorter resampling filter 2009-02-14 11:15:53 +00:00
Volker Fischer
55c680e6fd speed optimizations 2009-02-14 00:46:58 +00:00
Volker Fischer
e6945fdf67 bug fix 2009-02-12 23:06:41 +00:00
Volker Fischer
b38b8c01a7 better behaviour of ping and overall delay displays for large delays 2009-02-12 17:15:17 +00:00
Volker Fischer
f84b9673bd added automatic network jitter buffer setting functionality 2009-02-12 14:48:35 +00:00