Marc-André Moreau
ddf2519f1e
Merge pull request #2719 from bmiklautz/pull/2481
...
OSS, tsmf, usb and BSD fixes and improvements
2015-06-26 08:27:22 -04:00
Bernhard Miklautz
7624519453
oss: fix formating
2015-06-22 19:45:56 +02:00
Bernhard Miklautz
77927c213e
android: fix misc compiler warnings
...
with gcc version arm-linux-androideabi-gcc (GCC) 4.8
2015-06-22 19:09:59 +02:00
Martin Haimberger
156f86e487
hardend channel audin
2015-06-18 03:04:31 -07:00
ivan-83
1009268158
* debug and error messages now print function name and line number
...
* add debug messages to trace fake network dissconects
2015-05-27 22:57:10 +03:00
ivan-83
94a7abd2af
+ tsmf: OSS initial suppot (not work yet)
...
* tsmf: fix video playback on FreeBSD (proper shared object name)
* tsmf: renamed args: audio->sys, audio-dev->dev
* audin: OSS fix, now it work
* cmdline: add syntax help for /audin, /rdpsnd, /tsmf
* add debug messages
2015-05-27 22:54:13 +03:00
Norbert Federa
1eff1a345e
free can handle NULL perfectly fine
2015-05-11 09:07:39 +02:00
Bryan Everly
a2a1d06d9b
Necessary changes to get latest branch working on OpenBSD 5.6
2015-04-21 14:44:02 -04:00
Bernhard Miklautz
74c8400789
coding style fixes
...
Add missing space after if
2015-03-30 17:15:45 +02:00
Bernhard Miklautz
f469e069dc
stream: Stream_Ensure*Capacity: change return type
...
Change the return type of Stream_Ensure*Capacity from void to BOOL to be
able to detect realloc problems easily. Otherwise the only way to detect
this was to check if the capacity after the call was >= the required
size.
In case Stream_Ensure*Capacity fails the old memory is still available
and need to freed outside.
This commit also adds checks to most calls of Stream_Ensure*Capacity to
check if the call was successful.
2015-03-30 16:33:48 +02:00
Bernhard Miklautz
f2b4709cbd
opensl: remove unnecessary memset
2015-03-25 17:38:21 +01:00
Bernhard Miklautz
7f3326d41c
Fix compiler warnings
...
gcc 4.7.2
* warning: value computed is not used [-Wunused-value]
* warning: unused variable ‘oss’ [-Wunused-variable]
2015-03-25 17:38:21 +01:00
Bernhard Miklautz
3c7662517c
hardening
...
Start to add missing checks for:
* *alloc
* *_New
2015-03-25 17:38:21 +01:00
ivan-83
3a8022e67c
* audin OSS files
2015-03-13 01:41:44 +03:00
ivan-83
9e7e4ce7ff
Merge branch 'master' of github.com:ivan-83/FreeRDP
2015-03-13 01:39:41 +03:00
ivan-83
7b3a552988
+ audin OSS support (un tested now)
...
+ add: COMMAND_LINE_IGN_UNKNOWN_KEYWORD flag for CommandLineParseArgumentsA to ignory unknown keys without fail
+ add: lot of WLog_DBG() in drdynvc, add function names in existing
* change: error text in rdpsnd OSS
* fix: dev in rdpsnd does not work
* fix/change: audio-dev renamed to dev and now work in audin
* fix dynamic channels now work again
2015-03-13 01:28:44 +03:00
Zhang Zhaolong
d329831ba1
audin: fix incorrect usage of realloc.
...
Signed-off-by: Zhang Zhaolong <zhangzl2013@126.com>
2015-03-11 11:10:28 +08:00
Armin Novak
5ce9c71a40
Prettiefied WLog messages.
2015-01-20 11:39:33 +01:00
Armin Novak
54ec26c758
Removed duplicated close call
2015-01-20 11:39:13 +01:00
Marc-André Moreau
6c2ebb2b58
channels: redirection valgrind fixes
2014-12-27 13:50:50 -05:00
Martin Fleisz
0be28ba0f6
Merge pull request #1965 from akallabeth/dynamic-addin-naming
...
Dynamic channel library naming
2014-10-31 13:42:16 +01:00
Marc-André Moreau
986f773ef7
channels/audin: fix version message
2014-10-23 20:40:45 -04:00
Armin Novak
059374457d
Removed library prefix override.
2014-09-17 11:27:11 +02:00
Armin Novak
b1e9ffb655
Using wlog for channel logging now.
...
Fixed compiler warnings and broken callback in urbdrc.
2014-09-15 08:48:46 +02:00
Bernhard Miklautz
0313ca3622
libfreerdp: always build "MONOLITHIC"
...
"libfreerdp" consisted of multiple (small) single libraries. If the cmake
option MONOLITHIC was used only one library was build combining all of
the libfreerdp-* libraries.
The only exceptions to this are libfreerdp-server and libfreerdp-client these
are build as separate libraries.
This commit obsoltes non-monolithic builds and makes monolithic builds
the default. The cmake option MONOLITHIC is also removed.
2014-09-12 00:19:53 +02:00
Armin Novak
66b8905ac6
Using special log defines for channels now.
2014-08-11 09:12:01 +02:00
Armin Novak
b97099e815
Replaced fprintf(stderr with DEBUG_WARN
2014-08-07 22:20:13 +02:00
Armin Novak
158e1323de
Fixed compiler warnings.
2014-08-07 19:05:48 +02:00
Armin Novak
b252009d36
Replaced custom logging mechanism with WLog wrapper.
2014-08-07 16:51:49 +02:00
Vic Lee
29cb8680ce
server: allow partial channel read (fix rdpsnd).
2014-07-14 20:00:38 +08:00
Armin Novak
15ce8c0552
Updated plugins to use new svc_plugin and OnDataReceived API.
2014-06-11 14:42:32 +02:00
Hardening
c076ffb020
Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()
...
Nothing in the MSDN API says that setting NULL is safe. And if the
implementation uses WriteFile directly, it crashes.
2014-05-28 17:04:24 +02:00
Marc-André Moreau
ee282a931b
freerdp: fix build warnings on Windows
2014-05-10 09:50:36 -04:00
Hardening
ffd356031f
Remove a warning
2014-04-29 10:39:07 +02:00
Hardening
9848314a5d
More fixes in DSP
2014-04-29 10:32:16 +02:00
Bernhard Miklautz
1ba793b126
audin/client/alsa: fix installation path
...
The module was installed into the libdir instead of addin path.
2014-04-22 18:30:09 +02:00
Vic Lee
5391275f66
audin/server: fix server audio input channel.
2014-04-22 19:02:23 +08:00
Vic Lee
08b4976f72
Revert "channels: fix link errors."
...
This reverts commit 2fc7f9c485
.
2014-04-22 15:05:53 +08:00
Vic Lee
8317fb9107
audin/server: fix a crash.
2014-04-21 18:13:12 +08:00
Vic Lee
2fc7f9c485
channels: fix link errors.
2014-04-21 17:47:12 +08:00
Marc-André Moreau
a7ab4bb4af
channels/audin: fix target export
2014-03-12 11:36:50 -04:00
Marc-André Moreau
419e2936be
Merge branch 'master' of github.com:awakecoding/FreeRDP into channels
2014-02-27 15:09:06 -05:00
Marc-André Moreau
951368a1ce
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-02-27 13:58:29 -05:00
Marc-André Moreau
6e1cdf1b67
libfreerdp-core: expose opaque HANDLE instead of WTSVirtualChannelManager*
2014-02-27 13:30:04 -05:00
Marc-André Moreau
9afddf66ad
libfreerdp-core: implement WTSVirtualChannelOpenEx
2014-02-16 23:00:58 -05:00
Zhang Zhaolong
c9a9f5b438
wfreerdp: add winmm audin subsystem.
2014-02-11 17:39:03 +08:00
Marc-André Moreau
5ff847a6e6
wfreerdp: fix multiple warnings
2014-02-10 01:06:11 -05:00
Marc-André Moreau
1f18c27ec3
channels/audin: fix audin-server link libraries
2014-02-09 20:08:49 -05:00
Marc-André Moreau
37450da55d
cmake: fix exporting of targets on pre-2.8.11
2013-10-29 14:47:40 -04:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Marc-André Moreau
dbbb364caf
channels: export audin and rdpsnd subsystem interface
2013-10-19 12:38:31 -04:00
Armin Novak
5abe42226d
Removed forced disable of microphone redirection for android builds.
2013-10-03 13:21:42 +02:00
Armin Novak
6d14739ada
Working microphone input without sound gaps.
2013-09-30 10:08:22 +02:00
Armin Novak
c96cef5dd8
Ok, now actually creating 3 buffers initially.
2013-09-27 15:13:12 +02:00
Armin Novak
b07caafdbf
Added triple buffer to avoid gaps between frames.
2013-09-27 15:07:32 +02:00
Armin Novak
e7f941c419
Deactivated formats not working.
2013-09-27 12:06:30 +02:00
Armin Novak
c2d3f60ad0
Initial working microphone redirection for android.
...
Added debug messages to alsa and pulse microphone backends.
2013-09-27 11:39:04 +02:00
Armin Novak
bd7845e656
Basic opensles microphone redirection support, data conversion still buggy.
...
Fixed pulse audio default device name, now working without arguments again.
2013-09-26 16:05:16 +02:00
Armin Novak
2839f5d755
Renamed plugins from 'opensl_es' to 'opensles'
2013-09-23 12:38:05 +02:00
Armin Novak
e092852765
Added basic input module for android microphone redirection.
2013-09-20 11:47:10 +02:00
Marc-André Moreau
518995a05e
freerdp: merge with master
2013-09-16 17:10:27 -04:00
Marc-André Moreau
336e47e82f
Merge pull request #1460 from akallabeth/thread_handle_fixes
...
Thread handle fixes
2013-09-16 13:40:32 -07:00
Bernhard Miklautz
8baa04e7e5
Merge pull request #1448 from akallabeth/coverity_fixes
...
Multiple resource leak and NULL pointer dereferencing fixes
2013-09-10 00:56:30 -07:00
Marc-André Moreau
f790831e7d
Merge branch 'master' of github.com:awakecoding/FreeRDP into xrdp-ng
2013-09-05 15:23:19 -04:00
Armin Novak
8e6b79376c
Fixed possible race found by bmiklautz
2013-09-05 13:41:32 +02:00
Armin Novak
3b54ba3449
Fixed thread handling.
2013-09-05 13:38:35 +02:00
Armin Novak
07139276b5
Added newlines at end of file, prevents clang from crashing...
2013-09-05 12:14:35 +02:00
Armin Novak
8ecbb86acf
Fixed issue #1281 , thread shutdown now properly waiting for quit.
2013-09-05 09:33:12 +02:00
Marc-André Moreau
7edfe66274
freerdp: various missing link dependencies and symbol exports
2013-09-03 21:48:26 -04:00
Marc-André Moreau
c878200e00
channels/server: refactor to match WTSApi + avoid conflicts
2013-08-20 19:26:36 -04:00
Marc-André Moreau
552cee7431
channels/server: start refactoring to fully match WTSApi
2013-08-20 18:06:19 -04:00
Daryl Poe
174f2114dc
fix segfault due to pulse input race condition
...
(cherry picked from commit be51676541
)
2013-07-29 18:19:47 +02:00
Marc-André Moreau
fdf3ddcf9e
freerdp: purge deprecated stream utils
2013-05-08 17:48:30 -04:00
Marc-André Moreau
fd230443c5
freerdp: purge old stream utils
2013-05-08 16:27:21 -04:00
Marc-André Moreau
5b92413843
freerdp: purge deprecated stream utils
2013-05-08 16:09:16 -04:00
Marc-André Moreau
b4cac74136
xfreerdp-server: fix RemoteFX encoding
2013-05-01 18:15:55 -04:00
Marc-André Moreau
51715636a5
freerdp: remove some deprecated stream utils
2013-04-29 22:35:15 -04:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Marc-André Moreau
75d4c70dd0
channels/printer: remove usage of thread utils
2013-03-21 17:40:04 -04:00
Marc-André Moreau
996e7c5dbd
channels/audin/server: remove usage of old thread utils
2013-03-21 17:28:55 -04:00
Marc-André Moreau
8c8a82c31f
libfreerdp-utils: purge old STREAM utils
2013-03-21 16:45:25 -04:00
Marc-André Moreau
a8201b0d1b
libwinpr-utils: combine old and new stream utils
2013-03-21 15:19:33 -04:00
Marc-André Moreau
6a71f2e442
channels/audin: remove usage of old thread utils
2013-03-20 20:44:31 -04:00
Marc-André Moreau
2b9174a69b
channels/rdpsnd: cleanup
2013-02-25 21:46:48 -05:00
Marc-André Moreau
fe34a529d5
freerdp: fix build and warnings on Mac OS X
2013-02-21 21:09:42 -05:00
Marc-André Moreau
7a289423c0
channels/rdpsnd: refactor scheduling of sending of sound PDUs
2013-02-20 21:34:47 -05:00
Marc-André Moreau
22c804e6ad
channels/rdpsnd: refactoring
2013-02-19 17:47:55 -05:00
Vic Lee
502368dd95
libwinpr-synch: proper handling fd event creation on Windows.
2012-12-21 11:41:18 +08:00
Marc-André Moreau
eea3414579
libfreerdp-utils: purge deprecated wait_obj utils
2012-11-26 20:15:48 -05:00
Marc-André Moreau
8a32de3801
libfreerdp: purged source tree from deprecated memory utils
2012-11-21 21:22:06 -05:00
Marc-André Moreau
2a16183f5d
libfreerdp-utils: remove deprecated calls to xnew() macro
2012-11-21 20:21:08 -05:00
Marc-André Moreau
ecddb58ba2
channels: cmake cleanup, USB redirection refactoring
2012-11-20 19:34:52 -05:00
Marc-André Moreau
5e77cefb08
libfreerdp-utils: removed part of the deprecated calls to xzalloc
2012-11-19 23:49:08 -05:00
Marc-André Moreau
2e1a7447a1
channels: refactoring of channel subsystems
2012-11-19 22:31:15 -05:00
Marc-André Moreau
4a472d5536
libfreerdp-common: added parsing of /vc and /dvc
2012-11-18 00:08:03 -05:00
Marc-André Moreau
925eb59bf1
libfreerdp-common: refactoring of addin loader
2012-11-17 22:03:04 -05:00
Marc-André Moreau
0f79d5c62a
cmake: added generation of static tables for channel subsystems
2012-11-05 19:55:15 -05:00
Marc-André Moreau
a79e913e6d
channels: disable certain channels by default on Android
2012-10-22 15:03:38 -04:00
Marc-André Moreau
5bebfc798d
cmake: add client/server channel options
2012-10-19 16:47:48 -04:00
Marc-André Moreau
b5989f7299
cmake: refactoring of channel options with macros
2012-10-19 15:27:55 -04:00