dmitrykos
326549c55e
wasapi: use Windows common Sleep() API instead of PA_Sleep()
...
use GetTickCount64() API which is awailable for Windows Store app instead of _ftime_s()
remove WAVEFORMAT and WAVEFORMATEX declaration and use the corresponding Windows include file instead
2016-08-14 10:52:36 +03:00
dmitrykos
26c0dc4458
wasapi: code cleanup, removed compiler warnings
2016-08-08 21:09:15 +03:00
dmitrykos
2e7545f17f
wasapi: ported to WinRT (UWP)
...
os: compatibility fixes for compilation of PortAudio as Windows Store library (only WASAPI hostapi is compatible with Windows Store APIs)
2016-08-03 22:39:41 +03:00
Phil Burk
ed463ba658
Normalize all the line endings
2016-05-18 22:13:20 -07:00
rbencina
71b8f8142e
Removed MSVC dependence on ksguid.lib from src/os/win/pa_win_wdmks_utils.c (ksguid.lib is no longer in Platform SDK 8.0). Always use static instances of GUIDs like the GCC builds do. Removed ksguid.lib from MSVC project file. The following symbols are no longer used: PA_WDMKS_NO_KSGUID_LIB, PAWIN_WDMKS_NO_KSGUID_LIB; removed them from CMakeLists.txt and the MSVC project file.
2015-01-21 05:35:39 +00:00
rbencina
3dd3c9f5ce
move static variables into x86 section so they don't generate warnings when trying to build on 64 bit
2013-04-07 14:15:24 +00:00
robiwan
dd82ba9976
Fix for WaveRT WDM drivers that do not support memory mapped position register, and correct 8 channel speaker geometry mapping.
2012-12-28 16:54:25 +00:00
robiwan
1cc4bbbf9a
Changes to make compilation/linking work on Mingw
2012-06-29 12:30:43 +00:00
philburk
b511280f66
Fix #164 by using if instead if ifdef PA_USE_* for unix builds.
2011-08-25 07:17:48 +00:00
rossb
58015f7b17
changed default host API logic to use first successfully initialized host api with a defined default input or output device. resolves ticket #49
2011-08-18 03:31:51 +00:00
rob_bielik
e535a7b800
Initial CMake support (MSVC only at the moment)
2011-05-19 08:24:02 +00:00
rob_bielik
b5fc9f995f
Added pa_win_coinitialize.c to MSVC project and windows configure scripts
2011-05-10 06:35:21 +00:00
rossb
52ab9d6600
refactored COM initialization for dsound, asio and wasapi to new source file pa_win_coinitialize.c. fixes com uninitialisation bugs in error cases. resolves ticket #128
2011-05-09 20:05:34 +00:00
rossb
26b196a9f0
moved skeleton to end of win32 initializers list so it isn't considered default
2011-03-04 04:18:44 +00:00
rossb
2fb11cbabd
support building skeleton host api on windows
2011-03-04 04:12:08 +00:00
rob_bielik
59f8c8975c
Ticket #132
2011-02-17 15:56:04 +00:00
rossb
5027e95e70
corrected typos as per jf_menards's patch in ticket #58
2011-02-05 14:33:29 +00:00
rossb
b4931e7298
removed/cleaned up doxygen @todo items. moved to TRAC
2011-02-02 18:58:17 +00:00
dmitrykos
52a9ce20ad
wasapi:
...
- fixed compile under MinGW64 compiler (gcc version 4.5.1 20100702)
- cleaned portability typedefs, thanks to MinGW64 project added KS headers which also work well for MinGW32 (tested: gcc version 4.5.0)
wdmks:
- made it possible to use additional WDM/KS info for WMME/DS back-ends by defining PAWIN_USE_WDMKS_DEVICE_INFO for compilation by MinGW32/64 compilers if you include modified headers located in '\src\hostapi\wasapi\mingw-include'
2010-08-24 17:44:00 +00:00
dmitrykos
509e9cc3e1
unix: fixed compile failure due to warning about unused variable when compilation takes place with -Werror switch
2010-06-10 08:05:29 +00:00
dmitrykos
01f740b882
oss: fixed compile for systems missing 'pthread_cancel' series of functions, this allows to compile PortAudio under Android platform with OSS as audio host back-end
2010-06-06 17:36:33 +00:00
dmitrykos
558ae4f2f4
provided ability not to depend on ksguid.lib when using WDMKS as it may not be provided for x64 SDK by default, define PA_WDMKS_NO_KSGUID_LIB to use static declarations, x64 MSVC project corrected to define PA_WDMKS_NO_KSGUID_LIB for x64 compilations. added WASAPI symbols to portaudio.def.
2010-02-16 11:18:52 +00:00
dmitrykos
01a0391237
finished WASAPI implementation:
...
- Callback/Blocking interface
- Playback/Capture
- Shared/Exclusive mode
to compile you must have installed recent Windows SDK(Vista SDK or higher) and min Visual Studio 2005 SP1. WASAPI is enabled by default, to disable you must define PA_NO_WASAPI prior compilation.
2010-02-16 09:46:08 +00:00
rossb
99e0648891
added msvc link pragma to require ksguid.lib
2010-01-24 08:42:02 +00:00
rossb
a979aceffd
ifdefs for correct windows mobile compilation
2009-12-10 08:10:08 +00:00
bjornroche
31ed9cbe6e
patch to use mach absolute time on mac OS X since apple advises against gettimeofday in IOProcs. Patch due to Ross Bencina.
2009-10-22 17:28:35 +00:00
aknudsen
6e6e3ac65e
Clarify hostapi ordering somewhat
2009-05-24 17:00:36 +00:00
rossb
076044de33
added pragma to autolink libwinmm with msvc to get timeGetTime symbol when only using ASIO. thanks Yann
2009-04-07 10:08:48 +00:00
rossb
1de1b421f9
initial support for ac3+wma spdif passthrough for pa_win_wmme. see flags in pa_win_wmme.h. flags currently work for OpenStream but are ignored for IsFormatSupported
2009-01-21 12:07:32 +00:00
aknudsen
bf2d5d7e6b
Order Unix host api initializers depending on whether we're on Linux
2008-03-30 21:02:09 +00:00
bjornroche
c1e1d067d2
moved trunk into place
2008-03-20 14:24:39 +00:00