hotplug: further refinement of API doc comments

This commit is contained in:
Ross Bencina 2016-09-02 21:47:43 +10:00
commit 9562fb8074
2 changed files with 21 additions and 9 deletions

View file

@ -891,6 +891,10 @@ static PaDeviceConnectionId nextDeviceConnectionId_ = 1000;
PaDeviceConnectionId PaUtil_MakeDeviceConnectionId( void )
{
/* FIXME: if the counter wraps around we may want to ensure that
we are not issuing an ID that belongs to a current device.
we need to honor the invariant "no two devices have the same connection id"
*/
return nextDeviceConnectionId_++;
}