#include <windows.h>
#include <mmreg.h>
#include <ks.h>
#include <ksmedia.h>
#include <stdio.h>
#include "portaudio.h"
#include "pa_util.h"
#include "pa_win_wdmks_utils.h"
Functions | |
int | PaWin_WDMKS_QueryFilterMaximumChannelCount (void *wcharDevicePath, int isInput) |
int PaWin_WDMKS_QueryFilterMaximumChannelCount | ( | void * | wcharDevicePath, | |
int | isInput | |||
) |
Query for the maximum number of channels supported by any pin of the specified device. Returns 0 if the query fails for any reason.
wcharDevicePath | A system level PnP interface path, supplied as a WCHAR unicode string. Declard as void* to avoid introducing a dependency on wchar_t here. | |
isInput | A flag specifying whether to query for input (non-zero) or output (zero) channels. |
References paNoError, and PaUtil_FreeMemory().