PortAudio 2.0
pa_hostapi_skeleton.c File Reference

Skeleton implementation of support for a host API. More...

#include <string.h>
#include "pa_util.h"
#include "pa_allocation.h"
#include "pa_hostapi.h"
#include "pa_stream.h"
#include "pa_cpuload.h"
#include "pa_process.h"

Data Structures

struct  PaSkeletonHostApiRepresentation
 
struct  PaSkeletonStream
 

Macros

#define PA_SKELETON_SET_LAST_HOST_ERROR(errorCode, errorText)
 

Typedefs

typedef struct PaSkeletonStream PaSkeletonStream
 

Functions

PaError PaSkeleton_Initialize (PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index)
 

Detailed Description

Skeleton implementation of support for a host API.

This file is provided as a starting point for implementing support for a new host API. It provides examples of how the common code can be used.

Note
IMPLEMENT ME comments are used to indicate functionality which much be customised for each implementation.

Macro Definition Documentation

◆ PA_SKELETON_SET_LAST_HOST_ERROR

#define PA_SKELETON_SET_LAST_HOST_ERROR ( errorCode,
errorText )
Value:
void PaUtil_SetLastHostErrorInfo(PaHostApiTypeId hostApiType, long errorCode, const char *errorText)
Definition pa_front.c:142
@ paInDevelopment
Definition portaudio.h:279

Typedef Documentation

◆ PaSkeletonStream

typedef struct PaSkeletonStream PaSkeletonStream

Function Documentation

◆ PaSkeleton_Initialize()