Commit graph portaudio/src
Author SHA1 Message Date
rbencina
7f4f7e44cb PA/CoreAudio: fixed copy-pasto: last host error was being associated with paInDevelopment host api not paCoreAudio 2014-11-05 01:03:57 +00:00
robiwan
6733684fca Added more debugging info in wdmks/pa_win_wdmks.c 2014-08-28 05:59:40 +00:00
robiwan
d7085cb226 Committing Lelands patch for WDM-KS, should take care of some of the problems referenced here http://music.columbia.edu/pipermail/portaudio/2014-August/016246.html 2014-08-15 06:35:32 +00:00
bejayoharen
55adee0a90 olivier's device name patch for os x 2014-06-28 16:28:17 +00:00
rbencina
4c720adbfa pa_win_ds.c converted tabs to spaces (only a small amount of code was incorrectly using tabs). 2014-04-11 05:46:40 +00:00
rbencina
666f30ea67 DirectSound: correctly output device names as UTF-8 when compiled with UNICODE defined. Note that this patch may not be correct if UNICODE is not defined. Patch from Tobias Erichsen. See ticket #224 for details. 2014-04-11 05:44:50 +00:00
rbencina
9222d8bfb4 pa_win_wmme.c: converted tabs to spaces (just a few sections) 2014-04-11 05:31:13 +00:00
rbencina
7a3b2d1dd9 WMME: correctly convert device names to UTF-8, see ticket #224. Thanks to Tobias Erichsen for the patch. 2014-04-11 05:25:48 +00:00
robiwan
4aa340a57e CMake: Added PA_WDMKS_NO_KSGUID_LIB to WDMKS and solution folders
WDMKS: Support for default device (see caveat for input devices though in ScanDeviceInfos)
       Added possibility to set channel mask
2014-04-09 14:27:21 +00:00
philburk
13c1e731db Add stub to pa_trace.c to eliminate warning.
"make install" was causing a warning if PA_TRACE_REALTIME_EVENTS
was not defined.
2014-01-17 03:45:15 +00:00
gineera
5583cd452b Pa_process: Fix input channel adaption by not skipping the input conversion when the host and user number-of-channels are not equal. The bug manifested when recording mono from a stereo-only device (eg with Alsa hw: devices on some sound-cards), and was reported by the Mixxx team -see https://bugs.launchpad.net/mixxx/+bug/900364. (In the long-term, some refactoring may be preferable.) Also fixed copy-paste typos in comments. 2013-11-18 11:42:27 +00:00
gineera
e62b586273 Jack: Add a port-type filter expression to calls to jack_get_ports() so that only audio ports are listed (removing eg Midi etc) as reported by 'sqweek'. 2013-11-15 12:27:07 +00:00
gineera
e2662ae2ad Alsa: Revise the use of the environment variable 'PA_ALSA_PLUGHW' so it correctly influences the Device-List and the capabilities reported. Also rename a mis-leading variable and add one additional DEBUG line. 2013-10-17 12:44:09 +00:00
rbencina
c23e362fcb pa_mac_core.c line 664 fixed incorrect memset size (was using sizeof(ptr) not sizeof(struct type) 2013-08-29 00:36:56 +00:00
gineera
3029485a0e Alsa: Add function to prevent duplicate parts in the visible pa device name string, that occur when the pcm-device name starts with the card name (since they are both used). Achieved by trimming the pcm-device string beginning. 2013-08-27 17:14:51 +00:00
gineera
bbf60ab137 Alsa: Fix memory leak as nonMmapBuffers were not freed (since change to realloc). Clean out corresponding dead code chunk. 2013-08-22 22:01:17 +00:00
gineera
d17353a602 Alsa: Rename some variables in pa_linux_alsa where the meaning is mis-leading or wrong in the Alsa context. Also tweak one debug message and a few typos. 2013-08-22 19:43:07 +00:00
gineera
b1a62661bf Alsa: Fix handling of poll descriptors in PaAlsaStream_WaitForFrames(). Otherwise if capture signals before playback a duplex stream could poll the wrong descriptor, causing a loop (reported by Alexander Kartashov). 2013-08-13 20:37:04 +00:00
rbencina
2a992efaa8 fixed bug that was causing memory corruption in PA/ALSA when host sample format was lager than user format. e.g. using 16 bit output with a sound card that used 24 bit buffers. the incorrect input zeroer was being used. Thanks to Anders Tornvig for identifying the problem 2013-08-06 08:26:55 +00:00
gineera
80c77d9ae4 OSS: revise default latency reporting: previous fixed values could not actually be achieved with OSS power-of-2 sizes. Instead try a configuration and correctly report the default latency based on one less than the number of fragments; also fix the stream component 'bufSz' calculation. 2013-06-08 19:30:41 +00:00
gineera
28f9ee0965 Alsa: revise latency use and calculations, since the latency should be equivalent to one Alsa period less than the Alsa ringbuffer (was based on the whole). Also fixes failure if zero latency was specified. 2013-06-08 19:12:25 +00: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
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
rbencina
33df37a804 increase upper limit for absurd sample rates from 200000 to 384000 Hz. via Richard from Audacity 2012-12-04 18:39:48 +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
58d75e6d8e check for NULL data->interface passed to KsPropertySetEnumerateCallback. Thanks to Asinbow Wang 2012-11-10 02:55:20 +00:00
rbencina
878e2d2839 fixes for unicode build 2012-10-31 06:21:34 +00:00
rbencina
f33048b20c fix for unicode build 2012-10-31 06:20:59 +00:00
philburk
042f67383c Add comment about including source code for ring buffer in app. 2012-10-07 19:00:11 +00:00
robiwan
b053bf5ce9 https://www.assembla.com/spaces/portaudio/tickets/217 2012-09-17 06:19:34 +00:00
philburk
468c6bceb7 Fix some typos in docs.
Fix some compiler warnings for win32.
2012-09-01 00:10:13 +00:00
robiwan
ee7fa396e1 Removed _alloca in WdmGetPropertySimple which seems to mess up the stack when using MinGW 2012-07-02 08:19:02 +00:00
robiwan
eaf970f1e2 Removed warnings when building with MinGW 2012-06-30 05:47:46 +00:00
robiwan
1cc4bbbf9a Changes to make compilation/linking work on Mingw 2012-06-29 12:30:43 +00:00
robiwan
3438e46e74 Minor refactoring to remove some warnings 2012-06-29 11:44:12 +00:00
robiwan
2e6ad64c00 Changed so that Mingw build should reference WASAPI supplied Mingw includes + minor refactorings 2012-06-29 10:04:30 +00:00
robiwan
2f29f8611c Added GUID, enumerators and structs to accomodate Vista and later OSs. 2012-06-29 09:58:48 +00:00
philburk
b4a22b91ff Fix ring buffer handling in pa_mac_core.c that caused many spurious paInputOverflow flags.
Fixed size bug when input underflow detected. Code was confused between bytes and elements.
Zero out the beginning of a recording when detecting pops to prevent start of audio from looking like a pop in qa loopback test.
2012-06-25 01:12:29 +00:00
robiwan
86aef22e9c Fixed bug in DS code 2012-05-30 06:37:58 +00:00
gineera
f69a02a99a Alsa: re-write SetApproximateSampleRate() to allow small deviations from a nominal requested rate, so inexactly clocked cards do not fail (use 1% tolerance). 2012-05-18 16:04:30 +00:00
gineera
8a244e09f1 Alsa: remove tabs and fix whitespace in pa_linux_alsa.c in line with the Portaudio coding standards 2012-05-04 08:18:05 +00:00
gineera
d82cd55923 Alsa: default sample rate should always be chosen with Alsa-lib sample-rate conversion disabled. 2012-05-02 21:46:01 +00:00
gineera
ce083a09b7 Alsa: fix defaultHighLatency - sample rate has to be set following reset of hwParams. 2012-05-02 21:32:40 +00:00
rbencina
ebd20865db rolling back r1822 and r1815 to pa_linux_alsa.c . will recommit on alsa_hw_endian_subdevice branch 2012-05-01 08:18:14 +00:00
dmitrykos
4ae4fa0ef9 wasapi: provide meaningful error code when opening the stream and error occurred instead of just paInvalidDevice 2012-04-16 08:16:20 +00:00
dmitrykos
5701b05e0f wasapi: zero wasapi host api rep immediately after init. prevents (unlikely) issue with trying to free uninited allocations if com init fails during Pa_Initialize() (Ross Bencina) 2012-04-02 12:25:14 +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
e2f0932362 explicit casts for double->int. comment cleanups. fixed an bug where uninited pointer could be freed during teardown if memory allocation failed during directsound host api init (extremely unlikely). 2012-04-02 07:45:18 +00:00