summaryrefslogtreecommitdiff
path: root/gr-audio-alsa/src/audio_alsa.i
diff options
context:
space:
mode:
Diffstat (limited to 'gr-audio-alsa/src/audio_alsa.i')
-rw-r--r--gr-audio-alsa/src/audio_alsa.i10
1 files changed, 10 insertions, 0 deletions
diff --git a/gr-audio-alsa/src/audio_alsa.i b/gr-audio-alsa/src/audio_alsa.i
index 88402333a..215acf33d 100644
--- a/gr-audio-alsa/src/audio_alsa.i
+++ b/gr-audio-alsa/src/audio_alsa.i
@@ -73,3 +73,13 @@ class audio_alsa_sink : public gr_sync_block {
public:
~audio_alsa_sink ();
};
+
+#if SWIGGUILE
+%scheme %{
+(load-extension-global "libguile-gnuradio-audio_alsa" "scm_init_gnuradio_audio_alsa_module")
+%}
+
+%goops %{
+(use-modules (gnuradio gnuradio_core_runtime))
+%}
+#endif