aboutsummaryrefslogtreecommitdiffstats
path: root/core.c
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-03-27 17:21:12 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-03-27 17:48:58 +1100
commit07068446e60502bbd4b7b3a5df16a6246183e1ed (patch)
tree9224e1fee1b9f4422f204ded1a1b620aed13f2cd /core.c
parent9f68614f664506535c873699dcfbca6e2515a24c (diff)
Remove snd_avirt_pcm_period_elapsed, format tidy
We do not need this wrapper function any longer, can use snd_pcm_period_elapsed instead. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'core.c')
-rw-r--r--core.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/core.c b/core.c
index a618bfe..f7e7978 100644
--- a/core.c
+++ b/core.c
@@ -160,6 +160,12 @@ int snd_avirt_stream_set_map(struct snd_avirt_stream *stream, const char *map)
return 0;
}
+/**
+ * snd_avirt_streams_get - Get AVIRT streams for a given Audio Path map
+ * @map: The Audio Path UID whose streams to find.
+ * @stream_array: To be populated with streams.
+ * @return: The number of streams found for the Audio Path.
+ */
static int snd_avirt_streams_get(const char *map,
struct snd_avirt_stream_array *stream_array)
{