[LAD] PandaResampler 0.2.0

2024-06-09 Thread Stefan Westerfeld

PandaResampler 0.2.0 has been released.

This is a header only library for C++ which implements fast factor 2, 4 
or 8 upsampling and downsampling based on SSE instructions. I've 
developed the code for my DSP code in Anklang and SpectMorph.


It might be useful for you if you have some DSP loop which needs to be 
oversampled to avoid aliasing.


https://github.com/swesterfeld/pandaresampler
--
Stefan Westerfeld, http://space.twc.de/~stefan
___
Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org


[LAD] Re: PandaResampler 0.2.0

2024-06-09 Thread Fons Adriaensen
On Sun, Jun 09, 2024 at 09:50:27AM +0200, Stefan Westerfeld wrote:

> PandaResampler 0.2.0 has been released.

./configure: line 16969: syntax error near unexpected token `11,'
./configure: line 16969: `AX_CXX_COMPILE_STDCXX(11, noext, mandatory)'

I'm an absolute NOOB re. autotools...

Ciao,

-- 
FA

___
Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org


[LAD] Re: PandaResampler 0.2.0

2024-06-09 Thread Marc Lavallée

Le 2024-06-09 à 05 h 51, Fons Adriaensen a écrit :


On Sun, Jun 09, 2024 at 09:50:27AM +0200, Stefan Westerfeld wrote:


PandaResampler 0.2.0 has been released.

./configure: line 16969: syntax error near unexpected token `11,'
./configure: line 16969: `AX_CXX_COMPILE_STDCXX(11, noext, mandatory)'

I'm an absolute NOOB re. autotools...

Ciao,


Install old autoconf macros:

https://www.gnu.org/software/autoconf-archive/

https://pkgs.org/download/autoconf-archive

Marc
___
Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org


[LAD] Re: PandaResampler 0.2.0

2024-06-09 Thread Fons Adriaensen
On Sun, Jun 09, 2024 at 09:23:28AM -0400, Marc Lavallée wrote:
> Le 2024-06-09 à 05 h 51, Fons Adriaensen a écrit :
> 
> > On Sun, Jun 09, 2024 at 09:50:27AM +0200, Stefan Westerfeld wrote:
> > 
> > > PandaResampler 0.2.0 has been released.
> > ./configure: line 16969: syntax error near unexpected token `11,'
> > ./configure: line 16969: `AX_CXX_COMPILE_STDCXX(11, noext, mandatory)'
> > 
> > I'm an absolute NOOB re. autotools...
> > 
> > Ciao,
> 
> Install old autoconf macros:
> 
> https://www.gnu.org/software/autoconf-archive/
> 
> https://pkgs.org/download/autoconf-archive

I should have a fully up-to-date autotools. It works with
all other things that I needed it for.

In what way should old macros solve the issue, taking into
account that this is not 'old' software ?

And what means 'installing' those macros - Where should
they go ?

Sorry if I seem a bit sceptical... Each time I try to
understand how the autotools are supposed to work I read
things like 'This file contains dirty hacks to make XXX
work' and similar statements. It really escapes me why
such a mess is still supposed to be the 'right way' to
do things...

Ciao,

-- 
FA



___
Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org


[LAD] Re: PandaResampler 0.2.0

2024-06-09 Thread Marc Lavallée

Le 2024-06-09 à 10 h 41, Fons Adriaensen a écrit :


On Sun, Jun 09, 2024 at 09:23:28AM -0400, Marc Lavallée wrote:

Le 2024-06-09 à 05 h 51, Fons Adriaensen a écrit :


On Sun, Jun 09, 2024 at 09:50:27AM +0200, Stefan Westerfeld wrote:


PandaResampler 0.2.0 has been released.

./configure: line 16969: syntax error near unexpected token `11,'
./configure: line 16969: `AX_CXX_COMPILE_STDCXX(11, noext, mandatory)'

I'm an absolute NOOB re. autotools...

Ciao,

Install old autoconf macros:

https://www.gnu.org/software/autoconf-archive/

https://pkgs.org/download/autoconf-archive

I should have a fully up-to-date autotools. It works with
all other things that I needed it for.


It's the first time I use this collection of macros. I discovered it 
while trying to fix the issue.



In what way should old macros solve the issue, taking into
account that this is not 'old' software ?


What's old are some macros in the collection; using the word "old" was 
useless. For the specific error you reported, the required macro is 
ax_cxx_compile_stdcxx.m4. Other macros (from the collection) are 
probably required (I did not check).



And what means 'installing' those macros - Where should
they go ?


Where autoconf-archive (and the packaging system) wants them to be 
installed; on my Debian 12 system, they are installed in /usr/share/aclocal/


The collection of collections: 
http://mirror.csclub.uwaterloo.ca/gnu/autoconf-archive/



Sorry if I seem a bit sceptical... Each time I try to
understand how the autotools are supposed to work I read
things like 'This file contains dirty hacks to make XXX
work' and similar statements. It really escapes me why
such a mess is still supposed to be the 'right way' to
do things...


There's always better ways. :-)

Marc


Ciao,___
Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org


[LAD] Re: PandaResampler 0.2.0

2024-06-09 Thread Fons Adriaensen
On Sun, Jun 09, 2024 at 11:55:41AM -0400, Marc Lavallée wrote:
 
> For the specific error you reported, the required macro is
> ax_cxx_compile_stdcxx.m4.

Thanks for the clear info.

Requiring C++11 seems like nothing really esoteric, so why
doesn't a standard autotools installation have this macro ?

And if it isn't standard, shouldn't it be provided in the m4
dir of the project (there are some others there) ?

Ciao,

-- 
FA

___
Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org


[LAD] Re: PandaResampler 0.2.0

2024-06-09 Thread Marc Lavallée

Le 2024-06-09 à 17 h 34, Fons Adriaensen a écrit :


On Sun, Jun 09, 2024 at 11:55:41AM -0400, Marc Lavallée wrote:
  

For the specific error you reported, the required macro is
ax_cxx_compile_stdcxx.m4.

Thanks for the clear info.

Requiring C++11 seems like nothing really esoteric, so why
doesn't a standard autotools installation have this macro ?


The other required macro is ax_check_compile_flag.m4

Except the macros are not required... Here's how to avoid them:

Add this line at beginning of Makefile.am :

AM_CXXFLAGS = -std=c++11 -Wall

In configure.ac, delete sections titled:

# need c++11 mode

# use -Wall

The software can then be configured without autoconf-archive.


And if it isn't standard, shouldn't it be provided in the m4
dir of the project (there are some others there) ?


The m4 directory is generated by autoconf.

Marc


Ciao,___
Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org


[LAD] Re: PandaResampler 0.2.0

2024-06-09 Thread Yuri

On 6/9/24 15:47, Marc Lavallée wrote:


The other required macro is ax_check_compile_flag.m4



Why use GNU Tools when there are better options: cmake and meson?


cmake, for example, just works. It is very stable, and is powering build 
of thousands of projects without the need to write or have one line of 
shell or m4 macros.



Why do people still insist on GNU Tools?



Yuri
___
Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org


[LAD] Re: PandaResampler 0.2.0

2024-06-09 Thread Robin Gareus

On 2024-06-10 03:16, Yuri wrote:

On 6/9/24 15:47, Marc Lavallée wrote:



Why do people still insist on GNU Tools?



mostly to aid cross compilation. It is still the option that sucks least 
for libraries, notably to specify which symbols to expose in a cross 
platform library. Though meson is catching up.


--
robin


OpenPGP_signature.asc
Description: OpenPGP digital signature
___
Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org
To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org