PortAudio
2.0
|
Portaudio WDM-KS host API. More...
#include <stdio.h>
#include <string.h>
#include <assert.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"
#include "portaudio.h"
#include "pa_debugprint.h"
#include <windows.h>
#include <winioctl.h>
#include <process.h>
#include <mmreg.h>
#include <ks.h>
#include <ksmedia.h>
#include <tchar.h>
#include <setupapi.h>
Data Structures | |
struct | __PaWinWdmPin |
struct | __PaWinWdmFilter |
struct | __PaWinWdmHostApiRepresentation |
struct | __PaWinWdmDeviceInfo |
struct | __DATAPACKET |
struct | __PaWinWdmStream |
Macros | |
#define | PA_LOGE_ |
#define | PA_LOGL_ |
#define | CREATE_THREAD (HANDLE)_beginthreadex( 0, 0, ProcessingThreadProc, stream, 0, &stream->processingThreadId ) |
#define | EXIT_THREAD _endthreadex(0) |
Typedefs | |
typedef KSDDKAPI DWORD WINAPI | KSCREATEPIN (HANDLE, PKSPIN_CONNECT, ACCESS_MASK, PHANDLE) |
typedef struct __PaWinWdmFilter | PaWinWdmFilter |
typedef struct __PaWinWdmPin | PaWinWdmPin |
typedef struct __PaWinWdmHostApiRepresentation | PaWinWdmHostApiRepresentation |
typedef struct __PaWinWdmDeviceInfo | PaWinWdmDeviceInfo |
typedef struct __DATAPACKET | DATAPACKET |
typedef struct __PaWinWdmStream | PaWinWdmStream |
Functions | |
PaError | PaWinWdm_Initialize (PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index) |
Variables | |
HMODULE | DllKsUser = NULL |
KSCREATEPIN * | FunctionKsCreatePin = NULL |
Portaudio WDM-KS host API.
#define CREATE_THREAD (HANDLE)_beginthreadex( 0, 0, ProcessingThreadProc, stream, 0, &stream->processingThreadId ) |
#define EXIT_THREAD _endthreadex(0) |
#define PA_LOGE_ |
Referenced by PaWinWdm_Initialize().
#define PA_LOGL_ |
Referenced by PaWinWdm_Initialize().
typedef struct __DATAPACKET DATAPACKET |
typedef KSDDKAPI DWORD WINAPI KSCREATEPIN(HANDLE, PKSPIN_CONNECT, ACCESS_MASK, PHANDLE) |
typedef struct __PaWinWdmDeviceInfo PaWinWdmDeviceInfo |
typedef struct __PaWinWdmFilter PaWinWdmFilter |
typedef struct __PaWinWdmHostApiRepresentation PaWinWdmHostApiRepresentation |
typedef struct __PaWinWdmPin PaWinWdmPin |
typedef struct __PaWinWdmStream PaWinWdmStream |
PaError PaWinWdm_Initialize | ( | PaUtilHostApiRepresentation ** | hostApi, |
PaHostApiIndex | index | ||
) |
References __PaWinWdmHostApiRepresentation::allocations, __PaWinWdmFilter::bestSampleRate, __PaWinWdmHostApiRepresentation::blockingStreamInterface, __PaWinWdmHostApiRepresentation::callbackStreamInterface, PaDeviceInfo::defaultHighInputLatency, PaDeviceInfo::defaultHighOutputLatency, PaDeviceInfo::defaultLowInputLatency, PaDeviceInfo::defaultLowOutputLatency, PaDeviceInfo::defaultSampleRate, DllKsUser, __PaWinWdmDeviceInfo::filter, __PaWinWdmHostApiRepresentation::filterCount, __PaWinWdmHostApiRepresentation::filters, __PaWinWdmFilter::friendlyName, FunctionKsCreatePin, GetStreamReadAvailable(), GetStreamWriteAvailable(), PaDeviceInfo::hostApi, PaUtilHostApiRepresentation::info, __PaWinWdmDeviceInfo::inheritedDeviceInfo, __PaWinWdmHostApiRepresentation::inheritedHostApiRep, __PaWinWdmFilter::maxInputChannels, PaDeviceInfo::maxInputChannels, __PaWinWdmFilter::maxOutputChannels, PaDeviceInfo::maxOutputChannels, PaDeviceInfo::name, PA_DEBUG, PA_LOGE_, PA_LOGL_, paInsufficientMemory, paNoDevice, paNoError, PaUtil_AllocateMemory(), PaUtil_CreateAllocationGroup(), PaUtil_DestroyAllocationGroup(), PaUtil_DummyGetCpuLoad(), PaUtil_DummyGetReadAvailable(), PaUtil_DummyGetWriteAvailable(), PaUtil_DummyRead(), PaUtil_DummyWrite(), PaUtil_FreeAllAllocations(), PaUtil_FreeMemory(), PaUtil_GroupAllocateMemory(), PaUtil_InitializeStreamInterface(), paWDMKS, ReadStream(), PaHostApiInfo::structVersion, PaDeviceInfo::structVersion, and WriteStream().
HMODULE DllKsUser = NULL |
Referenced by PaWinWdm_Initialize().
KSCREATEPIN * FunctionKsCreatePin = NULL |
Referenced by PaWinWdm_Initialize().