David FORT
29d372480a
Take in account nfedera's review
2015-05-20 19:19:50 +02:00
David FORT
f8d6eb226c
Fixed last VirtualChannelEntry
2015-05-19 13:56:48 +02:00
Hardening
f8120919af
Add checks for some XXX_New and XXX_Add functions
...
Based on PR #2616
2015-05-18 11:28:00 +02:00
Norbert Federa
1eff1a345e
free can handle NULL perfectly fine
2015-05-11 09:07:39 +02:00
Bryan Everly
8c75127a67
Necessary changes to get latest branch working on OpenBSD 5.6
2015-04-21 14:42:06 -04:00
Bernhard Miklautz
79de8168f9
Integrate feedback from pull request
...
* orders.c: remove ; at eol
* rdpdr_main.c: simplify error case
* rdpsnd_pulse.c: fix incorrect check
* rdpsnd_main.c: adapt return value according to documentation
* update.c: fix incorrect return values
2015-03-30 18:29:32 +02: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
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
ivan-83
0f3b639058
* OSS build fix on linux
2015-03-11 02:17:45 +03:00
ivan-83
e85dccc22a
* remove OSS debug messages
2015-03-10 01:34:15 +03:00
ivan-83
4f8f84f33b
+ some files for OSS, missed from prev commit
2015-03-09 09:31:27 +03:00
ivan-83
fe9fab920e
+ add OSS support for rdpsnd
2015-03-09 09:23:29 +03:00
ivan-83
8d5825ee00
Fix poor sound quality with ALSA
...
and decrease "ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred"
+ little code cleanup
2015-03-09 09:11:46 +03:00
Armin Novak
69afce34c7
Debug messages now use WLog_DBG instead of WLog_ERR.
2015-02-19 08:45:45 +01:00
Armin Novak
557e8bb938
Fixed variable initialisation and cleanup.
2015-01-20 12:31:21 +01:00
Armin Novak
cbf8b1cf01
Fixed resource cleanup locations.
...
Additional error checks and logging.
2015-01-20 11:53:12 +01:00
Armin Novak
54fa77a06a
Prettiefied WLog messages.
2015-01-20 11:20:38 +01:00
Marc-André Moreau
27a8e50e60
channels: fix drdynvc, patch memory leaks
2014-12-27 15:20:29 -05:00
Marc-André Moreau
6c2ebb2b58
channels: redirection valgrind fixes
2014-12-27 13:50:50 -05:00
Marc-André Moreau
fdd2dc7601
freerdp: patch valgrind leaks, cleanup
2014-12-03 14:17:27 -05: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
784696c1cd
Fixed missing includes and invalid replacement.
2014-08-11 09:38:08 +02:00
Armin Novak
66b8905ac6
Using special log defines for channels now.
2014-08-11 09:12:01 +02:00
Armin Novak
b252009d36
Replaced custom logging mechanism with WLog wrapper.
2014-08-07 16:51:49 +02:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Marc-André Moreau
53639dea0b
channels: reduce dependency on svc_plugin.h
2014-06-11 15:09:28 -04:00
Marc-André Moreau
784e9abd79
cmake: improve __FILE__ relative path hack
2014-04-21 14:42:24 -04:00
Benoit LeBlanc
27c753f80c
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
2014-03-19 11:53:10 -04:00
Marc-André Moreau
db1159f7b6
Merge pull request #1737 from zhangzl2013/sound-fix
...
Sound fix
2014-03-13 10:35:33 -04:00
Benoît LeBlanc
c6f235e1ee
Merge branch 'master' of git://github.com/awakecoding/FreeRDP
2014-03-12 18:23:26 -04:00
Benoît LeBlanc
dde8d81f46
Removed WLOG traces for audio playback
2014-03-12 18:23:17 -04:00
Zhang Zhaolong
ffb53ba5e2
sound: cleanup invalid code.
2014-03-12 17:16:06 +08:00
Zhang Zhaolong
9cf6d1d9ae
sound: fix long latency.
2014-03-12 17:02:45 +08:00
Zhang Zhaolong
69c926eb37
sound: fix random volume on connection.
2014-03-12 15:04:33 +08:00
Zhang Zhaolong
69296ce3bd
wfreerdp: build fix.
2014-03-04 13:54:25 +08:00
Marc-André Moreau
6695873394
libwinpr-wtsapi: fix multiple inconsistencies with original wtsapi headers
2014-02-28 14:49:57 -05:00
Marc-André Moreau
82b922a70d
channels: rename custom CHANNEL_ENTRY_POINTS_EX to CHANNEL_ENTRY_POINTS_FREERDP to fix conflict
2014-02-16 17:38:59 -05:00
Marc-André Moreau
b833073f57
libfreerdp-core: make client virtual channel API prototypes converge towards original API
2014-02-16 17:27:36 -05:00
Marc-André Moreau
cdcd290c44
wfreerdp: fix most build warnings
2014-02-10 22:12:13 -05:00
Marc-André Moreau
5ff847a6e6
wfreerdp: fix multiple warnings
2014-02-10 01:06:11 -05:00
Marc-André Moreau
6acd0ed84a
channels/rdpsnd: improve winmm rdpsnd implementation
2013-12-15 15:59:51 -05:00
Marc-André Moreau
4356eb5572
Merge branch 'audio' of github.com:FreeRDP/FreeRDP
...
Conflicts:
libfreerdp/codec/audio.c
2013-12-11 17:24:00 -05:00
Marc-André Moreau
f890771871
channels/rdpsnd: fix audio duration computation for GSM610 format
2013-12-11 17:21:29 -05:00
Marc-André Moreau
95a452e77f
channels/rdpsnd: start using AudioConverter
2013-12-09 17:34:23 -05:00
Marc-André Moreau
c230e872af
channels/rdpsnd: start refactoring mac audio code
2013-12-09 16:02:42 -05:00
Marc-André Moreau
76c842285d
channels/rdpsnd: initial attempt at adding GSM610 support
2013-11-22 12:11:39 -05:00
Marc-André Moreau
c1fa455c30
channels/rdpsnd: add wlog debug output
2013-11-19 15:31:38 -05:00
Marc-André Moreau
c03a2e5497
channels/rdpsnd: add option for configuring audio quality mode
2013-11-19 14:29:31 -05:00
Armin Novak
23b5845660
Fixed crash due to duplicate resource cleanup (MessagePipe freed in channel)
2013-11-12 10:22:04 +01:00
Marc-André Moreau
3c44ff9c83
channels/rdpsnd: fix bug in rdpsnd and rdpdr deinitialization
2013-11-06 14:31:33 -05:00
Marc-André Moreau
5406ebd5d8
channels/drive: refactoring
2013-11-03 19:10:33 -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
f35d45488c
channels/rdpsnd: make use of MessagePipe
2013-10-19 16:42:42 -04:00
Marc-André Moreau
bd64e616de
channels/rdpsnd: decouple rdpsnd from svc_plugin
2013-10-19 16:20:31 -04:00
Marc-André Moreau
dbbb364caf
channels: export audin and rdpsnd subsystem interface
2013-10-19 12:38:31 -04:00
Armin Novak
27566ce566
Fixed invalid return.
2013-10-01 11:19:16 +02:00
Armin Novak
8ccf7f8ca2
Fixed queue initialization and overflow checks.
2013-09-30 10:11:54 +02:00
Armin Novak
95468dcf17
Modified rdpsnd opensles backend, now just filling queue and not waiting
...
for completion of playback, results in better sound quality.
2013-09-27 15:55:14 +02:00
Armin Novak
2269cbe155
Merge branch 'master' of https://github.com/FreeRDP/FreeRDP into android_sound
2013-09-27 11:46:48 +02:00
Armin Novak
8139c4894b
Cleaned up rdpsnd for android, prepared volume control.
2013-09-27 11:45:53 +02:00
Armin Novak
2839f5d755
Renamed plugins from 'opensl_es' to 'opensles'
2013-09-23 12:38:05 +02:00
Armin Novak
d60e74e622
Removed obsolete audiotrack implementation.
2013-09-20 12:48:35 +02:00
Armin Novak
1c506a3724
Fixed CommandLinePArseArgumentsA return value check, only abort if negative.
2013-09-20 10:11:05 +02:00
Armin Novak
01b6d5d229
Fixed compiler warnings.
2013-09-20 10:08:56 +02:00
Armin Novak
489e375f7b
Fixed potential memory leak, now always calling WaveConfirm after playing
...
a sample.
2013-09-20 09:19:11 +02:00
Armin Novak
3f62a9176c
Added audiotrack support to rdpsnd.
2013-09-19 12:01:14 +02:00
Armin Novak
4748d0e4dd
Merged back audiotrack support from felix lang.
2013-09-19 12:00:49 +02:00
Armin Novak
403a9fff62
Fixed compiler warnings.
2013-09-19 10:34:18 +02:00
Armin Novak
64454faf71
Fixed double free of wave buffer.
2013-09-19 10:23:28 +02:00
Marc-André Moreau
518995a05e
freerdp: merge with master
2013-09-16 17:10:27 -04:00
Armin Novak
6ac0b10158
Removed buffer copy, still fixes memory leak.
2013-09-05 12:14:34 +02:00
Armin Novak
854aa3fcfa
Fixed memory leak.
2013-09-05 12:14:34 +02:00
Armin Novak
e5c138a5b9
Fixed various memory leaks, allocation size issues and API misuse
...
warnings shown by clang as well as some compiler warnings.
2013-09-05 12:14:34 +02:00
Armin Novak
a3b531c036
Fixed issues found with clang-analyzer
2013-09-05 12:14:33 +02:00
Marc-André Moreau
7edfe66274
freerdp: various missing link dependencies and symbol exports
2013-09-03 21:48:26 -04:00
Mike McDonald
3e1f72a011
Fixed minor formatting issues
2013-08-28 21:37:45 -04:00
Mike McDonald
cfe90ae829
Added RDPSND device plugin for iOS
2013-08-28 21:03:34 -04:00
Mike McDonald
772f738c47
Added RDPSND device plugin for iOS
2013-08-28 21:02:48 -04:00
Marc-André Moreau
e45f149db4
channels/rdpsnd: fix potential uninitialized value
2013-05-25 15:49:44 -04:00
Marc-André Moreau
e9d362b58e
channels/printer: fix printer redirection and test with cups-pdf
2013-05-20 15:50:22 -04: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
51715636a5
freerdp: remove some deprecated stream utils
2013-04-29 22:35:15 -04:00
Marc-André Moreau
d187becc28
freerdp: merge with master
2013-03-28 21:20:36 -04:00
Marc-André Moreau
3417a3aab5
freerdp: merge RDP_EVENT type with wMessage
2013-03-28 21:13:56 -04:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01: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
aec86e1da8
wfreerdp: start splitting CLI from client core
2013-03-18 20:12:51 -04:00
Marc-André Moreau
96fa4f462f
libfreerdp-codec: move audio format processing code to codec library
2013-03-07 14:43:21 -05:00
Bernhard Miklautz
b95bf97c20
android: build fix - no librt
...
Android NDK doesn't provide librt.
2013-02-28 11:47:09 +01:00
Marc-André Moreau
5468c53720
channels/rdpsnd: added better format debug output
2013-02-27 20:46:14 -05:00
Marc-André Moreau
af80955b78
wfreerdp: fix rdpsnd
2013-02-27 17:35:57 -05:00
Marc-André Moreau
761e1d464f
channels/rdpsnd: add GetVolume()
2013-02-27 16:57:18 -05:00
Marc-André Moreau
5ead9ec30d
channels/rdpsnd: fix stop/start
2013-02-27 15:10:35 -05:00
Marc-André Moreau
d815363fa7
channels/rdpsnd/alsa: fix build with DEBUG_SVC
2013-02-27 10:26:11 -05:00
Marc-André Moreau
6a775ff032
channels/rdpsnd: reduce ALSA buffer underruns
2013-02-26 17:54:16 -05:00
Marc-André Moreau
8df47fb7fa
channels/rdpsnd: attempt computing proper timestamp for playback end
2013-02-26 11:50:48 -05:00
Marc-André Moreau
afa7f4b945
channels/rdpsnd: fix crashes on termination
2013-02-26 11:16:33 -05:00
Marc-André Moreau
2b9174a69b
channels/rdpsnd: cleanup
2013-02-25 21:46:48 -05:00
Marc-André Moreau
efb0a15fc9
channels/rdpsnd: added audio data length
2013-02-25 17:49:07 -05:00
Marc-André Moreau
c22e5181c1
channels/rdpsnd: added more ALSA debug output
2013-02-24 22:32:48 -05:00
Marc-André Moreau
71a205a21e
channels/rdpsnd: cleanup ALSA setup
2013-02-21 19:20:13 -05:00
Marc-André Moreau
23879a429b
channels/rdpsnd: refactor audio format negotiation
2013-02-21 18:41:41 -05:00
Marc-André Moreau
6ba81c2a1a
channels/rdpsnd: added more debug output for timing
2013-02-21 16:03:47 -05:00
Marc-André Moreau
8e8c9445dc
channels/rdpsnd: add detailed latency output
2013-02-21 14:58:39 -05:00
Marc-André Moreau
5f1b13d77f
channels/rdpsnd: start work on WavePlay/WaveConfirm
2013-02-21 13:25:43 -05:00
Marc-André Moreau
413e8fcf36
channels/rdpsnd: process ALSA write in separate thread
2013-02-21 11:58:41 -05:00
Marc-André Moreau
05bd6cff73
channels/rdpsnd: further experimentation with async alsa
2013-02-21 10:46:11 -05:00
Marc-André Moreau
4df376739d
channels/rdpsnd: start alsa async mode
2013-02-21 03:38:36 -05:00
Marc-André Moreau
385d0daced
channels: get rid of semaphore locking, replace queues
2013-02-21 02:56:57 -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
9164d2245e
libfreerdp-utils: make use of ArrayList in Static Virtual Channel Plugin interface
2013-02-20 15:33:42 -05:00
Marc-André Moreau
fbdcd03a42
channels/rdpsnd: emulate timing of old queue
2013-02-20 12:11:19 -05:00
Marc-André Moreau
5e8d35c4ac
channels/rdpsnd: use MessageQueue
2013-02-19 22:36:04 -05:00
Marc-André Moreau
43fd37de6e
channels/rdpsnd: fix timestamps
2013-02-19 21:21:20 -05:00
Marc-André Moreau
abf4e6534e
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-02-19 18:13:39 -05:00
Marc-André Moreau
22c804e6ad
channels/rdpsnd: refactoring
2013-02-19 17:47:55 -05:00
C-o-r-E
2bd632d077
mfreerdp-server: formatting
2013-02-19 15:06:42 -05:00
Marc-André Moreau
470cdb2570
xfreerdp: add async-channels command-line argument
2013-02-19 12:29:15 -05:00
Marc-André Moreau
3afac02d48
channels/rdpsnd: added sound format ids
2013-02-19 11:02:45 -05:00
Marc-André Moreau
dee4299e99
channels/rdpsnd/alsa: apply patch from tonyhook
2013-02-19 10:19:08 -05:00
C-o-r-E
9927364b6a
channels/rdpsnd/client/mac: now properly linking
2013-02-05 17:22:34 -05:00
Vic Lee
ec54a44449
rdpsnd: fix some null pointer crashes.
2013-01-22 23:26:55 +08:00
Vic Lee
c5170a00e0
channels/rdpsnd: support wfreerdp using Windows Multimedia API.
2012-12-27 19:20:39 +08:00
Marc-André Moreau
ab1cf1cb02
channels/rdpsnd: fix default device name with alsa
2012-11-26 01:23:23 -05:00
Marc-André Moreau
c8bfed8d31
channels: fix connection flags for rdpsnd
2012-11-26 01:15:11 -05:00
Marc-André Moreau
01158f9a34
libfreerdp-utils: purge deprecrated load_plugin utils from source tree
2012-11-21 21:28: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
091f9f3034
client/common: automatically register fake rdpsnd channel when device redirection is in use
2012-11-21 09:30:16 -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
83473d11d1
channels: patch memory leaks, load addins from list
2012-11-19 13:26:56 -05:00
Marc-André Moreau
a5d81fcb9a
channels/rdpsnd: refactoring of parameter parsing
2012-11-18 17:32:18 -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
eb718a1b79
channels/rdpsnd: fix loading of plugins
2012-11-02 19:42:57 -04:00
Marc-André Moreau
6882b1fa9d
mfreerdp-server: initial commit
2012-10-31 23:04:31 -04:00
Marc-André Moreau
2f1711c506
libwinpr-path: make tests pass on Windows
2012-10-18 21:11:12 -04:00
Marc-André Moreau
81e485736f
channels: refactoring of channels cmake scripts with macros
2012-10-17 02:14:19 -04:00
Marc-André Moreau
0c1fd59d5f
cmake: fix client add library macro
2012-10-16 17:33:07 -04:00
Marc-André Moreau
d0314a569e
libfreerdp-channels: refactoring of cmake static entry table generation
2012-10-15 16:31:41 -04:00
Marc-André Moreau
010761055e
libfreerdp-channels: refactoring of channels cmake scripts with macros
2012-10-15 14:44:46 -04:00
Marc-André Moreau
d3b505b008
channels: fix linking of channels
2012-10-14 03:22:58 -04:00
Marc-André Moreau
304b4c2d86
cmake: fix windows build
2012-10-14 01:17:25 -04:00
Marc-André Moreau
06fa85f31c
cmake: refactoring of MONOLITHIC_BUILD
2012-10-13 17:30:59 -04:00
Marc-André Moreau
de1c812fc9
channels/rdpsnd: fix build on Windows
2012-10-10 20:44:27 -04:00
Marc-André Moreau
4b1b51b1f8
channels: fix data type refactoring issue
2012-10-09 14:00:28 -04:00
Marc-André Moreau
9d064171a7
freerdp: get rid of old types
2012-10-09 03:26:39 -04:00
Marc-André Moreau
1bf8a45519
freerdp: change uint8, sint8, uint16, sint16 to BYTE, INT8, UINT16, INT16
2012-10-09 03:01:37 -04:00
Marc-André Moreau
1ed644786c
freerdp: change boolean type to BOOL type
2012-10-09 02:38:39 -04:00
Marc-André Moreau
5612bc43f8
freerdp: change true/false to TRUE/FALSE
2012-10-09 02:31:28 -04:00
Marc-André Moreau
2df7aaad39
libfreerdp-utils: get rid of xstrdup in favor of WinPR _strdup
2012-10-08 23:42:01 -04:00
Marc-André Moreau
9909a12af5
libfreerdp-utils: get rid of xmalloc, xrealloc and xfree
2012-10-08 23:21:26 -04:00
Marc-André Moreau
e60a092d81
freerdp: fix headers
2012-10-08 23:02:04 -04:00
Marc-André Moreau
40eea7c76b
cmake: rename WITH_MONOLITHIC_BUILD to MONOLITHIC_BUILD
2012-10-08 22:55:06 -04:00
Marc-André Moreau
ac7e1a3aea
channels: make rail, drdynvc, cliprdr and rdpsnd built-in channels
2012-10-08 22:48:17 -04:00
Marc-André Moreau
93f88d1c48
channels: added support for loading plugins from a static entry table
2012-10-08 19:54:11 -04:00
Marc-André Moreau
fbd2f360e9
winpr: fix compilation on Linux
2012-10-05 14:45:54 -04:00
Marc-André Moreau
e0693c8f4c
cmake: refactoring of channels cmake scripts
2012-10-04 16:54:16 -04:00
Marc-André Moreau
4c319ebdd9
channels/rdpsnd: code style cleanup
2012-10-02 23:01:16 -04:00
Marc-André Moreau
3d65cb1c27
channels: moved client-side implementations in client subdirectories
2012-09-22 17:46:23 -04:00