mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Merge "stream: Make the topology a reference counted object."
This commit is contained in:
@@ -306,6 +306,8 @@ void ast_stream_set_rtp_codecs(struct ast_stream *stream, struct ast_rtp_codecs
|
||||
* \retval NULL failure
|
||||
*
|
||||
* \since 15
|
||||
*
|
||||
* \note This returns an ao2 refcounted object
|
||||
*/
|
||||
struct ast_stream_topology *ast_stream_topology_alloc(void);
|
||||
|
||||
@@ -318,6 +320,8 @@ struct ast_stream_topology *ast_stream_topology_alloc(void);
|
||||
* \retval NULL failure
|
||||
*
|
||||
* \since 15
|
||||
*
|
||||
* \note This returns an ao2 refcounted object
|
||||
*/
|
||||
struct ast_stream_topology *ast_stream_topology_clone(
|
||||
const struct ast_stream_topology *topology);
|
||||
@@ -337,7 +341,7 @@ int ast_stream_topology_equal(const struct ast_stream_topology *left,
|
||||
const struct ast_stream_topology *right);
|
||||
|
||||
/*!
|
||||
* \brief Destroy a stream topology
|
||||
* \brief Unreference and destroy a stream topology
|
||||
*
|
||||
* \param topology The topology of streams
|
||||
*
|
||||
|
Reference in New Issue
Block a user