From a3d9f6cd3cb3f629a4235ae9276e781782bf8931 Mon Sep 17 00:00:00 2001 From: Ross Bencina Date: Sat, 3 Sep 2016 16:28:39 +1000 Subject: [PATCH] document that initialization order does not predictably determine host api indexes --- include/portaudio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- 2.43.0