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
Dragos Oancea
2876442317
[mod_opusfile] use SWITCH_SIZE_T_FMT when printing debug logs.
2020-02-07 12:39:17 +00:00
Dragos Oancea
f97892bfd9
[mod_native_file] set SWITCH_FILE_NOMUX to prevent overflow in core (we should not channel mux native files)
2020-01-29 19:06:48 +00:00
Dragos Oancea
0ec6ec10ae
[mod_opusfile] fix play sample rate (don't use original rate, always use 48k), fix EOF, add unit-test.
2020-01-25 20:42:07 +04:00
Dragos Oancea
08317fc5c3
[mod_sndfile] fix playing "raw" and other formats ("r8", "r16", "r24", "r32"), add unit-test
...
[mod_sndfile] add stereo to mono support for file formats that need it (eg: gsm, vox), add unit test for stereo
[mod_sndfile] mono to stereo and stereo to mono unit tests.
[unit-tests] mod_sndfile: don't wait for recording file to be flushed to disk by the core, use switch_ivr_stop_record_session()
[mod_sndfile] fix format "wve" (Psion Series 3)
[mod_sndfile] fix format "htk" (Hidden Markov Model Tool Kit)
[mod_sndfile] fix file format "iff" (AIFF)
[mod_sndfile] fix file format "xi" (FastTracker 2)
[mod_sndfile] fix file format "sds" (Midi Sample Dump Standard)
[uni-tests] add more audio file extensions to sndfile unit tests.
[mod_sndfile] add config file support (with one param currently: "allowed-extensions")
[mod_sndfile] add sample file sndfile.conf.xml to 'testing' and 'vanilla' cfg trees.
[mod_sndfile] free() cfg xml
[unit-tests] mod_sndfile: unload module test.
[unit-tests] mod_sndfile: add conf file unit-test (param that allows only certain file extensions)
[unit-tests] adjusts Makefile.am for new CI (tests)
[unit-tests] adjust path to sound file.
[unit-tests] [mod_sndfile] remove Makefile.am from test/
[unit-tests] [mod_sndfile] fix build (Andrey)
2020-01-21 22:12:08 +00:00
Andrey Volk
751d5ff55b
[Unit-tests] Place module tests into their module's Makefile.am, fix tests, add missing Makefile.am to mod_png, implement recursive make check.
2020-01-18 09:58:42 +00:00
Andrey Volk
ebeada67d1
Revert "[mod_opusfile] fix play sample rate (don't use original rate, always use 48k), fix eof."
...
This reverts commit 937c4a03eb032b4b3d1a8a8ad08c777de7a08314.
2020-01-06 22:47:49 +04:00
Dragos Oancea
937c4a03eb
[mod_opusfile] fix play sample rate (don't use original rate, always use 48k), fix eof.
2020-01-03 19:00:26 +00:00
Andrey Volk
e4f95f7069
[mod_local_stream] Xml object is leaked on reload when cannot stop local_stream beeing in use.
2019-12-31 00:46:36 +04:00
Dragos Oancea
60746cc07c
[mod_tts_commandline, mod_sndfile] fix crash on file not found
2019-11-11 23:02:21 +04:00
Dragos Oancea
45219aef6f
[mod_sndfile] don't force channels and sample rate with .raw extension
2019-10-29 21:47:22 +04:00
Chris Rienzo
bc6fe22a0b
FS-11785 [mod_tone_stream] fix dead assignment
2019-07-17 21:50:56 +04:00
Chris Rienzo
f612fab976
FS-11785 [mod_local_stream] fix dead assignment
2019-07-17 21:50:50 +04:00
Chris Rienzo
7d0523f084
FS-11785 [mod_format_cdr, mod_local_stream] fix dead assignment
2019-07-17 21:50:43 +04:00
Andrey Volk
cad56b3b4b
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_tone_stream
2019-07-15 23:40:58 +04:00
Andrey Volk
d432f73b75
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_ssml
2019-07-15 23:40:55 +04:00
Andrey Volk
daafd039ed
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_shout
2019-07-15 23:40:52 +04:00