#include "pa_hostapi.h"Functions | |
| PaError | PaJack_Initialize (PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index) |
| PaError | PaAlsa_Initialize (PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index) |
| PaError | PaOSS_Initialize (PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index) |
| PaError | PaSGI_Initialize (PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index) |
| PaError | PaAsiHpi_Initialize (PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index) |
Variables | |
| PaUtilHostApiInitializer * | paHostApiInitializers [] |
| int | paDefaultHostApiIndex = 0 |
| PaError PaAlsa_Initialize | ( | PaUtilHostApiRepresentation ** | hostApi, | |
| PaHostApiIndex | index | |||
| ) |
| PaError PaAsiHpi_Initialize | ( | PaUtilHostApiRepresentation ** | hostApi, | |
| PaHostApiIndex | index | |||
| ) |
| PaError PaJack_Initialize | ( | PaUtilHostApiRepresentation ** | hostApi, | |
| PaHostApiIndex | index | |||
| ) |
| PaError PaOSS_Initialize | ( | PaUtilHostApiRepresentation ** | hostApi, | |
| PaHostApiIndex | hostApiIndex | |||
| ) |
Initialize the OSS API implementation.
This function will initialize host API datastructures and query host devices for information.
Aspect DeviceCapabilities: Enumeration of host API devices is initiated from here
Aspect FreeResources: If an error is encountered under way we have to free each resource allocated in this function, this happens with the usual "error" label.
| PaError PaSGI_Initialize | ( | PaUtilHostApiRepresentation ** | hostApi, | |
| PaHostApiIndex | index | |||
| ) |
| int paDefaultHostApiIndex = 0 |
The index of the default host API in the paHostApiInitializers array.
There is a platform specific file which defines paDefaultHostApiIndex for that platform, see pa_win/pa_win_hostapis.c for example.
Initial value:
{
0
}
There is a platform specific file which defines paHostApiInitializers for that platform, pa_win/pa_win_hostapis.c contains the Win32 definitions for example.
1.4.7