summaryrefslogtreecommitdiffstats
path: root/core_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'core_internal.h')
-rw-r--r--core_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/core_internal.h b/core_internal.h
index 3639d6e..e7bea07 100644
--- a/core_internal.h
+++ b/core_internal.h
@@ -20,6 +20,7 @@ struct avirt_core {
struct class *avirt_class;
struct config_group *stream_group;
unsigned int stream_count;
+ bool streams_sealed;
};
int __init __avirt_configfs_init(struct avirt_core *core);
@@ -32,6 +33,13 @@ void __exit __avirt_configfs_exit(struct avirt_core *core);
int __avirt_card_register(void);
/**
+ * __avirt_streams_sealed - Check whether the streams have been sealed or not
+ * @return: true if sealed, false otherwise
+ */
+bool __avirt_streams_sealed(void);
+
+/**
+/**
* __avirt_stream_find_by_device - Get audio stream from device number
* @device: The PCM device number corresponding to the desired stream
* @return: The audio stream if found, or an error pointer otherwise