guix-devel
[Top][All Lists]
Advanced

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

Re: [Patch] Provide single-precision fftw library for pulseaudio


From: Ludovic Courtès
Subject: Re: [Patch] Provide single-precision fftw library for pulseaudio
Date: Sat, 22 Mar 2014 15:25:32 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Eric Bavier <address@hidden> skribis:

> Here's a patch to let pulseaudio use fftw for its equalizer.  It needs
> an fftw that was configured using "--with-float", otherwise its
> configure just prints "Package fftw3f was not found in the pkg-config
> search path".

OK.

> From 3bd90c044c687cdd93cca63e68664874f76b5edb Mon Sep 17 00:00:00 2001
> From: Eric Bavier <address@hidden>
> Date: Fri, 21 Mar 2014 14:06:40 -0500
> Subject: [PATCH] gnu: Provide single-precision fftw library for pulseaudio
>
> * gnu/packages/algebra.scm (fftwf): New variable
> * gnu/packages/pulseaudio.scm (pulseaudio): Use it
>
> * gnu/packages/algebra.scm

Typo here.

> +(define-public fftwf
> +  (package (inherit fftw)
> +    (name "fftwf")
> +    (arguments
> +     `(,@(substitute-keyword-arguments (package-arguments fftw)
> +           ((#:configure-flags cf)
> +            `(cons "--enable-float"
> +                   ,cf)))))))

`(,@lst) is equivalent to lst (info "(guile) Expression Syntax").  So
you simplify this accordingly.

Also, could you add a ‘description’ field that mentioned “(single
precision)”?

OK to commit with these changes.

Thanks!

Ludo’.



reply via email to

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