Add function to get info on a specific source to pulse wrapper
This commit is contained in:
@@ -93,6 +93,25 @@ void pulse_accept();
|
||||
*/
|
||||
int_fast32_t pulse_get_source_info_list(pa_source_info_cb_t cb, void *userdata);
|
||||
|
||||
/**
|
||||
* Request source information from a specific source
|
||||
*
|
||||
* The function will block until the operation was executed and the mainloop
|
||||
* called the provided callback function.
|
||||
*
|
||||
* @param cb pointer to the callback function
|
||||
* @param name the source name to get information for
|
||||
* @param userdata pointer to userdata the callback will be called with
|
||||
*
|
||||
* @return negative on error
|
||||
*
|
||||
* @note The function will block until the server context is ready.
|
||||
*
|
||||
* @warning call without active locks
|
||||
*/
|
||||
int_fast32_t pulse_get_source_info(pa_source_info_cb_t cb, const char *name,
|
||||
void *userdata);
|
||||
|
||||
/**
|
||||
* Request server information
|
||||
*
|
||||
|
Reference in New Issue
Block a user