Armin Novak
e6fca2c021
[winpr,stream] Fix Stream_SetPosition return checks
2026-03-02 11:37:20 +01:00
Armin Novak
5a532269ef
[winpr,stream] Check Stream_SetLength return
2026-03-02 11:08:08 +01:00
Armin Novak
92ab55c5e1
[winpr,stream] Add Stream_ResetPosition
...
A helper function that does not require return checks, in contrast to
Stream_SetPosition, which might fail.
2026-03-01 06:11:59 +01:00
Armin Novak
2c0c55dc46
[c23,channels] replace NULL with nullptr
2026-02-26 13:43:54 +01:00
Armin Novak
48267edf2f
[winpr] add WINPR_C_ARRAY_INIT
...
since C23 allows c++ style initializing replace direct use with this
macro
2026-02-25 19:23:08 +01:00
Armin Novak
f14096d468
[channels] mark functions [[nodiscard]]
2026-02-24 11:31:57 +01:00
Armin Novak
0fefdd1274
[channels,audin|rdpsnd] fix enum cast warnings
2026-02-10 15:53:06 +01:00
Armin Novak
4104567d7c
[channels,audin] use freerdp_getApplicationDetailsString
...
Use proper vendor/product name for pulse sinc.
2026-02-09 19:55:52 +01:00
akallabeth
026b81ae58
[channels,audin] reset audin->format
...
Whenever the underlying structure changes reset the pointer to NULL
2026-01-26 11:09:58 +01:00
akallabeth
1c5c742231
[channels,audin] fix audin_server_recv_formats cleanup
2026-01-26 11:09:56 +01:00
akallabeth
f039d35032
[channels] replace casts by proper return addresses
...
Use the base structs return address instead of a derived one so the data
types match.
2026-01-26 11:09:54 +01:00
akallabeth
cd1ffa112c
[channels,audin] free up old audio formats
2026-01-10 09:02:05 +01:00
akallabeth
9feaf16a86
[channels,audin] add value range checks
...
When reading a enum value from network, first check the value range and
log a message if an invalid value is found
2026-01-09 09:37:55 +01:00
Armin Novak
8460c868aa
[clang,warnings] fix Wjump-misses-init
2026-01-08 11:32:32 +01:00
Armin Novak
05b222ba19
[channels,audin] fix pulse memory leak
2025-11-19 11:12:01 +01:00
Armin Novak
39ab79486a
[channels,audin] fix a leak in pulse backend
2025-10-15 09:09:18 +02:00
akallabeth
25b5b38d32
[CMake,client] add pkg-config dependencies
2025-09-11 07:17:52 +02:00
Quentin Thébault
aaa9c69717
audin_oss: do not reset mic volume on capture start
2025-08-28 23:44:43 +09:00
akallabeth
65f18983ed
[warnings] Fix format string errors
...
* Fix casts of format string arguments (%p requires void*)
* Fix format string to match type of arguments
2025-08-13 15:09:48 +02:00
akallabeth
da05b25f3b
[WaitForXXObject] use infinite timeout where possible
2025-06-03 17:07:31 +02:00
Mark Nauwelaerts
3a4ead2e6c
[rdpsnd/client] add parameters to pulse snd device plugin
...
... to specify pulseaudio client name and stream name
2025-04-24 21:41:06 +02:00
Michael Tokarev
19f129654e
spelling: dont
2025-03-06 13:24:29 +03:00
akallabeth
6d541c8691
[warnings] eliminate dead code
2025-03-04 09:53:05 +01:00
akallabeth
12764b1ebe
[warnings,android] fix build warnings
2025-02-22 15:22:01 +01:00
akallabeth
2b7d7356c1
[channels,warnings] fix -Wunused-parameter
2025-02-13 15:53:56 +01:00
akallabeth
be3ba1c425
[warnings,channels] fix integer casts
2024-12-25 13:29:07 +01:00
akallabeth
ac9cf26bce
[cmake] fix define_channel_options
...
* fix usage of default value
* fix defaults of channels
* unify to single CMake function define_channel_options
2024-12-17 16:29:32 +01:00
akallabeth
83f2f21ad3
[warnigns] fix lots of bugprone warnings
...
* update-settings-tests: properly cast types in getter/setter
* wtypes: fix PHANDLE definition
* wStream: fix INT64 write function warnings
* Simplify HANDLE copy in channels, just assign after proper cast
2024-12-06 09:15:48 +01:00
akallabeth
faae38120c
[cmake,format] reformat all cmake files
2024-11-27 20:41:48 +01:00
stephanebill
4f2afa8c47
spell check with codespell
2024-11-20 16:53:40 -05:00
akallabeth
78acedb40e
[warnigns] fix Wshorten-64-to-32
2024-11-11 10:22:37 +01:00
akallabeth
6ac2a961b6
[channels,audin] fix variable shadowing
2024-10-22 10:11:41 +02:00
akallabeth
8b3f807a0a
[warnings] fix format warnings
2024-10-17 20:47:29 +02:00
akallabeth
cf46f341f6
[channels,audin] fix alsa backend
...
* Fix wrong variable passed to receive
* Improve logging/error handling
2024-10-04 16:11:53 +02:00
akallabeth
f4cac29f3c
[channels,audin] fix string to int conversion
...
use strtoul for unsigned values
2024-10-04 12:05:10 +02:00
akallabeth
cfc37caeb8
[cmake] cleaning_configure_file
...
add a wrapper to automatically add generated files to clean target
2024-10-02 23:28:08 +02:00
akallabeth
11b7633dc0
[channels] use Stream_BufferAs
...
For WTSVirtualChannelRead and WTSVirtualChannelWrite use Stream_BufferAs
to cast to correct type.
2024-10-01 10:28:13 +02:00
akallabeth
4b60f0651c
[channels] Fix PulseAudio assertions/NULL checks
2024-09-23 12:01:13 +02:00
akallabeth
ae3330d63d
[codec,dsp] reorganize experimental codecs
...
* Remove ALAW/µULAW from sound channels
* Make everything except PCM and AAC experimental
2024-09-23 12:01:11 +02:00
akallabeth
586f40631f
[warnings] fix shorten-64-to-32
2024-09-17 16:13:48 +02:00
akallabeth
a19305569d
[assert] fix ULONG_MAX use
...
most of the time this was used to check ULONG limits. Replace with
correct UINT32_MAX
2024-09-16 08:22:40 +02:00
akallabeth
965d231e49
[return checks] fix use of CloseHandle
2024-09-16 08:22:31 +02:00
akallabeth
7d67b8e204
[return checks] fix use of SetEvent
2024-09-16 06:47:58 +02:00
akallabeth
8b6091a007
[winpr,wtsapi] improve API usage
...
* Mark WTSVirtualChannelOpen and WTSVirtualChannelOpenEx with
WINPR_ATTR_MALLOC to enforce compiler checks for resource cleanup
* Fix unused result warnings, use the result or cast to (void) where not
requierd
2024-09-14 21:29:31 +02:00
akallabeth
7ebefc505f
[warnings] fix some msbuild warnings
2024-09-12 13:32:41 +02:00
akallabeth
31ef07ead7
[warnings] fix tautological unsigned zero compare
2024-09-11 20:50:30 +02:00
akallabeth
245afb706c
[function pointers] unify casts with macro
2024-09-04 20:06:45 +02:00
akallabeth
fe6d861a5c
[channels] fix VCAPITYPE for all channel entry points
2024-09-03 17:26:58 +02:00
akallabeth
b77d6e8550
[channels] fix function pointer casts
...
* Cast freerdp_load_channel_addin_entry return with a union (removes the
incompatible function pointer cast warnings)
* Typedef function pointers in tables.h
2024-09-03 15:13:58 +02:00
akallabeth
cc626276d0
[warnings] integer cast and checks
2024-08-29 15:49:33 +02:00