Pa_RefreshDevice functionality
This commit is contained in:
parent
16884fc201
commit
1f01a3ddc0
8 changed files with 337 additions and 2 deletions
|
|
@ -449,6 +449,17 @@ PaDeviceIndex Pa_GetDefaultInputDevice( void );
|
|||
PaDeviceIndex Pa_GetDefaultOutputDevice( void );
|
||||
|
||||
|
||||
/** Normally the list of devices is frozen after initialization, until the
|
||||
next time port audio is re-initialized. This provides API stability but
|
||||
has the side effect that hot-pluggable devices such as USB audio headsets
|
||||
might not be up-to-date while the program is running. This method is used
|
||||
to refresh the list of devices within port audio without closing open
|
||||
streams.
|
||||
@return an error code which indicates whether the device refresh was successful.
|
||||
*/
|
||||
PaError Pa_RefreshDevices( void );
|
||||
|
||||
|
||||
/** The type used to represent monotonic time in seconds. PaTime is
|
||||
used for the fields of the PaStreamCallbackTimeInfo argument to the
|
||||
PaStreamCallback and as the result of Pa_GetStreamTime().
|
||||
|
|
|
|||
Loading…
Reference in a new issue