summaryrefslogtreecommitdiff
path: root/gr-audio-oss/src
diff options
context:
space:
mode:
authorRob Savoye2010-10-30 12:14:41 -0600
committerEric Blossom2010-11-10 12:15:42 -0800
commitd94769a975612072dc03fa378bc79856c07cd66b (patch)
treeea2e8e8ea7e40ead5a2b8986e1c2e4dfd18951dd /gr-audio-oss/src
parent40fac3c4a2f5f1f6dde79e96be8f40535e11343b (diff)
downloadgnuradio-d94769a975612072dc03fa378bc79856c07cd66b.tar.gz
gnuradio-d94769a975612072dc03fa378bc79856c07cd66b.tar.bz2
gnuradio-d94769a975612072dc03fa378bc79856c07cd66b.zip
add load-extension support
Diffstat (limited to 'gr-audio-oss/src')
-rw-r--r--gr-audio-oss/src/audio_oss.i10
1 files changed, 10 insertions, 0 deletions
diff --git a/gr-audio-oss/src/audio_oss.i b/gr-audio-oss/src/audio_oss.i
index 0a2e6e6a4..4e54f8f91 100644
--- a/gr-audio-oss/src/audio_oss.i
+++ b/gr-audio-oss/src/audio_oss.i
@@ -63,3 +63,13 @@ class audio_oss_source : public gr_sync_block {
public:
~audio_oss_source ();
};
+
+#if SWIGGUILE
+%scheme %{
+(load-extension "libguile-audio_oss" "scm_init_gnuradio_audio_oss_module")
+%}
+
+%goops %{
+(use-modules (gnuradio gnuradio_core_runtime))
+%}
+#endif