Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 Tracks not drawn properly in 2000c

open
nobody
None
5
2001-03-13
2001-03-13
No

After upgrading to bcast2000c, (audio) tracks were no
longer drawn
properly. It looks like the problem is that the window
is not refreshed
after the D button (DrawPatch) is pressed. This
one-liner should fix
that particular problem, by calling mwindow->draw() at
the end of
the DrawPatch event handler.

--- patch.C~ Tue Mar 13 14:56:41 2001
+++ patch.C Tue Mar 13 14:51:47 2001
@@ -500,6 +500,7 @@
}
patches->button_down = 1;
patches->new_status = get_value();
+ patch->mwindow->draw();
return 0;
}

Discussion

  • James Swallow
    James Swallow
    2001-05-20

    Logged In: YES
    user_id=224055

    Sorry, I'm not a super genius like you, how do I patch this?

    Thanks
    James Swallow

     
  • Logged In: YES
    user_id=84071

    You download the source, apply the patch and recompile.

    If you don't want to do that, I've made my binary available
    as http://www.stud.ifi.uio.no/~cjhaga/bcast2000.gz, but no
    guarantees that it will work. Compiled on debian gnu/linux.
    Replace /usr/local/bcast/bcast2000 with this (unzipped) file.

     
  •  
    Attachments
  • Logged In: YES
    user_id=84071

    Also added a small patch for a small annoyance: that when
    panning a track it can't be exactly centered in stereo
    space, showing instead 0.99 for one channel and 1.00 in the
    other.

     
  •  
    Attachments
  • Logged In: YES
    user_id=84071

    Forgot to mention: Both patches are applied by doing "patch
    -p1 <patchfilename" in the bcast-2000c source directory.