Re: [pulseaudio-discuss] [PATCH v13 05/10] bluetooth: Add A2DP aptX and aptX HD codecs support

2019-12-12 Thread Andrey Semashev
On 2019-10-06 20:58, Pali Rohár wrote: This patch provides support for aptX and aptX HD codecs in bluetooth A2DP profile. It uses open source LGPLv2.1+ licensed libopenaptx library which can be found at https://github.com/pali/libopenaptx. aptX for s24 stereo samples provides fixed 6:1 compressi

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-09 Thread Andrey Semashev
On 2019-12-09 15:57, Hyperion wrote: 09.12.2019, 12:33, "Andrey Semashev" : I have another piece of feedback to provide. Sometimes I experience audio dropouts. Sometimes in both left and right headphones, sometimes just one. In particular, I noticed this happen when I have a

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-09 Thread Andrey Semashev
On 2019-12-09 15:53, Hyperion wrote: 09.12.2019, 12:47, "Andrey Semashev" : On 2019-12-09 14:39, Pali Rohár wrote:  On Monday 09 December 2019 14:32:52 Andrey Semashev wrote:  I have another piece of feedback to provide. Sometimes I experience audio  dropouts. Sometimes in bot

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-09 Thread Andrey Semashev
On 2019-12-09 14:56, Pali Rohár wrote: On Monday 09 December 2019 14:47:26 Andrey Semashev wrote: As a user, I don't know whether I can use SBC XQ. I don't know whether its bitrate will fit in my radio conditions. If my device happens to support SBC XQ, that is the codec that will

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-09 Thread Andrey Semashev
On 2019-12-09 14:39, Pali Rohár wrote: On Monday 09 December 2019 14:32:52 Andrey Semashev wrote: I have another piece of feedback to provide. Sometimes I experience audio dropouts. Sometimes in both left and right headphones, sometimes just one. In particular, I noticed this happen when I have

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-09 Thread Andrey Semashev
ly supported SBC HQ. On 2019-12-07 21:09, Andrey Semashev wrote: FWIW, I tested the patch[1] from your github repository with PulseAudio 13.0 on Ubuntu 19.10 with my EOZ Air. It works, and the sound quality is subjectively better compared to the stock PA 13.0. The noise level that can be heard

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-08 Thread Andrey Semashev
On 2019-12-08 21:00, Pali Rohár wrote: On Sunday 08 December 2019 20:40:09 Andrey Semashev wrote: One other question regarding libfdk-aac. Would it be ok to try using it through ffmpeg if it is built with it? If ffmpeg is compiled without libfdk-aac then we would fall back to the built-in

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-08 Thread Andrey Semashev
On 2019-12-07 22:31, Pali Rohár wrote: On Saturday 07 December 2019 22:13:28 Andrey Semashev wrote: On 2019-12-07 21:30, Pali Rohár wrote: FDK-AAC library is incompatible with any version of the GNU GPL license and therefore it is not possible to use it in any GPL licensed software, like

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-07 Thread Andrey Semashev
On 2019-12-07 21:30, Pali Rohár wrote: On Saturday 07 December 2019 21:09:04 Andrey Semashev wrote: However, I can still hear compression artefacts on quiet or nearly silent audio sections, which sound like high-pitch squeaking sounds. It can often be heard on various music fade out sections. I

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-07 Thread Andrey Semashev
nnounced bitpool capabilities, cause some (rare) devices produces a few distorsion with dual channel 47 bitpool.  So back to dual 38 / 76 , which should be ok on any device.  New patch : http://download.zenwalk.org/x86_64/testing/pulseaudio-13.0-SBC-XQ_V3.patch  Thanks for testing :

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-09-19 Thread Andrey Semashev
I'm not the maintainer, but it might be better to create a merge request in GitLab project: https://gitlab.freedesktop.org/pulseaudio/pulseaudio and post any additional information there so it doesn't get lost. On 2019-09-18 14:02, Hyperion wrote: Patch V2 with added DUAL_CHANNEL as preferred

Re: [pulseaudio-discuss] no sound after rebooting

2019-06-20 Thread Andrey Semashev
On 6/20/19 3:40 PM, Adrian Mariano wrote: Starting in Ubuntu 18.10, and continuing in 19.04, after I reboot my computer I have no sound. My sound device doesn't show up at all in the mixer. I just have a "dummy" device (that's what just happened) or sometimes I get the wrong device (NVidia) sho

[pulseaudio-discuss] Unable to change output device for The Talos Principle

2018-12-07 Thread Andrey Semashev
Hi, I have multiple audio output devices, most importantly ASUS Xonar D2X, which is set as the default output device, and Builtin Audio. For some reason, when I start The Talos Principle, PA selects Builtin Audio as the output device for the game. If I Alt+Tab from it and try changing the dev

Re: [pulseaudio-discuss] Problems with ASUS Xonar D2X & PulseAudio card detection.

2018-10-23 Thread Andrey Semashev
On 10/22/18 7:21 PM, Andrey Semashev wrote: On 10/22/18 7:15 PM, Russell Treleaven wrote:     Only I do want the 5.1 analog output. Maybe your PCH card supports 5.1. Maybe it does, but I really want the D2X card to output the 5.1 signal. The integrated audio is also used in my setup, also

Re: [pulseaudio-discuss] Problems with ASUS Xonar D2X & PulseAudio card detection.

2018-10-22 Thread Andrey Semashev
On 10/22/18 7:15 PM, Russell Treleaven wrote: Only I do want the 5.1 analog output. Maybe your PCH card supports 5.1. Maybe it does, but I really want the D2X card to output the 5.1 signal. The integrated audio is also used in my setup, also analog. It used to work perfectly in Kubuntu

Re: [pulseaudio-discuss] Problems with ASUS Xonar D2X & PulseAudio card detection.

2018-10-22 Thread Andrey Semashev
On 10/22/18 6:51 PM, Russell Treleaven wrote: Cool you have gained some insight. I would define your sink as hw:D2X, as the card number can change but the name won't. Ok. Just for the sake of testing, it also didn't add the sink to PA. make a safety copy of ~/.asoundrc and make the file cont

Re: [pulseaudio-discuss] Problems with ASUS Xonar D2X & PulseAudio card detection.

2018-10-22 Thread Andrey Semashev
On 10/22/18 5:45 PM, Russell Treleaven wrote: make a safety copy of /etc/pulse/default.pa edit the file to comment out the following lines like this #load-module module-udev-detect #load-module module-detect add the following lines immediately following the ones you commente

Re: [pulseaudio-discuss] Problems with ASUS Xonar D2X & PulseAudio card detection.

2018-10-22 Thread Andrey Semashev
On 10/1/18 4:20 PM, Hakan Bayındır wrote: Hello All, I'm using Debian Testing with KDE desktop, and having problem with PulseAudio's sound card detection. The system I'm using has three sound sinks (or cards if you wish): - nVidia GTX680's sound output over DisplayPort. - Intel's on board HD au

Re: [pulseaudio-discuss] PA 8.0 -- what happened to soxr- resamplers

2016-05-11 Thread Andrey Semashev
On Wednesday, 11 May 2016 11:11:19 MSK Matt Feifarek wrote: > On Tue, May 10, 2016 at 11:47 PM, Luke Yelavich > wrote: > > > > We would have to get libsoxr into Ubuntu's main repository, which requires > > commitment from Canonical to keep the package up to date, keep an eye on > > bugs, etc. Giv

Re: [pulseaudio-discuss] PA 8.0 -- what happened to soxr- resamplers

2016-05-11 Thread Andrey Semashev
On Wednesday, 11 May 2016 11:02:41 MSK Luke Yelavich wrote: > On Wed, May 11, 2016 at 02:36:57PM AEST, Arun Raghavan wrote: > > On Wed, 11 May 2016, at 09:52 AM, Matt Feifarek wrote: > > > I updated my Ubuntu box to 16.04, where I was running PA7, and now with > > > PA8, I get: > > > > > > W: [pul

Re: [pulseaudio-discuss] [PATCH v3] netbsd: Stop depending upon nonstandard __WORDSIZE

2015-12-17 Thread Andrey Semashev
On 2015-12-17 15:51, Andrey Semashev wrote: On 2015-12-17 15:33, Pali Rohár wrote: On Thursday 17 December 2015 15:10:12 Andrey Semashev wrote: On 2015-12-17 14:50, Andrey Semashev wrote: On 2015-12-17 02:44, Kamil Rytarowski wrote: On 16.12.2015 11:02, Pali Rohár wrote: Hi! There is

Re: [pulseaudio-discuss] [PATCH v3] netbsd: Stop depending upon nonstandard __WORDSIZE

2015-12-17 Thread Andrey Semashev
On 2015-12-17 14:50, Andrey Semashev wrote: On 2015-12-17 02:44, Kamil Rytarowski wrote: On 16.12.2015 11:02, Pali Rohár wrote: Hi! There is probably no portable way for checking CPU type. But you do not need to know CPU type here. You need to know if CPU has fast 64bit numeric operations

Re: [pulseaudio-discuss] [PATCH v2] netbsd: Replace nonstandard __WORDSIZE with a more portable solution

2015-12-15 Thread Andrey Semashev
On 2015-12-15 14:47, Kamil Rytarowski wrote: There is no way to check CPU type in a portable way across ABIs. Checking for sizeof(void*) is reasonable since most platforms will report correct values. One exception is x32, but since it's halfbaked never finished and almost not needed any more - we

Re: [pulseaudio-discuss] resampling speex-float

2015-12-04 Thread Andrey Semashev
On 2015-12-04 13:22, Alexander E. Patrakov wrote: 04.12.2015 15:28, Wenger Peter пишет: I use ubuntu studio 14.04 and would like to set the resampling to a higher level. So I edited /etc/pulse/daemon.con and set resample-methode = speex-float-5. But it is not chanching. It stays on speex-floats

Re: [pulseaudio-discuss] Crash in LFE filter if soxr resampler is used

2015-11-02 Thread Andrey Semashev
On Monday, November 02, 2015 08:43:55 AM David Henningsson wrote: > On 2015-10-31 17:08, Andrey Semashev wrote: > > Hi, > > > > I've just upgraded to Kubuntu 15.10 and applied patches for libsoxr > > resampler to PA 6.0 that comes with the distro. I'm seeing c

Re: [pulseaudio-discuss] [PATCH] Use soxr_clear() if libsoxr version is 0.1.2 or later.

2015-11-01 Thread Andrey Semashev
On Monday, November 02, 2015 08:33:47 AM David Henningsson wrote: > On 2015-10-31 16:59, Andrey Semashev wrote: > > The 0.1.2 version of libsoxr fixes soxr_process() crash after soxr_clear() > > is used, so check the library version at compile time and use > > soxr_clear()

[pulseaudio-discuss] Crash in LFE filter if soxr resampler is used

2015-10-31 Thread Andrey Semashev
Hi, I've just upgraded to Kubuntu 15.10 and applied patches for libsoxr resampler to PA 6.0 that comes with the distro. I'm seeing crashes in the LFE filter if I use soxr-vhq resampler (I haven't tried the other soxr* variants yet). Is this a known problem? Below is the backtrace of one of th

[pulseaudio-discuss] [PATCH] Use soxr_clear() if libsoxr version is 0.1.2 or later.

2015-10-31 Thread Andrey Semashev
The 0.1.2 version of libsoxr fixes soxr_process() crash after soxr_clear() is used, so check the library version at compile time and use soxr_clear() if possible. --- src/pulsecore/resampler/soxr.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/pulsecore

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2015-03-11 Thread Andrey Semashev
On Wednesday 11 March 2015 20:48:11 you wrote: > On Wed, 2015-03-11 at 20:27 +0200, Tanu Kaskinen wrote: > > > > I'm writing release notes for 7.0, and I'm wondering how to describe the > > three soxr resampler variants. Alexander says that all variants are > > perfect quality-wise (no audible dis

Re: [pulseaudio-discuss] [PATCH v5 0/4] Add support for libsoxr resampler

2015-01-14 Thread Andrey Semashev
On Wednesday 14 January 2015 22:07:08 Peter Meerwald wrote: > > Andrey Semashev (4): > > Added libsoxr resampler backend. > > Enabled libsoxr resampler backend. > > Added libsoxr detection and optional build of soxr resampler backend. > > Added documentati

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

2015-01-14 Thread Andrey Semashev
part of PulseAudio. + + Copyright 2014, 2015 Andrey Semashev + + PulseAudio is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, + or (at your

[pulseaudio-discuss] [PATCH 4/4] Added documentation for soxr resampling methods.

2015-01-14 Thread Andrey Semashev
--- man/pulse-daemon.conf.5.xml.in | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in index 754312e..d17131b 100644 --- a/man/pulse-daemon.conf.5.xml.in +++ b/man/pulse-daemon.conf.5.xml.in @@ -88,7 +8

[pulseaudio-discuss] [PATCH 2/4] Enabled libsoxr resampler backend.

2015-01-14 Thread Andrey Semashev
Added ID and names for the resampler presets and also updated the working sample rate deduction to take the new resampler into account. The initial libsoxr backend version does not variable rate resampling, so it is disabled in this case. --- src/pulsecore/resampler.c | 33 +

[pulseaudio-discuss] [PATCH v5 0/4] Add support for libsoxr resampler

2015-01-14 Thread Andrey Semashev
orrections. Similar patches by Peter Meerwald: http://lists.freedesktop.org/archives/pulseaudio-discuss/2014-August/021050.html Andrey Semashev (4): Added libsoxr resampler backend. Enabled libsoxr resampler backend. Added libsoxr detection and optional build of soxr resampler backen

[pulseaudio-discuss] [PATCH 3/4] Added libsoxr detection and optional build of soxr resampler backend.

2015-01-14 Thread Andrey Semashev
--- configure.ac| 17 + src/Makefile.am | 6 ++ 2 files changed, 23 insertions(+) diff --git a/configure.ac b/configure.ac index 2ccf094..23144d1 100644 --- a/configure.ac +++ b/configure.ac @@ -1140,6 +1140,21 @@ AS_IF([test "x$with_speex" = "xyes" && test "x$HAVE_SPEEX

Re: [pulseaudio-discuss] [PATCH 4/4] Added documentation for soxr resampling methods.

2015-01-13 Thread Andrey Semashev
On Tuesday 13 January 2015 17:32:59 Peter Meerwald wrote: > On Thu, 8 Jan 2015, Andrey Semashev wrote: > > extreme nitpicking below > > > --- > > > > man/pulse-daemon.conf.5.xml.in | 14 +++--- > > 1 file changed, 11 insertions(+), 3 deletion

Re: [pulseaudio-discuss] [PATCH 2/4] Enabled libsoxr resampler backend.

2015-01-13 Thread Andrey Semashev
On Tuesday 13 January 2015 17:32:55 you wrote: > Hello, > > On Mon, 12 Jan 2015, Andrey Semashev wrote: > > re-posting to list, hope that is OK > > > On Monday 12 January 2015 17:36:19 you wrote: > > > > Added ID and names for the resampler presets

[pulseaudio-discuss] [PATCH 2/4] Enabled libsoxr resampler backend.

2015-01-08 Thread Andrey Semashev
Added ID and names for the resampler presets and also updated the working sample rate deduction to take the new resampler into account. --- src/pulsecore/resampler.c | 30 ++ src/pulsecore/resampler.h | 4 2 files changed, 30 insertions(+), 4 deletions(-) diff -

[pulseaudio-discuss] [PATCH 4/4] Added documentation for soxr resampling methods.

2015-01-08 Thread Andrey Semashev
--- man/pulse-daemon.conf.5.xml.in | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in index 754312e..e1ee673 100644 --- a/man/pulse-daemon.conf.5.xml.in +++ b/man/pulse-daemon.conf.5.xml.in @@ -88,7 +8

[pulseaudio-discuss] [PATCH 3/4] Added libsoxr detection and optional build of soxr resampler backend.

2015-01-08 Thread Andrey Semashev
--- configure.ac| 17 + src/Makefile.am | 6 ++ 2 files changed, 23 insertions(+) diff --git a/configure.ac b/configure.ac index 2ccf094..23144d1 100644 --- a/configure.ac +++ b/configure.ac @@ -1140,6 +1140,21 @@ AS_IF([test "x$with_speex" = "xyes" && test "x$HAVE_SPEEX

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

2015-01-08 Thread Andrey Semashev
part of PulseAudio. + + Copyright 2014, 2015 Andrey Semashev + + PulseAudio is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, + or (at your

[pulseaudio-discuss] [PATCH v4 0/4] Add support for libsoxr resampler

2015-01-08 Thread Andrey Semashev
to v3: * Restored the shortcut for PEAKS, COPY and TRIVIAL resamplers in the working sample rate detection code. Similar patches by Peter Meerwald: http://lists.freedesktop.org/archives/pulseaudio-discuss/2014-August/021050.html Andrey Semashev (4): Added libsoxr resampler backend. Enabled

Re: [pulseaudio-discuss] Merging soxr

2015-01-08 Thread Andrey Semashev
On Thursday 08 January 2015 17:58:43 Alexander E. Patrakov wrote: > 08.01.2015 17:44, Andrey Semashev wrote: > > On Thursday 08 January 2015 11:29:42 Alexander E. Patrakov wrote: > >> 08.01.2015 01:52, Andrey Semashev wrote: > >>>> Also, with PulseAudio forced to

Re: [pulseaudio-discuss] Merging soxr

2015-01-08 Thread Andrey Semashev
On Thursday 08 January 2015 11:29:42 Alexander E. Patrakov wrote: > 08.01.2015 01:52, Andrey Semashev wrote: > > >> Also, with PulseAudio forced to 44.1 kHz, FooBar2000 v1.2 (which uses > >> DirectSound and thus, by default, resamples everything to 48 kHz) just &g

Re: [pulseaudio-discuss] [PATCH 2/4] Enabled libsoxr resampler backend.

2015-01-07 Thread Andrey Semashev
On Wed, Jan 7, 2015 at 7:39 PM, Peter Meerwald wrote: >> > > >> > > case PA_RESAMPLER_PEAKS: >> > > -if (a == PA_SAMPLE_S16NE || b == PA_SAMPLE_S16NE) >> > > -work_format = PA_SAMPLE_S16NE; >> > >> > Were the rows above removed on purpose? I suppose the behavi

Re: [pulseaudio-discuss] Merging soxr

2015-01-07 Thread Andrey Semashev
[quoted text parts reordered] On Wed, Jan 7, 2015 at 8:48 PM, Alexander E. Patrakov wrote: > 07.01.2015 15:14, Alexander E. Patrakov wrote: >> >> I will retest with qemu (via its alsa backend) later today. > > Done, both for "pa" and "alsa" backends. I must say that soxr-based > resamplers break

Re: [pulseaudio-discuss] [PATCH 2/4] Enabled libsoxr resampler backend.

2015-01-07 Thread Andrey Semashev
On Wednesday 07 January 2015 15:41:14 David Henningsson wrote: > On 2015-01-07 15:08, Andrey Semashev wrote: > > Added ID and names for the resampler presets and also corrected the > > working sample rate deduction to take the new resampler into account. > > Removed duplicate

[pulseaudio-discuss] [PATCH 2/4] Enabled libsoxr resampler backend.

2015-01-07 Thread Andrey Semashev
Added ID and names for the resampler presets and also corrected the working sample rate deduction to take the new resampler into account. Removed duplicate condition checks from the deduction code. --- src/pulsecore/resampler.c | 23 ++- src/pulsecore/resampler.h | 4 2

[pulseaudio-discuss] [PATCH 3/4] Added libsoxr detection and optional build of soxr resampler backend.

2015-01-07 Thread Andrey Semashev
--- configure.ac| 17 + src/Makefile.am | 6 ++ 2 files changed, 23 insertions(+) diff --git a/configure.ac b/configure.ac index 2ccf094..23144d1 100644 --- a/configure.ac +++ b/configure.ac @@ -1140,6 +1140,21 @@ AS_IF([test "x$with_speex" = "xyes" && test "x$HAVE_SPEEX

[pulseaudio-discuss] [PATCH 4/4] Added documentation for soxr resampling methods.

2015-01-07 Thread Andrey Semashev
--- man/pulse-daemon.conf.5.xml.in | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in index 754312e..e1ee673 100644 --- a/man/pulse-daemon.conf.5.xml.in +++ b/man/pulse-daemon.conf.5.xml.in @@ -88,7 +8

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

2015-01-07 Thread Andrey Semashev
part of PulseAudio. + + Copyright 2014, 2015 Andrey Semashev + + PulseAudio is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, + or (at your

[pulseaudio-discuss] [PATCH v3 0/4] Add support for libsoxr resampler

2015-01-07 Thread Andrey Semashev
switch/case so that quality presets are specified in increasing order. * Added a note to the docs that the -hq preset is recommended by SoX developers for 16-bit samples. * Merged the hotfix commit with the main patches. Andrey Semashev (4): Added libsoxr resampler backend. Enabled libsoxr

Re: [pulseaudio-discuss] Merging soxr

2015-01-06 Thread Andrey Semashev
On Tue, Jan 6, 2015 at 10:55 PM, Alexander E. Patrakov wrote: > 06.01.2015 19:17, Andrey Semashev wrote: >> >> As far as I understand the code, the loop is already there in >> pa_sink_input_peek() (see sink-input.c:924, "while (tchunk.length > 0)"). >> The

Re: [pulseaudio-discuss] Merging soxr

2015-01-06 Thread Andrey Semashev
On Wednesday 19 November 2014 00:58:04 Alexander E. Patrakov wrote: > 19.11.2014 00:42, Andrey Semashev wrote: > > On Tuesday 18 November 2014 21:32:53 Alexander E. Patrakov wrote: > >> 18.11.2014 19:14, David Henningsson wrote: > >>> On 2014-11-18 14:46, Alexander

Re: [pulseaudio-discuss] Merging soxr

2014-11-18 Thread Andrey Semashev
On Tuesday 18 November 2014 21:32:53 Alexander E. Patrakov wrote: > 18.11.2014 19:14, David Henningsson wrote: > > On 2014-11-18 14:46, Alexander E. Patrakov wrote: > >> Add support for libsoxr resampler: David's objection about overriding > >> pa_resampler_request is 100% valid, and the patchset c

Re: [pulseaudio-discuss] Merging soxr (was: Re: Patch review status wiki page updated)

2014-11-18 Thread Andrey Semashev
On Tue, Nov 18, 2014 at 5:14 PM, David Henningsson wrote: > > > On 2014-11-18 14:46, Alexander E. Patrakov wrote: >> >> Add support for libsoxr resampler: David's objection about overriding >> pa_resampler_request is 100% valid, and the patchset cannot be merged >> without taking it into account.

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-17 Thread Andrey Semashev
On Monday 17 November 2014 15:09:14 David Henningsson wrote: > > Thanks for the tests. I think I misunderstood delay: I thought of delay > as having 20 ms of zero samples in the beginning, but instead soxr will > refuse to give you any samples out until you have fed it with 20 ms of > samples in.

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-16 Thread Andrey Semashev
On Friday 14 November 2014 11:37:07 you wrote: > On Friday 14 November 2014 08:26:18 David Henningsson wrote: > > On 2014-11-13 23:49, Andrey Semashev wrote: > > > I do not have an explanation for such diverse range of the delay value, > > > and > > > its depe

[pulseaudio-discuss] [PATCH 5/4] Removed leftover bits referring to soxr-lq.

2014-11-14 Thread Andrey Semashev
--- These bits were left by accident when I was removing the soxr-lq from my patches. src/pulsecore/resampler.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c index 8974db3..17919a3 100644 --- a/src/pulsecore/resampler.c +++ b/src/pulse

[pulseaudio-discuss] [PATCH 4/4] Added documentation for soxr resampling methods.

2014-11-14 Thread Andrey Semashev
--- man/pulse-daemon.conf.5.xml.in | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in index 754312e..f8ba9b4 100644 --- a/man/pulse-daemon.conf.5.xml.in +++ b/man/pulse-daemon.conf.5.xml.in @@ -88,7 +8

[pulseaudio-discuss] [PATCH v2 0/4] Add support for libsoxr resampler

2014-11-14 Thread Andrey Semashev
ribes pros and cons of the new resampler and its presets. Andrey Semashev (4): Added libsoxr resampler backend. Enabled libsoxr resampler backend. Added libsoxr detection and optional build of soxr resampler backend. Added documentation for soxr resampling methods. configu

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

2014-11-14 Thread Andrey Semashev
of PulseAudio. + + Copyright 2014 Andrey Semashev + + PulseAudio is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, + or (at your option) any

[pulseaudio-discuss] [PATCH 3/4] Added libsoxr detection and optional build of soxr resampler backend.

2014-11-14 Thread Andrey Semashev
--- configure.ac| 17 + src/Makefile.am | 6 ++ 2 files changed, 23 insertions(+) diff --git a/configure.ac b/configure.ac index e91e990..4ae4838 100644 --- a/configure.ac +++ b/configure.ac @@ -1133,6 +1133,21 @@ AS_IF([test "x$with_speex" = "xyes" && test "x$HAVE_SPEEX

[pulseaudio-discuss] [PATCH 2/4] Enabled libsoxr resampler backend.

2014-11-14 Thread Andrey Semashev
Added ID and names for the resampler presets and also corrected the working sample rate deduction to take the new resampler into account. Removed duplicate condition checks from the deduction code. --- src/pulsecore/resampler.c | 25 - src/pulsecore/resampler.h | 4

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-14 Thread Andrey Semashev
On Friday 14 November 2014 08:26:18 David Henningsson wrote: > On 2014-11-13 23:49, Andrey Semashev wrote: > > > > I do not have an explanation for such diverse range of the delay value, > > and > > its dependency on the frame size. It doesn't look like the filter

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-13 Thread Andrey Semashev
On Thursday 13 November 2014 11:32:09 you wrote: > On Thu, Nov 13, 2014 at 8:33 AM, David Henningsson > > wrote: > > On 2014-11-11 22:39, Andrey Semashev wrote: > >> In short, libsoxr is almost always faster than speex, and introduces much > >> less disto

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-12 Thread Andrey Semashev
On Thu, Nov 13, 2014 at 7:12 AM, Alexander E. Patrakov wrote: > 13.11.2014 01:16, Andrey Semashev пишет: >> >> However, the other three presets do have different performance and >> quality. In >> my test results [1] -mq is about 2 times faster than -vhq, and -hq

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-12 Thread Andrey Semashev
On Thu, Nov 13, 2014 at 8:33 AM, David Henningsson wrote: > > > On 2014-11-11 22:39, Andrey Semashev wrote: >> >> In short, libsoxr is almost always faster than speex, and introduces much >> less distortions. Its passband frequency is slightly lower than speex >>

[pulseaudio-discuss] [PATCH] Fix sample_format_more_precise for the case of comparing two PA_SAMPLE_S32BE.

2014-11-12 Thread Andrey Semashev
--- src/pulsecore/resampler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c index 8b30c24..183d05f 100644 --- a/src/pulsecore/resampler.c +++ b/src/pulsecore/resampler.c @@ -234,7 +234,7 @@ static bool sample_format_more_p

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-12 Thread Andrey Semashev
On Wednesday 12 November 2014 20:03:48 Alexander E. Patrakov wrote: > 12.11.2014 14:26, Alexander E. Patrakov пишет: > > I will recheck the quality separately later today, in order to verify > > that it is still as good as in the previous tests. Please don't merge > > the patches until this is done

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-12 Thread Andrey Semashev
On Wed, Nov 12, 2014 at 2:30 PM, Alexander E. Patrakov wrote: > 12.11.2014 15:59, Andrey Semashev wrote: >> >> On Wed, Nov 12, 2014 at 12:26 PM, Alexander E. Patrakov >> wrote: >>> >>> >>> We generally don't need a zoo of resamplers. But yo

Re: [pulseaudio-discuss] [PATCH 2/4] Enabled libsoxr resampler backend.

2014-11-12 Thread Andrey Semashev
On Wed, Nov 12, 2014 at 1:03 PM, Peter Meerwald wrote: > >> Also fixed a bug in sample_format_more_precise for 32-bit integer sample >> formats. > > can you please split out the bug fix as a separate patch? > it can be readily applied Ok, will do. ___

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

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 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; > > curre

Re: [pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-12 Thread Andrey Semashev
On Wed, Nov 12, 2014 at 12:26 PM, Alexander E. Patrakov wrote: > > We generally don't need a zoo of resamplers. But you have definitely changed > something important from an earlier submission by Peter Meerwald so that the > CPU figure became much better. I guess, that's SOXR_LINEAR_PHASE - that's

[pulseaudio-discuss] [PATCH 3/4] Added libsoxr detection and optional build of soxr resampler backend.

2014-11-11 Thread Andrey Semashev
--- configure.ac| 17 + src/Makefile.am | 6 ++ 2 files changed, 23 insertions(+) diff --git a/configure.ac b/configure.ac index 26ebd8c..7100c48 100644 --- a/configure.ac +++ b/configure.ac @@ -1129,6 +1129,21 @@ AS_IF([test "x$with_speex" = "xyes" && test "x$HAVE_SPEEX

[pulseaudio-discuss] [PATCH 4/4] Added documentation for soxr resampling methods.

2014-11-11 Thread Andrey Semashev
--- man/pulse-daemon.conf.5.xml.in | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in index 754312e..714e4d8 100644 --- a/man/pulse-daemon.conf.5.xml.in +++ b/man/pulse-daemon.conf.5.xml.in @@ -88,7 +88,8

[pulseaudio-discuss] [PATCH 0/4] Add support for libsoxr resampler

2014-11-11 Thread Andrey Semashev
ects/soxr/ [2]: http://sox.sourceforge.net/Main/HomePage Andrey Semashev (4): Added libsoxr resampler backend. Enabled libsoxr resampler backend. Added libsoxr detection and optional build of soxr resampler backend. Added documentation for soxr resampling methods. configure.ac |

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

2014-11-11 Thread Andrey Semashev
PulseAudio. + + Copyright 2014 Andrey Semashev + + PulseAudio is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, + or (at your option) any later

[pulseaudio-discuss] [PATCH 2/4] Enabled libsoxr resampler backend.

2014-11-11 Thread Andrey Semashev
Also fixed a bug in sample_format_more_precise for 32-bit integer sample formats. --- src/pulsecore/resampler.c | 32 ++-- src/pulsecore/resampler.h | 5 + 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/src/pulsecore/resampler.c b/src/pulsecore/re