From 4031878692836dde32a4883389f65f928e4204fa Mon Sep 17 00:00:00 2001 From: Mark Farrugia Date: Thu, 8 Nov 2018 08:28:46 +1100 Subject: Add function to retrieve AVIRT pcm info We need to be able to retrieve card index, and pcm indexes for each named stream Signed-off-by: Mark Farrugia --- include/avirt/avirt.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') 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 + /** * 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_ -- cgit 1.2.3-korg