|Subject:||Re: [Linphone-developers] [Mail 1/3][PATCH] mediastreamer2: audio quality, tool/mediastreamer feature and minor changes|
|Date:||Mon, 12 Feb 2018 15:25:49 +0100|
reference-errors-when-compil. patch is there is mistake ? :
+# define EPIPE_BUGFIX 1
+#endif /* __ALSA_THREADED_VERSION__ */
Sould it be like that :
+# define EPIPE_BUGFIX 1
+#endif /* __ALSA_EPIPE_BUGFIX__*/
Thanks for helping. I still don't manage to make linphone work without echoes or disto but it's going in a good way. :)
I'll keep you informed. Thomas.
Le 09/02/2018 à 13:29, bagamarco . a écrit :
working with my iMX6 SoloX and mediastreamer tool I run into some audio problems.Attached you can find some patches that fix few bugs, simplify alsa filter configuration (threaded version and epipe bug fixing) and other minor changes like typos or compile warning.
In next mails I will provide some general modification and new features to mediastreamer tool.
*Patch list and description:*
aligned-read_process-samples- to-20.patchalsa_read_process function in non threaded version read 16ms samples instead of 20ms like other functions.
errors-when-compiled-with-TH. patchUse ENABLE_ALSA_THREADED cmake option to enable alsa threaded version.Also fix compile errors in this configuration.
reference-errors-when-compil. patchUse ENABLE_ALSA_EPIPE_BUGFIX cmake option to enable EPIPE_BUGFIX in alsa filter.Also fix compile errors in this configuration.
debug-message-when-alsa_writ. patchActually, when snd_pcm_writei returns EAGAIN, these samples are discarded generating audio noise.Increase output buffer size in /etc/asound.conf avoid EAGAIN error.In order to simply debug, this patch add ms_debug message every time EAGAIN is returned.0005-audiofilters-audiomixer- do-not-check-channel-activit. patchWhen an MSAudioMixer input pin is disabled do not consider channel activity and discard samples.
increase-logging-information. patchAdded debug information when MSAudioMixer enters into bypass mode.0007-audiofilters-audiomixer- fixed-typos.patchFixed typos
in-MSBufferizer-in-order-to. patchMSFilePlayer generate strange duplicated audio.After some debug, I notice that ms_bufferizer provides duplicated samples.This patch added mutex in order protect critical section in msqueue proceducer/consumer.
not-required-when-current-t. patchI had some problem with OPUS codec. It introduce noise when use PLC.Using concealement only when we are late...0010-voip-audiostream-removed- compile-warning.patchMinor. Fix warning0011-voip-audiostream-fixed- memleak-on-multiple-audio_str. patchIn src/audiostream.c there is a memleak when recorder is stopped.With this patch record_file is freed, but the sequeceaudio_stream_mixed_record_ open,audio_stream_mixed_record_ start,audio_stream_mixed_record_stopis mandatory.
_________________ Linphone-developers mailing list address@hidden https://lists.nongnu.org/ mailman/listinfo/linphone- developers
Description: Text Data
|[Prev in Thread]||Current Thread||[Next in Thread]|