Added loopback interface...

This commit is contained in:
Jaroslav Kysela 1998-11-10 13:26:25 +00:00
parent 88f30b10db
commit 354b2c7881

View file

@ -47,3 +47,19 @@ ssize_t snd_pcm_read( void *handle, void *buffer, size_t size );
}
#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