freebsd-ports/cad/basicdsp/files/patch-book.cpp
Diane Bruce 4f21024b90 BasicDSP is an educational tool that makes it easy to experiment with simple
Digital Signal Processing algorithms for audio signals. The input can either
be taken from the sound card, or be a locally generated sine wave, white noise
or impulse signal. The output is fed to the sound card, as well as to a virtual
oscilloscope and spectrum analyzer.
2008-08-17 20:22:21 +00:00

14 lines
263 B
C++

--- book.cpp.orig 2008-08-16 23:28:51.000000000 -0400
+++ book.cpp 2008-08-16 23:31:02.000000000 -0400
@@ -30,6 +30,11 @@
{
}
+int wxBook::ChangeSelection(size_t n)
+{
+ return n;
+}
+
int wxBook::SetSelection(size_t n)
{
int old_selected = m_selected;