summaryrefslogtreecommitdiffstats
path: root/sound/avirt.h
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-01-29 18:39:53 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-01-29 18:39:53 +1100
commit2e1b1a2ec043a89d7720e9b9c00d4f783ce6a62b (patch)
tree44ea5aceb8de004aa1ab64781c2ed2b712d0efed /sound/avirt.h
parente423837602e5cdc11a0912f4bd27904d4e0c6946 (diff)
Make snd_avirt_stream_get an exported function
Clean up logging Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'sound/avirt.h')
-rw-r--r--sound/avirt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/avirt.h b/sound/avirt.h
index 0ebac86..90859d5 100644
--- a/sound/avirt.h
+++ b/sound/avirt.h
@@ -97,6 +97,13 @@ int snd_avirt_audiopath_register(struct snd_avirt_audiopath *audiopath);
int snd_avirt_audiopath_deregister(struct snd_avirt_audiopath *audiopath);
/**
+ * snd_avirt_audiopath_get - get Audio Path by it's UID
+ * @uid: The Audio Path UID to get
+ * @return: The Audio Path if it exists, NULL otherwise.
+ */
+struct snd_avirt_audiopath *snd_avirt_audiopath_get(const char *uid);
+
+/**
* snd_avirt_pcm_period_elapsed - PCM buffer complete callback
* @substream: pointer to ALSA PCM substream
*