Bernhard Miklautz
62cb5fac44
build: add missing dependencies
...
Add all missing dependencies found when building with
STATIC_CHANNELS=OFF.
Fixes #3281
2016-04-15 14:32:40 +02:00
Bernhard Miklautz
783807229d
build: add missing dependencies
...
Add all missing dependencies found with --no-undefined. Since
dependencies aren't exported anymore (if not required) it is no necessary
to explicitly list all required libraries.
2016-04-07 15:10:00 +02:00
Armin Novak
2dbc1a0b87
Reverted WTS API changes.
2016-03-14 13:19:08 +01:00
Armin Novak
36cbf1b583
Fixed error handling for channel load failures.
2016-03-14 13:13:43 +01:00
Marc-André Moreau
ceefc4b099
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2016-03-07 10:19:50 -05:00
Armin Novak
fb88ad0ee6
Fixed symbol export for sound plugins.
2016-03-03 17:17:13 +01:00
Marc-André Moreau
8fa25aae6a
mfreerdp: fix build on 32-bit with mac audio
2016-02-16 13:42:08 -05:00
David PHAM-VAN
3f5ce2d43f
Refactor format_supported with a nice switch() statement
2016-01-29 09:58:48 -08:00
David PHAM-VAN
8ef64aee96
Add ADPCM codec for Mac client
2016-01-28 16:11:39 -08:00
Bernhard Miklautz
6fa3608111
cleanup cmake exports and pkg-config files
...
With this commit the "exported" components (usable with pkg-config and
cmake find module package)
* winpr - winpr library and headers
* freerdp - core library and headers
* freerdp-client - client specific library
* freerdp-server - server specific library
* rdtk - rdtk headers and library
To allow the installation of multiple different version (different major
number) the include files were moved into the respective sub folder:
freerdp -> freerdp{MAJOR}/freerdp (currently freerdp2/freerdp/)
winpr -> winpr{MAJOR}/winpr (currently winrp1/winpr/)
rdtk -> rdpk{MAJOR}/rdtk (currently rdtk0/rdtk/
The generated pkg-config and cmake find modules now also include the major
version number. Currently the following pkg-config are generated and
installed.
* winpr1
* freerdp2
* freerdp-server2
* freerdp-client2
* rdtk0
As cmake is able to handle multiple versions out of the box the
following can be used to find a specific module:
find_package(WinPR)
find_package(FreeRDP)
find_package(FreeRDP-Server)
find_package(FreeRDP-Client)
find_package(RdTk)
As cmake doesn't automatically resolve dependencies for packages it is
necessary to manually include the requirements. For example if
FreeRDP-Client is required WinPR and FreeRDP need to be included
(find_package) as well.
This commit also fixes the installation when STATIC_CHANNELS are built.
WITH STATIC_CHANNELS all channels are linked into libfreerdp-client, for
this all channels are generated as linker archive and linked together in
the final step. Before the intermediate linker archives were, although
not required and useful, installed. Same applies for server side
channels.
2016-01-12 17:32:33 +01:00
Armin Novak
6ed43cd6ec
Updated pdb file locations.
...
Now supporting generators NMake and Visual Studio.
2015-12-15 12:08:35 +01:00
Armin Novak
cb958ba9c6
Added pdb files to package target.
...
Fixed name collision with freerdp-shadow targets.
2015-12-15 12:07:21 +01:00
Hardening
55d097a161
Merge pull request #2414 from zavadovsky/opensles_fixes
...
opensles fixes
2015-12-14 17:22:38 +01:00
Mehul Dhorda
044ebaafcd
Fixed build errors that occur when setting WITH_IOSAUDIO build option.
...
- Replaced } with ) in CMakeLists.txt
- Included header in TPCircularBuffer.c which is required for the TAG define
2015-11-10 11:39:37 -08:00
zihao.jiang
f21749ac07
server: Fix several memory leak while running valgrind on freerdp-shadow
2015-09-17 01:02:22 +08:00
Vic Lee
cc1bcb31b8
rdpsnd/winmm: fix SetVolume when device is not opened.
2015-09-02 15:31:40 +08:00
Armin Novak
f8295a1517
Fixed resource cleanup double free.
2015-08-28 10:51:27 +02:00
Martin Haimberger
52405a3e79
Remove WIN32ERROR type
...
All return values are UINT now.
2015-08-27 05:38:20 -07:00
Martin Haimberger
65fd259610
misc fixes:
...
fixed all bugs from the review
checking all WaitFor*Object/s calls
2015-07-30 06:49:21 -07:00
Martin Haimberger
f65d15feeb
fixed audioserver
...
if no data could be read, the ERROR_NO_DATA is returend to
indicate a further read.
2015-07-22 03:16:46 -07:00
Bernhard Miklautz
f992568432
rdpsnd: restore old behavior and fixes
...
* oss: fix function signature
* autodetection - if only /sound is given all enabled
plugins are tried in order and the first successful loaded is used.
- this restores the previous behavior
* alsa/pulse fix command line parsing - no parameters shouldn't be
treated as error
2015-07-20 12:28:49 +02:00
Martin Haimberger
e682329eeb
fixed compiler errors
2015-07-15 03:17:38 -07:00
Martin Haimberger
6ab0187d84
Merge remote-tracking branch 'upstream/master' into mh-channel
...
Conflicts:
channels/audin/client/oss/audin_oss.c
channels/drive/client/drive_main.c
channels/printer/client/printer_cups.c
channels/printer/client/printer_main.c
channels/rail/client/rail_main.c
channels/rdpgfx/client/rdpgfx_main.c
channels/rdpsnd/client/oss/rdpsnd_oss.c
channels/remdesk/client/remdesk_main.c
channels/remdesk/server/remdesk_main.c
channels/tsmf/client/tsmf_media.c
2015-07-15 01:57:07 -07:00
Martin Haimberger
b8c110d19b
introduced channel error reporting system
...
The rdpContext gets an event which will
get set if an error occoured in a channel.
If a thread or a void callback has to report an
error it will get signaled by this system.
2015-07-15 00:50:35 -07:00
David FORT
1b7140d84e
Fixed some more checks in rdpsnd channel
2015-07-04 00:17:37 +02:00
Armin Novak
cf9f975341
Replaced snprintf with sprintf_s
2015-07-03 13:26:15 +02:00
Zavadovsky Yan
2c1aff1ab9
channels/rdpsnd: fix memory leak
...
Pointer to sound data chunk must be put into queue
otherwise bqPlayerCallback() will have nothing to free and
memory will leak.
2015-07-01 18:58:38 +03:00
Zavadovsky Yan
6ce87bd477
channels/rdpsnd: fix rdpsnd_opensles_set_format() logic
...
If server says "PCM format" treat sound data as PCM, not ADPCM.
This fixes noise from speakers when using Xrdp as server.
2015-07-01 18:58:10 +03:00
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
David FORT
a8fefae3a1
Harden the sound channel
...
This patch adds checks for the sound channel and plugins:
* checks for protocol bytes;
* checks for malloc/calloc;
* be more strict when interacting with sound plugin
2015-06-24 17:06:45 +02: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
ivan-83
e22a4461c7
rdpsnd oss remove unneded mem operations
2015-05-30 03:02:25 +03:00
ivan-83
d925f2f9fe
rdpsnd: latency process
2015-05-30 02:22:18 +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
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
918ca132f6
Fixed resource cleanup locations.
...
Additional error checks and logging.
2015-01-20 11:59:13 +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
4529eb00ee
Decreased logging verbosity.
2014-09-15 19:37:53 +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
Marc-André Moreau
f5ff6e1bd8
Merge pull request #2095 from bmiklautz/feat/byemonolithic
...
Remove non-monolithic builds of libfreerdp
2014-09-11 18:46:32 -04: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
Bernhard Miklautz
96cd479c99
rdpsnd_server_handle_messages: change return type
...
With BOOL as return type it is not possible to differentiate between
success and "no data can be read" (when a channel read would block).
rdpsnd_server_handle_messages returns now int with the following
possible values:
-1 if no data could be read
0 error (like connection close) (formerly FALSE)
1 succsess (also if further bytes need to be read) (formerly TRUE)
Not using -1 for error cases was chosen to be compatible with the BOOL
return values used before.
2014-09-11 13:45:23 +02:00
Bernhard Miklautz
e603655048
rdpsnd server: seal stream before processing
...
If the stream is not sealed Stream_GetRemainingLength might return bogus
values.
2014-09-11 12:30:37 +02:00
Bernhard Miklautz
bbaecbd42d
rdpsnd server: add support for clients version < 6
...
MS-RDPEA 2.2.2.3 states (Appendix A <6>) that quality mode PDU
should be ignored if the client version is < 6. For these clients the sound
channel got never activated since activated was only called after
reception of the quality mode PDU.
For clients < version 6 activated is now called after
CLIENT_AUDIO_VERSION_AND_FORMATS was received.
2014-09-11 12:30:37 +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
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
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
Hardening
4b6edb913c
Make server sound thread optionnal
...
This patch makes the server-side sound channel thread optionnal, and
exposes functions to handle channel traffic from the outside.
2014-07-02 10:31:45 +02:00
Marc-André Moreau
c156006195
Merge branch 'master' of github.com:awakecoding/FreeRDP into egfx
2014-06-23 11:55:27 -04:00
Hardening
11f8e40d50
Fix packet decoding logic
...
This patch totally reworks the logic of the packet decoding for the
server-side sound channel.
2014-06-19 10:06:37 +02:00
Hardening
f33f755635
Also specify the timestamp when sending samples
...
This patch complements the SendSample() callback to take the timestamp
as extra argument.
2014-06-18 23:44:34 +02:00
Hardening
99d531655c
Implement a confirm block callback
...
This patch adds a callback called when we receive feedback from the
client.
2014-06-18 23:44:34 +02:00
Marc-André Moreau
53639dea0b
channels: reduce dependency on svc_plugin.h
2014-06-11 15:09:28 -04:00
Martin Fleisz
6f1f4be0ae
Merge pull request #1873 from hardening/WTSVirtualChannelWriteCallers
...
Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()
2014-06-03 16:40:05 +02:00
Vic Lee
a4c583c459
rdpsnd/server: fix incorrect use of channe handle.
2014-05-30 23:00:15 +08: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
Hardening
965eefe04e
Fixed bad check
2014-05-02 22:45:38 +02:00
Hardening
09c9181f8d
Fix ChannelEvent
2014-05-02 21:53:52 +02:00
Hardening
a7023769d0
Fixes in the server-side sound channel
...
This patch:
* treats OOM situations
* adds checks when reading audio channel messages
2014-04-29 01:02:35 +02:00
Marc-André Moreau
769502ec72
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-04-26 13:47:01 -04:00
Vic Lee
08b4976f72
Revert "channels: fix link errors."
...
This reverts commit 2fc7f9c485
.
2014-04-22 15:05:53 +08:00
Marc-André Moreau
13d61f341d
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2014-04-21 16:28:01 -04:00
Marc-André Moreau
784e9abd79
cmake: improve __FILE__ relative path hack
2014-04-21 14:42:24 -04:00
Vic Lee
2fc7f9c485
channels: fix link errors.
2014-04-21 17:47:12 +08: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
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
Vic Lee
4fa2ca3062
rdpsnd-server: fix broken message parsing.
2014-02-20 23:33:27 +08:00
Marc-André Moreau
3e546a22a1
channels: start migrating existing server-side channels to WTSAPI
2014-02-16 22:07:00 -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
8a81208059
libfreerdp-core: move server-side virtual channels back into core
2014-02-15 17:42:59 -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
Marc-André Moreau
336e47e82f
Merge pull request #1460 from akallabeth/thread_handle_fixes
...
Thread handle fixes
2013-09-16 13:40:32 -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
d7d5869cb6
Fixed thread handling.
2013-09-05 13:39:15 +02: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
Marc-André Moreau
c11da95165
Merge branch 'master' of github.com:awakecoding/FreeRDP into xrdp-ng
2013-09-03 18:41:14 -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
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
Marc-André Moreau
23a8354656
channels: rdpsnd refactoring, drdynvc initial server-side code
2013-08-18 21:52:55 -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
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
Marc-André Moreau
f4df4e4b26
channels: partial cleanup
2013-03-29 14:49:09 -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
C-o-r-E
4c769bc01b
rdpsnd: clean up debug output
2013-03-11 14:15:48 -04:00
C-o-r-E
1e8a7c6105
channels/rdpsnd: removed debug prints
2013-03-08 13:44:49 -05:00
C-o-r-E
7453fdaecc
channels/rdpsnd: merged
2013-03-08 13:25:03 -05:00
C-o-r-E
2d3fc241a6
mfreerdp-server and rdpsnd server more fixes
2013-03-08 12:55:21 -05:00
C-o-r-E
989232dc41
mfreerdp-server and rdpsnd server fixes
2013-03-08 12:36:38 -05:00
Marc-André Moreau
2abd3d11bd
channels/rdpsnd/server: cleanup pdu creation
2013-03-07 16:04:25 -05:00
Marc-André Moreau
cabc465464
channels/rdpsnd/server: get rid of old thread util
2013-03-07 15:33:27 -05:00
Marc-André Moreau
96fa4f462f
libfreerdp-codec: move audio format processing code to codec library
2013-03-07 14:43:21 -05:00
C-o-r-E
e4702cac98
rdpsnd: server no longer crashes when mstsc version 8 connects
2013-03-07 14:21:50 -05:00
C-o-r-E
d50cddc1bd
mfreerdp-server: begin reworking rdpsnd server channel
2013-03-07 13:34:12 -05:00
C-o-r-E
8ab7ce23b5
mfreerdp-server: check for invalid rdpsnd format
2013-03-05 17:31:31 -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
b6e46e4511
Merge branch 'master' of github.com:awakecoding/FreeRDP
2013-02-24 22:33:27 -05:00
Marc-André Moreau
c22e5181c1
channels/rdpsnd: added more ALSA debug output
2013-02-24 22:32: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
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
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
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
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
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
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
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
5eb8ddd1bf
wfreerdp-server: fix build on Windows
2012-10-16 13:31:16 -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
4924b9f673
Merge branch 'channels' of github.com:FreeRDP/FreeRDP into channels
2012-10-14 02:39:18 -04:00
Marc-André Moreau
0feebdbc37
cmake: refactoring of channel scripts
2012-10-14 02:38: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
5b1a7104a0
channels: refactor static server channels
2012-10-13 10:17:52 -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
84f88883e9
sfreerdp-server: get rdpsnd channel to initialize
2012-10-08 16:29:40 -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
6cb933aa5a
channels: added build options to enabled/disable client and server channels
2012-09-22 20:16:38 -04:00
Marc-André Moreau
e4e85be15d
channels: add automatic inclusion and bundling of built-in server channels
2012-09-22 19:25:21 -04:00
Marc-André Moreau
3d65cb1c27
channels: moved client-side implementations in client subdirectories
2012-09-22 17:46:23 -04:00
Marc-André Moreau
cb8c0ef3c8
channels: refactoring of cmake build scripts
2012-09-20 23:39:27 -04:00
Marc-André Moreau
d5d1eb7762
libfreerdp: add proper config.h inclusions
2012-08-14 17:09:01 -04:00
Marc-André Moreau
dd91fdac03
channels: add support for monolithic build
2012-08-14 00:48:55 -04:00
Marc-André Moreau
ec1a17f554
client/Mac: merge latest updates from Jay
2012-08-12 16:04:11 -04:00
Jay Sorg
21a8b64bc7
channel/rdpsnd: from LK2000, remove debug messages in mac audio
2012-08-02 10:12:31 -07:00
Marc-André Moreau
baeafc5dfc
channels: merging with master
2012-08-01 12:50:27 -04:00
Marc-André Moreau
4b720a6c0d
client: merging Mac OS X and Windows client improvements from Jay Sorg
2012-07-31 16:27:42 -04:00
Bernhard Miklautz
6359c93609
rdpsnd: show message when plugin was successfully loaded
...
Helps to inform the user which plugin is actually be used. Fixes #523
2012-07-31 12:57:58 +02:00
Marc-André Moreau
52c697a7e2
channels: start fixing compilation on Windows
2012-07-28 22:24:14 -04:00
Vic Lee
cc9e584301
rdpsnd/pulse: fix set volume synchronization.
2012-05-30 20:35:17 +08:00
Vic Lee
2633484e8d
rdpsnd/pulse: support volume change.
2012-05-30 00:22:58 +08:00
Vic Lee
229d4e0d3c
rdpsnd/alsa: support volume change.
2012-05-29 23:36:47 +08:00
Vic Lee
e50983fdff
dsp: add MS ADPCM codec.
2012-05-24 23:09:30 +08:00
Vic Lee
052f841d7f
server: add rdpsnd server channel library.
2012-05-24 14:03:21 +08:00
Julien Ropé
ffbbc13496
Removing reference to 'decoded_data' as this variable was removed by another commit
2012-05-16 11:34:28 +02:00
Julien Ropé
bbb48783e3
Some modifications on the LIST usage.
...
Made sure the list_*() API was used whenever possible, rather than relying on the internal implementation.
Added comments to the list.c file for documentation.
2012-05-16 11:34:18 +02:00
Julien Ropé
98d5b98465
Memory leak fixes.
...
Passed the code through a static analyzer and fixed all reported (and verified) potential memory leaks.
2012-05-16 11:33:57 +02:00
Vic Lee
ac5c7cded3
rdpsnd/alsa: reduce default audio latency.
2012-05-09 23:14:53 +08:00
Marc-André Moreau
e8144e4bdc
Merge pull request #585 from llyzs/dsp
...
dsp: rewrite api to reduce memory allocations.
2012-05-09 07:36:18 -07:00
Vic Lee
473ba080e7
rdpsnd/pulse: fix a segfault in case device name is not provided.
2012-05-09 19:18:47 +08:00
Vic Lee
c9ad01ea55
dsp: rewrite api to reduce memory allocations.
2012-05-09 16:15:23 +08:00
Laxmikant Rashinkar
1cbf3dab21
Initial push for the native Mac FreeRDP client
2012-05-02 20:15:27 -07:00
Scott Tsai
36a37cc752
Use PULSEAUDIO_INCLUDE_DIR instead of PULSE_INCLUDE_DIRS
2012-04-27 01:14:21 +08:00
Anthony Tong
69017a5f3c
rdpsnd: follow rdpdr and free the stream from svc_plugin
2012-02-27 12:12:17 -05:00
Slava Dubrovskiy
c10866db66
Fix not linked with libpulse (issue 418)
...
Signed-off-by: Slava Dubrovskiy <dubrsl@altlinux.org>
2012-02-14 13:46:26 -05:00
Bernhard Miklautz
668c8c8cef
build: use WITH_XXX instead of XXX_FOUND
...
To check if something should be en- or disabled WITH_XXX
should be used and not XXX_FOUND.
If XXX_FOUND is used and something gets disabled afterwards (by setting
WITH_XXX to OFF) it will be compiled in as long as XXX_FOUND is found in
cmake's cache file. So disabling a feature, or option, without
clearing the CMakeCache.txt might result in builds with unwanted
configuration.
2012-01-23 14:40:05 +01:00
Bernhard Miklautz
cc24a7ad6a
Changed cmake find prefix for pulseaudio.
...
Now option (WITH_PULSEAUDIO) and package prefix (PULSEAUDIO_FOUND) match.
2012-01-23 14:40:05 +01:00
Marc-André Moreau
a63a196f53
types: refactoring to make use of standard data types when available
2011-11-19 12:19:16 -05:00
Vic Lee
7891ce2c75
rdpsnd/pulse: add latency control.
2011-09-25 14:00:09 +08:00
Vic Lee
c82dfa2a0b
rdpsnd/alsa: better buffer size against requested latency.
2011-09-25 13:41:38 +08:00
Vic Lee
e5060dcaee
rdpsnd: add manual latency control for ALSA.
2011-09-25 11:41:37 +08:00
Rex Tsai
96b7418e56
rdpsnd/pulse: Fix default device name.
2011-09-01 22:36:26 +08:00
Rex Tsai
ecbe24ca9a
cmake: make linking type as option.
2011-09-01 22:18:58 +08:00
Vic Lee
bd5fb5c62a
rdpsnd/pulse: add a pointer check.
2011-08-30 10:59:30 +08:00
Marc-André Moreau
09980c8a7c
include: refactor FRDP_ types to RDP_
2011-08-17 17:28:26 -04:00