694 Commits

Author SHA1 Message Date
Andrey Volk
49e63f6fff [mod_portaudio, mod_portaudio_stream] Remove from tree 2025-01-07 19:18:03 +03:00
Andrey Volk
0e412ac0ee [mod_rayo, mod_ssml, iksemel] Remove from tree 2024-12-31 13:43:48 +03:00
Andrey Volk
10d31ee12a [Unit-tests] Move test_tts_format out of mod_ssml. Add mod_test and test_tts_format to the Windows build. 2024-12-31 01:45:47 +03:00
Andrey Volk
4b4dee8fd2 [mod_dptools] Move tts format from mod_ssml. 2024-12-31 01:03:46 +03:00
Anthony Minessale II
2a2554db99 [mod_ssml] Push done when its flag multi 2024-12-31 00:41:34 +03:00
Hadžem Hadžić
d5ad504723
[mod_vlc] Resolve double mutex lock 2024-04-18 12:06:40 +03:00
Andrey Volk
47e18be18d [mod_shout] Replace deprecated meta functions with shout_set_meta() 2023-07-25 02:49:51 +03:00
Andrey Volk
5966077030 [Core, mod_cidlookup, mod_curl, mod_httapi, mod_http_cache, mod_kazoo, mod_shout] Add new switch_curl_mime APIs replacing switch_curl_process_form_post_params() and make code be compatible with libcurl>=7.87.0 2023-07-24 23:40:27 +03:00
Henrique
a4af2ea7de
[mod_png] Fix unexpected png video blocked read 2023-05-24 02:14:22 +03:00
Dragos Oancea
98c0482844 [mod_opusfile] coverity CID 1468424 (Missing break in switch) 2023-04-17 14:47:39 +03:00
Jakub Karolczyk
0e9954467f [mod_imagick] Coverity CID 1500258 (Resource leak) 2023-04-06 18:23:33 +01:00
Jakub Karolczyk
49c1c35982
[core] Coverity fixes
* [core] Coverity CID 1468218 (Resource leak)

* [core] Coverity CID 1468214 (Resource leak)

* [core] Coverity CID 1294472 (Resource leak)

* [core] Coverity CID 1294470 (Resource leak)

* [core] Coverity CID 1500361 (Resource leak)

* [core] Coverity CID 1500308 (Resource leak)

* [core] Coverity CID 1500278 (Resource leak)

---------

Co-authored-by: Andrey Volk <andywolk@gmail.com>
2023-04-01 00:07:59 +03:00
Andrey Volk
8e5dc5a087 [mod_opusfile] Fix missing rdlock unlock in switch_opusfile_open() 2023-03-29 19:05:18 +03:00
Clock
c71ed98add
[mod_shout] Replace space with tab in Makefile.am 2022-10-04 20:19:10 +03:00
Andrey Volk
91799e0fc7 [mod_ssml] Add deps rule to the Makefile.am 2022-08-30 00:17:52 +03:00
Andrey Volk
c47c16b1dd Fix dead nested assignments in various modules 2022-08-09 23:20:52 +03:00
Dragos Oancea
24355b63ab [mod_local_stream] fix path with ".loc" file extension. 2022-03-15 18:47:06 +02:00
Andrey Volk
99d9c3bd65
Merge pull request #1259 from bmlkc/mod-opusfile-drain-before-closing-write
[mod_opusfile] add opc_encoder_drain before destroying handle
2021-12-01 12:38:21 +03:00
Sebastian Kemper
3128afeae7 [mod_opusfile] fix type errors
Since the last round of changes it fails to compile:

mod_opusfile.c: In function 'decode_stream_cb':
mod_opusfile.c:933:143: error: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'switch_thread_id_t' {aka 'struct __pthread *'} [-Werror=format=]
  933 |                 switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[OGG/OPUS Stream Decode] decode_stream_cb(): switch_thread_self(): %lx\n",  switch_thread_self());
      |                                                                                                                                             ~~^      ~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                               |      |
      |                                                                                                                                               |      switch_thread_id_t {aka struct __pthread *}
      |                                                                                                                                               long unsigned int

Address this by applying the same casts that are also used in
src/mod/formats/mod_sndfile/test/test_sndfile.c already.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-01 09:51:26 +01:00
Chris Rienzo
326edd6b6c [mod_ssml] replace strncpy() with snprintf() to fix errors reported by newer compilers. 2021-10-23 22:00:47 +03:00
Chris Rienzo
97d5854655 [mod_ssml] Add channel-uuid parameter to the tts:// file format and forward it to the core speech handle as a parameter. 2021-10-23 22:00:41 +03:00
Anthony Minessale
128d4776f8 [core] some more hardening work 2021-10-23 22:00:32 +03:00
Anthony Minessale
182a9cd1d5 [mod_imagick] improve log line 2021-10-23 22:00:12 +03:00
Anthony Minessale
4ad2e71f95 [mod_imagick] [mod_png] small tweaks for pdf 2021-10-23 22:00:08 +03:00
Dragos Oancea
0cf323c339 [mod_opusfile] unit-tests: add timer to fix random failures due to the fact that the decoding callback is not installed immediatelly 2021-10-15 16:52:06 +03:00
Dragos Oancea
97a0b0fbae [mod_opusfile] protect ogg data buff 2021-10-15 16:52:06 +03:00
Dragos Oancea
37ab323c13 [mod_opusfile] add ogg/opus streams, fix Makefile for encoding.
[mod_opusfile] add stats, opusctl

[mod_opusfile] add unit-test using teletone
2021-10-15 16:52:06 +03:00
Dragos Oancea
a83b7db5a7 [unit-tests] fix sps-related race in the sndfile test. 2021-08-09 18:52:49 +03:00
Dragos Oancea
970e32e574 [unit-tests] [mod_sndfile] increase SPS limit 2021-08-09 18:51:36 +03:00
Mike Jerris
0f1dbc2540 [mod_sndfile] fix test build on osx 2021-08-09 18:49:59 +03:00
Dragos Oancea
cbcf6f2e2d [unit-tests] [mod_sndfile] fix build for Debian Jessie 2021-08-09 18:47:55 +03:00
Dragos Oancea
8abd936ded [unit-tests] [mod_sndfile] parallelize unit-tests, each audio extension test in its own session. 2021-08-09 17:07:35 +03:00
bmlkc
d03100661e [mod_opusfile] not draining before destroying encoder causes loss on encoded file 2021-07-09 20:44:43 +02:00
Andrey Volk
29b5043904 [mod_shout] Fix memory leak in do_telecast 2021-03-17 18:49:14 +03:00
Seven Du
561a31d723 [mod_sndfile] fix read sndfiles with float data 2021-03-16 20:22:34 +03:00
jelmd
466a455286
[mod_opusfile] Fix compiling write file support 2020-08-05 03:29:04 +04:00
Andrey Volk
0275ea1eb4 [Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions. 2020-05-25 14:18:25 +04:00
Andrey Volk
b31c47eab7 [mod_shout] Reduce log level from error to warning for "Error opening %s (invalid rate or channel count)" 2020-05-07 03:10:37 +04:00
Andrey Volk
06dfe2e3a4 [mod_sndfile] Reduce error level to warning for "Error Opening File" 2020-05-07 02:48:21 +04:00
Piotr Gregor
7c795ea555 [mod_vlc] Fix segfault. 2020-05-07 02:33:51 +04:00
Dragos Oancea
3c51052d49 [mod_vlc] scan-build: Access to field 'context' results in a dereference of a null pointer (loaded from variable 'tech_pvt');
Access to field 'pool' results in a dereference of a null pointer (loaded from variable 'acontext')
2020-02-28 14:02:34 +00:00
Dragos Oancea
23ce45fad8 [mod_vlc] scan-build: Value stored to 'vcontext' is never read - av_init_handle() 2020-02-27 20:47:38 +00:00
Dragos Oancea
e04c8ee92e [mod_vlc] scan-build: multiple dereferences of a null pointer 2020-02-27 11:50:30 +00:00
Andrey Volk
1b07e629c5
Merge pull request #430 from dragos-oancea/mod_vlc-vcontext-val-never-read
[mod_vlc] scan-build: Value stored to 'vcontext' is never read - vlc_file_av_open()
2020-02-26 23:49:32 +04:00
Andrey Volk
01985cf5cf
Merge pull request #423 from signalwire/mod_imagick
[mod_imagick] Remove unused variable.
2020-02-26 23:40:50 +04:00
Andrey Volk
e3e4326b63
Merge pull request #422 from signalwire/mod_png
[mod_png] Remove unused variable.
2020-02-26 23:39:28 +04:00
Dragos Oancea
fa49e46bb7 [mod_vlc] scan-build: Value stored to 'vcontext' is never read - vlc_file_av_open() 2020-02-25 21:34:16 +00:00
Andrey Volk
e8c4de5b48 [mod_imagick] Remove unused variable. 2020-02-26 00:45:19 +04:00
Andrey Volk
adef812266 [mod_png] Remove unused variable. 2020-02-26 00:37:39 +04:00
Andrey Volk
d767976167 [mod_portaudio_stream] scan-build: Fix dead assignment. 2020-02-26 00:28:05 +04:00