17.10.2020 01:46, Gordonjcp wrote:
On Tue, Oct 13, 2020 at 12:25:17AM +0300, Yury Alyaev wrote:
Hi all!
Today I have finished a large amount of work: support of user actions
logging in SoundTracker. This means that almost all operations can be undone
/ redone. Before this I have redesigned the sample editor. Although these
are not all improvements scheduled for 1.0.2 release, I would like to start
testing of the above two features. So I have issued the first pre-relase
available as usual at https://sourceforge.net/projects/soundtracker/files/
I invite everyone to test this and send me bugreports. But I'd like to warn,
that this pre-release couldn't be pretty stable and can occasionally crash.
If you are familiar with gdb (GNU debugger) please compile ST with
CFLAGS=-DDEBUG and after crash explore the core file with gdb and send me
the backtrace.
This fails to build for me (Ubuntu Studio 20.04.1). The configure script fails
to pick up the lack of libsndfile headers, but that's minor.
Do you have libsndfile-dev package installed?
/usr/bin/ld: envelope-box.o: in function `envelope_box_set_envelope':
/home/gordonjcp/devel/soundtracker-1.0.2-pre1/app/envelope-box.c:1058:
undefined reference to `update_sustain_line'
/usr/bin/ld:
/home/gordonjcp/devel/soundtracker-1.0.2-pre1/app/envelope-box.c:1059:
undefined reference to `update_loop_lines'
collect2: error: ld returned 1 exit status
Thanks for the bugreport. Fix in the applied patch. Copy it to the
Soundtracker source tree, than type "patch -p1 < build_fix.patch". This
should fix build.
I also advice you to install goocanvas (and also -dev) package. With it
instrument editor looks nicer =)
Regards,
Yury.
diff --git a/app/envelope-box.c b/app/envelope-box.c
index 8c1b1ee..481f99b 100644
--- a/app/envelope-box.c
+++ b/app/envelope-box.c
@@ -1055,8 +1055,10 @@ void envelope_box_set_envelope(EnvelopeBox* e, STEnvelope* env)
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(e->sustain), env->flags & EF_SUSTAIN);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(e->loop), env->flags & EF_LOOP);
+#ifdef USE_CANVAS
update_sustain_line(e);
update_loop_lines(e);
+#endif
gtk_spin_button_set_value(GTK_SPIN_BUTTON(e->spin_length), env->num_points);
_______________________________________________
Linux-audio-dev mailing list
[email protected]
https://lists.linuxaudio.org/listinfo/linux-audio-dev