diff options
author | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-11-08 08:28:46 +1100 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-11-12 10:28:09 +1100 |
commit | 4031878692836dde32a4883389f65f928e4204fa (patch) | |
tree | 289e10b9d0caaee4a457dfb0b958c7846e03dc4e /include | |
parent | 7379b3c9c385c0a98e33509129575630c64d5b31 (diff) |
Add function to retrieve AVIRT pcm infoguppy_6.99.1guppy/6.99.16.99.1
We need to be able to retrieve card index, and pcm indexes for each
named stream
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/avirt/avirt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/avirt/avirt.h b/include/avirt/avirt.h index 0fd116e..6dcd7b1 100644 --- a/include/avirt/avirt.h +++ b/include/avirt/avirt.h @@ -23,6 +23,8 @@ #ifndef _AVIRT_H_ #define _AVIRT_H_ +#include <alsa/asoundlib.h> + /** * snd_avirt_stream_new - Create a stream in AVIRT * @name: The name of the stream @@ -54,4 +56,9 @@ int snd_avirt_stream_new(const char *name, unsigned int channels, int direction, */ int snd_avirt_card_seal(); +/** + * snd_avirt_pcm_info - + */ +int snd_avirt_pcm_info(const char *pcm_name, snd_pcm_info_t *pcm_info); + #endif // _AVIRT_H_ |