#include <string.h> /* strlen() */
#include <assert.h>
+#include <wchar.h> /* iswspace() */
#include "pa_util.h"
#include "pa_allocation.h"
#include <stdio.h>
/* These next definitions allow the use of the KSUSER DLL */
-typedef KSDDKAPI DWORD WINAPI KSCREATEPIN(HANDLE, PKSPIN_CONNECT, ACCESS_MASK, PHANDLE);
+typedef /*KSDDKAPI*/ DWORD WINAPI KSCREATEPIN(HANDLE, PKSPIN_CONNECT, ACCESS_MASK, PHANDLE);
extern HMODULE DllKsUser;
extern KSCREATEPIN* FunctionKsCreatePin;
if (inputFramesAvailable && (!pInfo->stream->userOutputChannels || inputFramesAvailable >= (int)pInfo->stream->render.framesPerBuffer))
{
unsigned wrapCntr = 0;
- char* data[2] = {0};
+ void* data[2] = {0};
ring_buffer_size_t size[2] = {0};
/* If full-duplex, we just extract output buffer number of frames */
{
PaError result = paNoError;
PaWinWdmStream *stream = (PaWinWdmStream*)s;
- DWORD dwID;
PA_LOGE_;
/*ret = SetPriorityClass(GetCurrentProcess(),REALTIME_PRIORITY_CLASS);
PA_DEBUG(("Class ret = %d;",ret));*/
- stream->streamThread = CREATE_THREAD_FUNCTION (NULL, 0, ProcessingThread, stream, CREATE_SUSPENDED, &dwID);
+ stream->streamThread = CREATE_THREAD_FUNCTION (NULL, 0, ProcessingThread, stream, CREATE_SUSPENDED, NULL);
if(stream->streamThread == NULL)
{
result = paInsufficientMemory;