summaryrefslogtreecommitdiffstats
path: root/core.h
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-01-04 18:22:35 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-01-04 18:23:17 +1100
commite423837602e5cdc11a0912f4bd27904d4e0c6946 (patch)
treeea020146810cf26499daded939fd8e608117f719 /core.h
parentdbfb35abbe8548fe5e33763bcab5a5c04ade0d36 (diff)
Create PCM devices as soon as the AVIRT map is setguppy_6.99.4guppy/6.99.46.99.4
We no longer need to wait until the card is sealed to create the PCM device. We can create it right away. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'core.h')
-rw-r--r--core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core.h b/core.h
index 40252e6..5ea78cd 100644
--- a/core.h
+++ b/core.h
@@ -69,6 +69,8 @@ struct snd_avirt_stream *snd_avirt_stream_find_by_device(unsigned int device);
struct snd_avirt_stream *snd_avirt_stream_create(const char *name,
int direction);
+struct snd_pcm *snd_avirt_pcm_create(struct snd_avirt_stream *stream);
+
/**
* snd_avirt_audiopath_get - retrieves the Audio Path by it's UID
* @uid: Unique ID for the Audio Path