Ondrej Holy
926ac4f938
channels/audin: Fix leak found by covscan
...
leaked_storage: Variable out going out of scope leaks the storage it points to.
2018-08-22 13:35:43 +02:00
Armin Novak
44d1438eac
Fixed mac audin
2018-08-01 12:56:17 +02:00
Armin Novak
7355b4e5f3
Fixed leak in audio format processing.
2018-07-31 10:33:19 +02:00
Armin Novak
033abe93d4
Fixed callback parameter checks.
2018-07-30 11:22:11 +02:00
Armin Novak
3b187ef321
Code Cleanup
2018-07-19 16:21:03 +02:00
Armin Novak
d40daedb9c
Fixed FFMPEG backend: Do not drop samples for package alignment.
2018-07-19 15:17:54 +02:00
Armin Novak
d7e88b1b81
Fixed winmm backend logging.
2018-07-19 11:55:48 +02:00
Armin Novak
a003890b34
Fixed opensles compilation errors.
2018-07-19 11:51:26 +02:00
Armin Novak
ec83f3d4f1
Fixed number of samples returned.
2018-07-18 12:33:52 +02:00
Armin Novak
7c8a556377
Fixed alignment issues.
2018-07-18 12:14:37 +02:00
Armin Novak
8664a3c91e
Fixed alsa and pulse backend receive buffer sizes
2018-07-17 16:18:21 +02:00
Armin Novak
b9645c9247
Using dynamic logger again.
2018-07-17 11:20:45 +02:00
Armin Novak
4465bcfa86
Fixed remarks
2018-07-04 11:03:32 +02:00
Armin Novak
bf70ee6267
Keep extra data of audio format locally cached.
2018-07-03 09:54:29 +02:00
Pascal J. Bourguignon
15f2bafeab
Cleaned up const char** -> char** for argv, since we definitely do modify the argv!
...
(we overwrite the password and pin arguments).
This implies changes in the argument parsing tests that now must pass a mutable argv
(copied from the statically declared test argvs).
Some other const inconsistency have been dealt with too.
2018-06-06 16:43:09 +02:00
Armin Novak
8758638c2a
Ensure audin channel uses supported protocol version 1.
2018-04-16 10:23:45 +02:00
Armin Novak
3f712cab70
Fixed formatting of changed files.
2018-04-05 13:14:16 +02:00
Armin Novak
2e801a8425
Free dsp context on close.
2018-04-05 13:14:16 +02:00
Armin Novak
1c127fab7d
Added AudioFormatFlags fallback.
2018-04-05 13:14:16 +02:00
Armin Novak
65a82e9cdc
Fix #4462 : Fallback typedef for AudioFormatID on MacOS < 10.10
2018-04-05 13:14:16 +02:00
Armin Novak
f89c1857b9
Rewrite of sound and microphone channels
...
The sound and microphone redirection channels (and in part TSMF)
did not properly decouple encoding/decoding from the backends used
to play/record sound.
Encapsulating encoding/decoding in rewritten freerdp_dsp_* functions
with variable backends, simplifying alsa/oss/pulse/... audio backends.
2018-04-05 13:14:16 +02:00
Armin Novak
0c49152a3d
Fixed #4412 : memory corruption in audin channel.
2018-03-26 16:29:50 +02:00
Armin Novak
c53d72211a
Audin channel use dynamic logger where possible.
2018-03-26 14:40:23 +02:00
Armin Novak
2517755d25
Fixed thread function return and parameters.
2018-03-07 14:36:55 +01:00
Armin Novak
4eb5b8e349
Replaced atoi
2017-11-15 15:52:16 +01:00
Armin Novak
8b9e3fa51e
Fixed use of reserved keywords for include guards.
2017-07-20 09:35:41 +02:00
Armin Novak
0490aeb018
Fixed clang malloc integer overflow warnings.
2017-07-20 09:29:48 +02:00
Armin Novak
b2c29158be
Scanbuild warning, argument checks and leak fixes.
...
* Added Stream_GetRemainingCapacity to check remaining stream size
before writes.
* Fixed shadow server memory leak.
* Fixed lots of scanbuild warnings
* Added missing argument checks in many functions
* Added missing static function declarations
2017-03-02 18:13:43 +01:00
Armin Novak
57901b8add
Added detach support for microphone
2016-12-19 17:13:25 +01:00
Armin Novak
9f19da798c
Added attach/detach support for channels.
2016-12-19 17:07:01 +01:00
Norbert Federa
f71b6b46e8
fix string format specifiers
...
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
2016-12-16 13:48:43 +01:00
Norbert Federa
c6e6b44143
countless WLog/printf format specifier fixes
2016-11-25 17:06:25 +01:00
Martin Fleisz
0febd9c7cd
Merge pull request #3563 from akallabeth/android_update
...
Android fix warnings, visibility and formatting
2016-11-24 12:59:30 +01:00
Marc-André Moreau
dee76617d9
channels: remove thread-local storage usage
2016-11-15 11:41:01 -05:00
Armin Novak
6ca5a1324f
Android: fixed warnings, reformatted.
2016-10-17 10:21:23 +02:00
Armin Novak
943e295714
WLog using C99 compatible variadic macros.
2016-10-07 14:05:27 +02:00
Armin Novak
376dc216e6
Fixed uninitialized value.
2016-10-06 13:43:15 +02:00
Armin Novak
9f5da483dc
Reformatted files touched in last 2 commits.
2016-10-06 13:43:12 +02:00
Armin Novak
88a3b8dd76
Initializing channel context in each thread.
2016-10-06 13:43:12 +02:00
Norbert Federa
90cdfa7646
cmake: replaced STATIC_CHANNELS with BUILTIN_CHANNELS
2016-06-15 13:36:27 +02:00
Norbert Federa
0ed98c4ee4
channels/audin/client/winmm: requires winpr
2016-06-15 13:30:38 +02:00
Armin Novak
704d69d540
Fixed NULL pointer access.
2016-05-12 09:28:12 +02:00
Marc-André Moreau
915b9a15b1
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
winpr/libwinpr/bcrypt/CMakeLists.txt
2016-05-11 11:05:17 -04:00
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
Marc-André Moreau
9211f44e46
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2016-03-15 20:19:15 -04:00
Armin Novak
36cbf1b583
Fixed error handling for channel load failures.
2016-03-14 13:13:43 +01:00
zihao.jiang
40ea6e9228
audin: Fixed default sys argument for audin
...
PR #3173 fixed argument parsing. However it breaks the usage without specifying subsystem: "/microphone"
In particular, aFreerdp microphone redirect is broken as it exactly uses "/microphone"
This PR fixes the regression.
Fix: We should not call CommandLineParseArgumentsA if argc is only 1 (same case as rdpsnd_main.c)
2016-03-11 01:52:18 +08:00
Marc-André Moreau
ceefc4b099
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2016-03-07 10:19:50 -05:00
Bernhard Miklautz
120bd2d8bd
Merge pull request #3173 from akallabeth/audin_arg_fix
...
Fixed argument parsing for audin.
2016-03-03 20:39:31 +01:00