[pulseaudio-discuss] [PATCH 1/4] Added libsoxr resampler backend.

2015-01-14 Thread Andrey Semashev
The new backend supports 3 quality levels: mq, hq and vhq; 16-bit integer and 32-bit float samples. Discussion and quality assessment are here: http://comments.gmane.org/gmane.comp.audio.pulseaudio.general/22158 --- src/pulsecore/resampler/soxr.c | 167 +

[pulseaudio-discuss] [PATCH 1/4] Added libsoxr resampler backend.

2015-01-08 Thread Andrey Semashev
The new backend supports 3 quality levels: mq, hq and vhq; 16-bit integer and 32-bit float samples. Discussion and quality assessment are here: http://comments.gmane.org/gmane.comp.audio.pulseaudio.general/22158 --- src/pulsecore/resampler/soxr.c | 171 +

[pulseaudio-discuss] [PATCH 1/4] Added libsoxr resampler backend.

2015-01-07 Thread Andrey Semashev
The new backend supports 3 quality levels: mq, hq and vhq; 16-bit integer and 32-bit float samples. Discussion and quality assessment are here: http://comments.gmane.org/gmane.comp.audio.pulseaudio.general/22158 --- src/pulsecore/resampler/soxr.c | 171 +

[pulseaudio-discuss] [PATCH 1/4] Added libsoxr resampler backend.

2014-11-14 Thread Andrey Semashev
The new backend supports 3 quality levels: mq, hq and vhq; 16 integer and 32-bit float samples. Discussion and quality assessment are here: http://comments.gmane.org/gmane.comp.audio.pulseaudio.general/22158 --- src/pulsecore/resampler/soxr.c | 170 + 1

Re: [pulseaudio-discuss] [PATCH 1/4] Added libsoxr resampler backend.

2014-11-12 Thread Peter Meerwald
Hello Andrey, The new backend supports 4 quality levels: lq, mq, hq and vhq; 16 and 32-bit integer samples and 32-bit float samples. The libsoxr resampler generally offers better quality and speed compared to speex. soxr support was proposed previously,

Re: [pulseaudio-discuss] [PATCH 1/4] Added libsoxr resampler backend.

2014-11-12 Thread Peter Meerwald
comments below --- src/pulsecore/resampler/soxr.c | 168 + 1 file changed, 168 insertions(+) create mode 100644 src/pulsecore/resampler/soxr.c diff --git a/src/pulsecore/resampler/soxr.c b/src/pulsecore/resampler/soxr.c new file mode 100644

Re: [pulseaudio-discuss] [PATCH 1/4] Added libsoxr resampler backend.

2014-11-12 Thread Andrey Semashev
On Wed, Nov 12, 2014 at 1:15 PM, Peter Meerwald pme...@pmeerw.net wrote: +switch (r-work_format) { +case PA_SAMPLE_S16NE: +io_format = SOXR_INT16_I; +break; +case PA_SAMPLE_S32NE: +io_format = SOXR_INT32_I; +break;

Re: [pulseaudio-discuss] [PATCH 1/4] Added libsoxr resampler backend.

2014-11-12 Thread Alexander E. Patrakov
12.11.2014 16:57, Andrey Semashev wrote: It's a common approach for injecting a message into the assertion failure. The C runtime typically displays the condition that fails, and in this case it will include the message. It helps debugging. We have pa_assert_not_reached just for that. It

Re: [pulseaudio-discuss] [PATCH 1/4] Added libsoxr resampler backend.

2014-11-12 Thread Andrey Semashev
On Wed, Nov 12, 2014 at 3:00 PM, Alexander E. Patrakov patra...@gmail.com wrote: 12.11.2014 16:57, Andrey Semashev wrote: It's a common approach for injecting a message into the assertion failure. The C runtime typically displays the condition that fails, and in this case it will include the

[pulseaudio-discuss] [PATCH 1/4] Added libsoxr resampler backend.

2014-11-11 Thread Andrey Semashev
The new backend supports 4 quality levels: lq, mq, hq and vhq; 16 and 32-bit integer samples and 32-bit float samples. The libsoxr resampler generally offers better quality and speed compared to speex. --- src/pulsecore/resampler/soxr.c | 168 + 1 file