summaryrefslogtreecommitdiff
path: root/cad/basicdsp/files/patch-book.h
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2008-08-17 20:22:21 +0000
committerDiane Bruce <db@FreeBSD.org>2008-08-17 20:22:21 +0000
commit4f21024b902b0ffa72685a164a5ef4d27e0a49b2 (patch)
tree13e97d3d3f30f64a4f5a938e4ed7224b57050e68 /cad/basicdsp/files/patch-book.h
parentMosh is A Fast R6RS Scheme interpreter. (diff)
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.
Notes
Notes: svn path=/head/; revision=218728
Diffstat (limited to 'cad/basicdsp/files/patch-book.h')
-rw-r--r--cad/basicdsp/files/patch-book.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/cad/basicdsp/files/patch-book.h b/cad/basicdsp/files/patch-book.h
new file mode 100644
index 000000000000..0295be8e622a
--- /dev/null
+++ b/cad/basicdsp/files/patch-book.h
@@ -0,0 +1,10 @@
+--- book.h.orig 2008-08-16 23:28:06.000000000 -0400
++++ book.h 2008-08-16 23:29:07.000000000 -0400
+@@ -27,6 +27,7 @@
+ virtual int GetSelection() const { return m_selected;};
+ virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;
+
++ virtual int ChangeSelection(size_t n);
+ virtual int SetSelection(size_t n);
+
+ // the same as AddPage(), but adds the page at the specified position