[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] [Mail 1/3][PATCH] mediastreamer2: audio quality, t

From: bagamarco .
Subject: [Linphone-developers] [Mail 1/3][PATCH] mediastreamer2: audio quality, tool/mediastreamer feature and minor changes
Date: Fri, 9 Feb 2018 13:29:00 +0100

Hey folks,

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:*

    alsa_read_process function in non threaded version read 16ms samples instead of 20ms like other functions.

    Use ENABLE_ALSA_THREADED cmake option to enable alsa threaded version.
    Also fix compile errors in this configuration.

    Use ENABLE_ALSA_EPIPE_BUGFIX cmake option to enable EPIPE_BUGFIX in alsa filter.
    Also fix compile errors in this configuration.

    Actually, 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.
    When an MSAudioMixer input pin is disabled do not consider channel activity and discard samples.

    Added debug information when MSAudioMixer enters into bypass mode.
    Fixed typos

    MSFilePlayer 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.

    I had some problem with OPUS codec. It introduce noise when use PLC.
    Using concealement only when we are late... 
    Minor. Fix warning
    In src/audiostream.c there is a memleak when recorder is stopped.
    With this patch record_file is freed, but the sequece
    is mandatory.

Attachment: 0001-audiofilters-alsa-aligned-read_process-samples-to-20.patch
Description: Text Data

Attachment: 0002-audiofilters-alsa-fixed-errors-when-compiled-with-TH.patch
Description: Text Data

Attachment: 0003-audiofilters-alsa-fixed-reference-errors-when-compil.patch
Description: Text Data

Attachment: 0004-audiofilters-alsa-added-debug-message-when-alsa_writ.patch
Description: Text Data

Attachment: 0005-audiofilters-audiomixer-do-not-check-channel-activit.patch
Description: Text Data

Attachment: 0006-audiofilters-audiomixer-increase-logging-information.patch
Description: Text Data

Attachment: 0007-audiofilters-audiomixer-fixed-typos.patch
Description: Text Data

Attachment: 0008-msqueue-added-mutex-lock-in-MSBufferizer-in-order-to.patch
Description: Text Data

Attachment: 0009-mscommon-concealement-is-not-required-when-current-t.patch
Description: Text Data

Attachment: 0010-voip-audiostream-removed-compile-warning.patch
Description: Text Data

Attachment: 0011-voip-audiostream-fixed-memleak-on-multiple-audio_str.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]