}
#endif
+#define SND_PCM_LB_OPEN_PLAYBACK 0
+#define SND_PCM_LB_OPEN_RECORD 1
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int snd_pcm_loopback_open( void **handle, int card, int device, int mode );
+int snd_pcm_loopback_close( void *handle );
+int snd_pcm_loopback_stream_mode( void *handle, int mode );
+int snd_pcm_loopback_format( void *handle, snd_pcm_format_t *format );
+ssize_t snd_pcm_loopback_read( void *handle, void *buffer, size_t size );
+
+#ifdef __cplusplus
+}
+#endif