publish changes

This commit is contained in:
Archie 2024-09-29 02:04:03 +00:00
parent afc5064a7b
commit ac2c6ac843
1605 changed files with 3354 additions and 3354 deletions

View file

@ -130,7 +130,7 @@ typedef unsigned long PaWinWaveFormatChannelMask;
The fields for WAVEFORMATEX and WAVEFORMATEXTENSIBLE are declared as an
unsigned char array here to avoid clients who include this file having
a dependency on windows.h and mmsystem.h, and also to to avoid having
a dependency on arch.h and mmsystem.h, and also to to avoid having
to write separate packing pragmas for each compiler.
*/
#define PAWIN_SIZEOF_WAVEFORMATEX 18

View file

@ -46,7 +46,7 @@
#include "portaudio.h"
#include <windows.h>
#include <arch.h>
#ifdef __cplusplus
extern "C"

View file

@ -58,7 +58,7 @@
// for OutputDebugStringA
#if defined(_MSC_VER) && defined(PA_ENABLE_MSVC_DEBUG_OUTPUT)
#define WIN32_LEAN_AND_MEAN // exclude rare headers
#include "windows.h"
#include "arch.h"
#endif
// User callback

View file

@ -19,7 +19,7 @@
// Note that this #include must come after the other ASIO SDK
// #includes, for example:
//
// #include <windows.h>
// #include <arch.h>
// #include <asiosys.h>
// #include <asio.h>
// #include <asiodrivers.h>
@ -129,7 +129,7 @@
#endif
#endif
#include <windows.h>
#include <arch.h>
#include <asiodrvr.h> /* From ASIO SDK */

View file

@ -87,7 +87,7 @@
//#include <values.h>
#include <new>
#include <windows.h>
#include <arch.h>
#include <mmsystem.h>
#include "portaudio.h"
@ -126,7 +126,7 @@
*/
/*
#include <math.h>
#include <windows.h>
#include <arch.h>
#include <mmsystem.h>
*/
/*

View file

@ -55,7 +55,7 @@
#define _WIN32_WINNT 0x0400 /* required to get waitable timer APIs */
#endif // OpenMPT
#include <initguid.h> /* make sure ds guids get defined */
#include <windows.h>
#include <arch.h>
#include <objbase.h>
@ -325,7 +325,7 @@ NOTE: GetVersionEx() is deprecated as of Windows 8.1 and can not be used to reli
versions of Windows higher than Windows 8 (due to manifest requirements for reporting higher versions).
Microsoft recommends switching to VerifyVersionInfo (available on Win 2k and later), however GetVersionEx
is faster, for now we just disable the deprecation warning.
See: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx
See: https://msdn.microsoft.com/en-us/library/arch/desktop/ms724451(v=vs.85).aspx
See: http://www.codeproject.com/Articles/678606/Part-Overcoming-Windows-s-deprecation-of-GetVe
*/
#pragma warning (disable : 4996) /* use of GetVersionEx */
@ -787,7 +787,7 @@ static PaError AddOutputDeviceInfoFromDirectSound(
}
/* Create a DirectSound object for the specified GUID
Note that using CoCreateInstance doesn't work on windows CE.
Note that using CoCreateInstance doesn't work on arch CE.
*/
hr = paWinDsDSoundEntryPoints.DirectSoundCreate( lpGUID, &lpDirectSound, NULL );
@ -2990,7 +2990,7 @@ static PaError StartStream( PaStream *s )
if( timerPeriodMs < 1 )
timerPeriodMs = 1;
/* set windows scheduler granularity only as fine as needed, no finer */
/* set arch scheduler granularity only as fine as needed, no finer */
/* Although this is not fully documented by MS, it appears that
timeBeginPeriod() affects the scheduling granulatity of all timers
including Waitable Timer Objects. So we always call timeBeginPeriod, whether

View file

@ -6,7 +6,7 @@
#define _INC_PROPIDL_PA
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "arch.h"
#include "ole2.h"
#endif

View file

@ -9,7 +9,7 @@
#endif
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <arch.h>
#include <ole2.h>
#endif

View file

@ -35,7 +35,7 @@
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "arch.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

View file

@ -35,7 +35,7 @@
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "arch.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

View file

@ -35,7 +35,7 @@
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "arch.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

View file

@ -35,7 +35,7 @@
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "arch.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

View file

@ -35,7 +35,7 @@
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "arch.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

View file

@ -35,7 +35,7 @@
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "arch.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

View file

@ -43,7 +43,7 @@
@note pa_wasapi currently requires minimum VC 2005, and the latest Vista SDK
*/
#include <windows.h>
#include <arch.h>
#include <stdio.h>
#include <process.h>
#include <assert.h>
@ -756,7 +756,7 @@ static HRESULT __LogHostError(HRESULT res, const char *func, const char *file, i
case AUDCLNT_S_THREAD_ALREADY_REGISTERED :text ="AUDCLNT_S_THREAD_ALREADY_REGISTERED"; break;
case AUDCLNT_S_POSITION_STALLED :text ="AUDCLNT_S_POSITION_STALLED"; break;
// other windows common errors:
// other arch common errors:
case CO_E_NOTINITIALIZED :text ="CO_E_NOTINITIALIZED: you must call CoInitialize() before Pa_OpenStream()"; break;
default:
@ -894,7 +894,7 @@ static inline LONGLONG SystemTimer_GetTime(SystemTimer *timer)
{
(void)timer;
// QPC: https://docs.microsoft.com/en-us/windows/win32/sysinfo/acquiring-high-resolution-time-stamps
// QPC: https://docs.microsoft.com/en-us/arch/win32/sysinfo/acquiring-high-resolution-time-stamps
if (g_SystemTimerUseQpc)
{
LARGE_INTEGER now;

View file

@ -93,7 +93,7 @@ of a device for the duration of active stream using those devices
#define DRV_QUERYDEVICEINTERFACESIZE (DRV_RESERVED + 13)
#endif
#include <windows.h>
#include <arch.h>
#ifndef __GNUC__ /* Fix for ticket #257: MinGW-w64: Inclusion of <winioctl.h> triggers multiple redefinition errors. */
#include <winioctl.h>
#endif
@ -665,7 +665,7 @@ NOTE: GetVersionEx() is deprecated as of Windows 8.1 and can not be used to reli
versions of Windows higher than Windows 8 (due to manifest requirements for reporting higher versions).
Microsoft recommends switching to VerifyVersionInfo (available on Win 2k and later), however GetVersionEx
is faster, for now we just disable the deprecation warning.
See: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx
See: https://msdn.microsoft.com/en-us/library/arch/desktop/ms724451(v=vs.85).aspx
See: http://www.codeproject.com/Articles/678606/Part-Overcoming-Windows-s-deprecation-of-GetVe
*/
#pragma warning (disable : 4996) /* use of GetVersionEx */
@ -1811,7 +1811,7 @@ static PaWinWdmPin* PinNew(PaWinWdmFilter* parentFilter, unsigned long pinId, Pa
#endif
/* Set endpoint pin ID (this is the topology INPUT pin, since portmixer will always traverse the
filter in audio streaming direction, see http://msdn.microsoft.com/en-us/library/windows/hardware/ff536331(v=vs.85).aspx
filter in audio streaming direction, see http://msdn.microsoft.com/en-us/library/arch/hardware/ff536331(v=vs.85).aspx
for more information)
*/
pin->endpointPinId = pcPin;

View file

@ -88,7 +88,7 @@
#include <stdlib.h>
#include <limits.h>
#include <math.h>
#include <windows.h>
#include <arch.h>
#include <mmsystem.h>
#ifndef UNDER_CE
#include <process.h>
@ -214,7 +214,7 @@ static char *CopyWCharStringToUtf8CString(char *destination, size_t destLengthBy
size for lpMultiByteStr and makes no use of the output parameter itself.
"""
Source: WideCharToMultiByte at MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd374130(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/arch/desktop/dd374130(v=vs.85).aspx
*/
int intDestLengthBytes; /* cbMultiByte */
/* intDestLengthBytes is an int, destLengthBytes is a size_t. Ensure that we don't overflow
@ -479,7 +479,7 @@ static void InitializeDefaultDeviceIdsFromEnv( PaWinMmeHostApiRepresentation *ho
}
/** Convert external PA ID to a windows multimedia device ID
/** Convert external PA ID to a arch multimedia device ID
*/
static UINT LocalDeviceIndexToWinMmeDeviceId( PaWinMmeHostApiRepresentation *hostApi, PaDeviceIndex device )
{
@ -916,7 +916,7 @@ NOTE: GetVersionEx() is deprecated as of Windows 8.1 and can not be used to reli
versions of Windows higher than Windows 8 (due to manifest requirements for reporting higher versions).
Microsoft recommends switching to VerifyVersionInfo (available on Win 2k and later), however GetVersionEx
is faster, for now we just disable the deprecation warning.
See: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx
See: https://msdn.microsoft.com/en-us/library/arch/desktop/ms724451(v=vs.85).aspx
See: http://www.codeproject.com/Articles/678606/Part-Overcoming-Windows-s-deprecation-of-GetVe
*/
#pragma warning (disable : 4996) /* use of GetVersionEx */

View file

@ -42,7 +42,7 @@
@brief Microsoft COM initialization routines.
*/
#include <windows.h>
#include <arch.h>
#include <objbase.h>
#include "portaudio.h"

View file

@ -43,7 +43,7 @@
@brief Win32 implementation of platform-specific PaUtil support functions.
*/
#include <windows.h>
#include <arch.h>
#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)
#include <sys/timeb.h> /* for _ftime_s() */

View file

@ -36,7 +36,7 @@
* license above.
*/
#include <windows.h>
#include <arch.h>
#include <mmsystem.h>
#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)
#include <mmreg.h> /* for WAVEFORMATEX */

View file

@ -35,7 +35,7 @@
* license above.
*/
#include <windows.h>
#include <arch.h>
#include <mmreg.h>
#ifndef WAVE_FORMAT_IEEE_FLOAT
#define WAVE_FORMAT_IEEE_FLOAT 0x0003 // MinGW32 does not define this