Implement defaults functions

The defaults functions will now return the default device for the
input/output as provided by pulseaudio.
The default output device is the monitor of the default sink.
This commit is contained in:
fryshorts
2014-04-28 20:44:01 +02:00
parent bbda252e2d
commit 30a688e942
3 changed files with 57 additions and 7 deletions

View File

@@ -83,7 +83,7 @@ void pulse_accept();
* Request source information
*
* The function will block until the operation was executed and the mainloop
* called the provided callback functions.
* called the provided callback function.
*
* @return negative on error
*
@@ -97,7 +97,7 @@ int_fast32_t pulse_get_source_info_list(pa_source_info_cb_t cb, void *userdata);
* Request server information
*
* The function will block until the operation was executed and the mainloop
* called the provided callback functions
* called the provided callback function.
*
* @return negative on error
*