richard_ash
148784f3c7
Commit fix for crash during full-duplex operation with PulseAudio. Reported by Al Dimond, fix proposed by Ross Bencina, acked by Dmitry Kostjuchenko. This fixes a bug with Dmitry's zero-copy optimisations. Fix works in Audacity (where the bug was found), so comitting upstream.
2010-11-12 17:16:21 +00:00
rossb
0fec134103
clarified some doc comments in pa_ringbuffer.h including one typo that said <write> instead or <read>
2010-10-24 10:21:35 +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
dbbd94da2c
reverted changes from revisions 1516-1517 due to incorrectly made changes to processor's core which result in corrupted audio in some specific situations
2010-07-09 17:53:52 +00:00
dmitrykos
a612dd6ac6
fixed processor optimization from previous release for non-interleaved host buffers case (for example ASIO)
2010-06-29 20:58:15 +00:00
dmitrykos
4b4a9b5b79
implemented optimization for NonAdaptingProcess processor: avoid copying of input/output from temp user buffer to host buffer by providing host buffer pointer directly to user, e.g. achieving processing of host buffer in place
2010-06-28 21:35:04 +00:00
dmitrykos
6421f964d7
corrected comments to Int24_To_Int16_Dither
2010-04-17 07:43:00 +00:00
dmitrykos
bd2bfe985e
implemented 'Int24_To_Int16_Dither' converter to allow 24-bit audio be played (before was silence for WMME and DirectSound)
2010-04-16 19:08:00 +00:00
dmitrykos
d714962621
wasapi:
...
- fixed int24 Mono to Stereo mixer (affects Mono streams starting in Exclusive mode)
pa_converters:
- avoid using 64-bit integer math for Int24_To_Float32 and Int24_To_Int32 under x64 Posix platforms (long is 64-bit there), now using explicit PaInt32 type
2010-03-25 23:27:27 +00:00
dmitrykos
e4c126aab1
implemented optional log output to Visual Studio Output window if PA_ENABLE_MSVC_DEBUG_OUTPUT is defined, this simplifies debugging of external process if Visual Studio is attached to process
2010-03-10 21:47:01 +00:00
rossb
6bd9c2fd1a
made buffer in PaUtil_DebugPrint local rather than static to avoid multithreaded issues
2009-12-23 05:35:08 +00:00
rossb
0b572e2aa8
added empty memory barrier macros for WINCE thanks to Dmitry Kostjuchenko
2009-12-08 09:17:34 +00:00
bjornroche
c55f47de78
fix for ringbuffer problem on 64-bit macs. Also, this should make it possible to migrate away from using the long datatype on pa_ringbuffer.
2009-11-18 16:09:05 +00:00
philburk
998020553f
Fixed dither for 64-bit targets.
2009-10-12 21:00:53 +00:00
rossb
a596358a3d
fixed inputBufferAdcTime calculation for AdaptingInputOnlyProcess. patch from Yann.
2009-03-13 16:41:39 +00:00
philburk
e430a7cc36
remove extra parameter from debug statement to prevent pointer error
2008-11-03 19:31:30 +00:00
philburk
c49f234204
Add __TIME__ to version text.
2008-06-28 18:28:07 +00:00
rossb
5a69e3875e
always use __vsnprintf with MSC
2008-05-15 04:35:30 +00:00
bjornroche
c1e1d067d2
moved trunk into place
2008-03-20 14:24:39 +00:00