Bug#655708: mudita24: meters don't work

Raffaele Morelli raffaele.morelli at gmail.com
Sun Jan 22 19:36:10 UTC 2012


2012/1/22 Niels Mayer <nielsmayer at gmail.com>

> > yes, the bug is still reproducible with svn13-2.
>
> There is a patch to this issue. As I cannot test this patch right now,
> could you please verify that the patch from
>
> http://lists.linuxaudio.org/pipermail/linux-audio-dev/2012-January/032645.html
> resolves this issue.
>
> Once verified, I'll checkin the patch, which clearly fixes an error.
>
> Here is a fix from Tvrtko Ursulin (many thanks!!):
> ..................................
> --- envy24control.c     (revision 14)
> +++ envy24control.c     (working copy)
> @@ -2404,7 +2404,7 @@
>  /* NPM for efficiency&power-savings, replaced multiple 40ms&100ms timeouts
>     for each of the callbacks contained here, with a single 100ms one which
>     calls gtk_timeout_add(100, (GtkFunction)envy24control_poll, ...) */
> -void envy24control_poll() {
> +gboolean envy24control_poll() {
>    level_meters_timeout_callback(NULL);
>    master_clock_status_timeout_callback(NULL);
>    internal_clock_status_timeout_callback(NULL);
> @@ -2412,6 +2412,8 @@
>    rate_reset_status_timeout_callback(NULL);
>    if (card_has_delta_iec958_input_status)
>      iec958_input_status_timeout_callback(NULL); /* NPM */
> +
> +  return TRUE;
>  }
> ..................................
>
> PS: Any interest in Ubuntu-land in packaging
> http://code.google.com/p/voicetogoog/ ? :-)
>

Sorry but it seems I can't apply the patch...

Hunk #1 FAILED at 2404.
Hunk #2 FAILED at 2412.
2 out of 2 hunks FAILED -- saving rejects to file envy24control.c.rej

maybe a copy/paste issue? I am using vim, copying the code as it is from
the linux-audio-dev link and then
:set paste
ctrl+shift+v

-r
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20120122/775d124f/attachment.html>


More information about the pkg-multimedia-maintainers mailing list