wasapi: new API PaWasapi_SetStreamStateHandler() to be able to catch WASAPI error inside the rendering thread loop (and handle it gracefully, for example restart the stream), protect from dangling pointer during device list update, cleanup header
This commit is contained in:
parent
7572245aec
commit
83ab55b62d
3 changed files with 362 additions and 203 deletions
|
|
@ -45,10 +45,12 @@ PaWasapi_GetAudioClient @56
|
|||
PaWasapi_UpdateDeviceList @57
|
||||
PaWasapi_GetDeviceCurrentFormat @58
|
||||
PaWasapi_GetDeviceDefaultFormat @59
|
||||
PaWasapi_GetDeviceRole @60
|
||||
PaWasapi_ThreadPriorityBoost @61
|
||||
PaWasapi_ThreadPriorityRevert @62
|
||||
PaWasapi_GetFramesPerHostBuffer @63
|
||||
PaWasapi_GetJackCount @64
|
||||
PaWasapi_GetJackDescription @65
|
||||
PaWasapi_SetDefaultInterfaceId @66
|
||||
PaWasapi_GetDeviceMixFormat @60
|
||||
PaWasapi_GetDeviceRole @61
|
||||
PaWasapi_ThreadPriorityBoost @62
|
||||
PaWasapi_ThreadPriorityRevert @63
|
||||
PaWasapi_GetFramesPerHostBuffer @64
|
||||
PaWasapi_GetJackCount @65
|
||||
PaWasapi_GetJackDescription @66
|
||||
PaWasapi_SetDefaultInterfaceId @67
|
||||
PaWasapi_SetStreamStateHandler @68
|
||||
Loading…
Reference in a new issue