mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added loopback interface...
This commit is contained in:
parent
88f30b10db
commit
354b2c7881
1 changed files with 16 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue