summaryrefslogtreecommitdiffstats
path: root/include/avirt/avirt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/avirt/avirt.h')
-rw-r--r--include/avirt/avirt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/avirt/avirt.h b/include/avirt/avirt.h
index b795df9..18941fa 100644
--- a/include/avirt/avirt.h
+++ b/include/avirt/avirt.h
@@ -28,13 +28,15 @@
* @name: The name of the stream
* @channels: The number of channels for the stream
* @direction: The stream direction (SND_PCM_STREAM_PLAYBACK or SND_PCM_STREAM_CAPTURE)
+ * @map: The audio path to map this stream to
* @return: 0 on success, negative ERRNO otherwise
*
* Each stream creates a PCM device for the AVIRT sound card.
* Streams will not appear to the user-space until `AVIRT_SealCard()` is called.
* NOTE: Once `AVIRT_SealCard` is called, no more streams may be added.
*/
-int AVIRT_CreateStream(const char *name, unsigned int channels, int direction);
+int AVIRT_CreateStream(const char *name, unsigned int channels, int direction,
+ const char *map);
/**
* AVIRT_SealCard - Finalize AVIRT stream creation and register sound card