summaryrefslogtreecommitdiffstats
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:21:12 +1100
commit5bf4dc0f5f50bb5adafb2a43e19007619d195748 (patch)
treec51b552e911bbd8773516a3a12f9a6f674fdff68 /core.c
parent8c7cba43618d1aca05cad1e10ea238a082e313ee (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)
{