pa_unix_hostapis.c File Reference

#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

PaUtilHostApiInitializerpaHostApiInitializers []
int paDefaultHostApiIndex = 0

Function Documentation

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 
)


Variable Documentation

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.

PaUtilHostApiInitializer* paHostApiInitializers[]

Initial value:

    {











                    







        0   
    }
paHostApiInitializers is a NULL-terminated array of host API initialization functions. These functions are called by pa_front to initialize the host APIs when the client calls Pa_Initialize().

There is a platform specific file which defines paHostApiInitializers for that platform, pa_win/pa_win_hostapis.c contains the Win32 definitions for example.


Generated on Fri Aug 25 17:18:24 2006 for PortAudio by  doxygen 1.4.7