From: Ross Bencina Date: Sat, 3 Sep 2016 06:28:39 +0000 (+1000) Subject: document that initialization order does not predictably determine host api indexes X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=a3d9f6cd3cb3f629a4235ae9276e781782bf8931;p=portaudio document that initialization order does not predictably determine host api indexes --- diff --git a/include/portaudio.h b/include/portaudio.h index 0d72b52..311d0b0 100644 --- a/include/portaudio.h +++ b/include/portaudio.h @@ -293,9 +293,11 @@ typedef enum PaHostApiTypeId hostApiTypeIds parameter is not available. The paInvalidHostApi error indicates that there was a problem with the - hostApiTypes array. E.g. it contained duplicate entries. + hostApiTypes array. E.g. it contained invalid or duplicate entries. @note The host API initialization order determines default devices. + There is no predictable relationship between the order that host APIs appear + in hostApiTypes, and their hostApiIndexes assigned by Pa_Initialize(). @see PaHostApiTypeId */