Commit graph portaudio/src/hostapi/asio
Author SHA1 Message Date
DaShun
c5e8f1dca7 Add asio lib. 2018-04-17 11:36:55 +08:00
rbencina
a51584e3b1 factored out InitPaDeviceInfoFromAsioDriver function. skip device rather than failing entire init process if a single ASIO driver returns an error during init. This was happening with MOTU devices if the device wasn't present. See ticket #221 2013-05-02 01:06:01 +00:00
rbencina
b1f0cc8829 fix assertion failures with blocking io in ASIO host api. host buffer formats were not inited with non-interleaved flag in parameters to blocking i/o buffer processor 2012-12-04 14:45:31 +00:00
rbencina
b054f44292 clarified and corrected comment 2012-11-11 13:27:22 +00:00
rbencina
17e4472219 zero asio host api rep immediately after init. prevents (unlikely) issue with trying to free uninited allocations if com init fails during Pa_Initialize() 2012-04-02 07:58:04 +00:00
rbencina
21f039bd09 fixed typo in comment. added whitespace. 2012-04-02 07:20:04 +00:00
robiwan
32e0080310 ASIO:
- Certain drivers write over the available memory of PaAsioDriverInfo, now a padding area makes sure
  the stack doesn't get corrupted.
WDM-KS:
- Corrected capture event handling
2012-02-23 15:29:24 +00:00
rossb
d60f24abc5 updated ASIO-README.txt closes ticket #8 2011-11-20 07:12:10 +00:00
rossb
434f36c1c7 name therapy: renamed suggestedLatencyFrames to targetBufferingLatencyFrames 2011-11-10 13:59:53 +00:00
rossb
4b1aa56f00 use bufferMaxSize for defaultHighLatency in asio impl 2011-11-10 13:37:05 +00:00
rossb
002db0d9ff added comments explaining why ticket #199 can't be fixed 2011-11-10 08:34:00 +00:00
rossb
6b8eba624b fixed host buffer size algorithm to prefer multiples of user frames per buffer. fixes #93 2011-11-10 06:55:33 +00:00
rossb
d03dd9e357 added userFramesPerBuffer parameter to SelectHostBufferSize in preparation for improving asio buffer size handling 2011-05-10 15:58:15 +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
cbd24dc45c renamed PaUtil_GetBufferProcessorInputLatency to PaUtil_GetBufferProcessorInputLatencyFrames and PaUtil_GetBufferProcessorOutputLatency to PaUtil_GetBufferProcessorOutputLatencyFrames. see ticket #161 2011-05-02 17:07:11 +00:00
rossb
1938ce6628 renamed PaAsio_GetAvailableLatencyValues to PaAsio_GetAvailableBufferSizes and included a backward compatibility #define. see ticket #111. 2011-05-02 15:49:20 +00:00
rossb
1783cf4fba use LoadLibraryA instead of LoadLibrary to support unicode build 2011-03-04 01:45:06 +00:00
rob_bielik
59f8c8975c Ticket #132 2011-02-17 15:56:04 +00:00
rossb
e794f3bd02 renamed some latency variables to make it clear they are in frames not seconds 2011-02-12 09:21:52 +00:00
rossb
e286d2c10a removed doxygen TODO items from pa_asio implementation. migrated them to new trac tasks: #103, #104, #105, #106, #107, #108, #109, #110, #111 2011-02-01 12:52:14 +00:00
rossb
a0eb0545a5 added pragma to auto-link winmm.lib when compiling with msvc 2010-07-14 06:45:25 +00:00
dmitrykos
1c289f924e optimized PA processor for case when host and user buffer match by type and size, now host buffer pointer will be passed to user space directly, additional copying of audio input/output data is thus avoided.
asio: apply paNonInterleaved flag on host formats for callback mode (required for processor compatibility).
2010-07-10 17:41:25 +00:00
dmitrykos
0b75c266df fixed ASIO thiscall resolver for GCC 4.+: CALL_THISCALL_1_DOUBLE was failing due to strong optimization of GCC compiler, added EDX in clobbered register list to warn GCC that resolver uses it explicitly 2010-04-11 16:13:46 +00:00
dmitrykos
6afe78328f excluded x86-64 platform from ASIO 'thiscall' resolver as x64 ABI does not have 'thiscall' calling convention anymore 2010-04-07 21:07:55 +00:00
rossb
dc6f3c8ec2 added cast to IsDebuggerPresentPtr, fixes compilation of asio on some systems 2009-12-10 08:09:21 +00:00
rossb
0e141b2d19 removed reaper asio driver blacklisting 2009-06-16 16:12:41 +00:00
rossb
e1cf376aa6 fixed bug in asio blocking i/o stream initialization which would cause crash (bad ptr). enabled timeout code in read/writestream. patch from sven fischer 2009-03-13 16:31:28 +00:00
rossb
b4b747fc10 factored asio sample rate setting code into separate functions. added PaAsio_SetStreamSampleRate() function. 2009-01-05 09:08:44 +00:00
rossb
24a7e81401 cleaned up logic related to theAsioStream singleton pointer (now gets set in OpenStream and cleared in CloseStream. added callback-completion waiting to StopStream (was only in AbortStream before). cleaned up isStopped/isActive logic 2009-01-05 08:59:14 +00:00
rossb
96fd679385 cleanup: moved blocking stream asio callback function next to other blocking related code 2009-01-04 08:28:42 +00:00
philburk
78ce8cedd5 Supports multiple threads using ASIO by adding CoInitialize(0) and CoUninitialize() calls. 2008-06-28 18:27:34 +00:00
bjornroche
c1e1d067d2 moved trunk into place 2008-03-20 14:24:39 +00:00