Commit graph

45 commits

Author SHA1 Message Date
philburk
d3021f70a8 ATtempt to set sample rate separately for input and output. 2002-03-21 08:36:34 +00:00
philburk
e763432f49 Minor tweaks while debugging pa_mac_core.c 2002-03-21 00:58:45 +00:00
philburk
f3b86fe9d5 Initialize default device IDs. 2002-03-21 00:54:06 +00:00
philburk
3e603eba3e New tests written when debugging pa_mac_core 2002-03-21 00:44:35 +00:00
philburk
b47db27181 Added paInt16, paInt8, format using new "pa_common/pa_convert.c" file.
Return error if opened in mono mode cuz not supported.
Add support for Pa_GetCPULoad();
Fixed timestamp in callback and Pa_StreamTime() (Thanks n++k for the advice!)
Check for invalid sample rates and return an error.
Check for getenv("PA_MIN_LATEWNCY_MSEC") to set latency externally.
Better error checking for invalid channel counts and invalid devices.
2002-03-21 00:39:42 +00:00
philburk
cf24fdd1c0 Added support for conversion nroutines in pa_convert.c.
SHifted Dither value right by one to account for high pass filter.
2002-03-21 00:32:50 +00:00
philburk
fc4ad21da3 Fixed typo. 2002-03-21 00:31:38 +00:00
philburk
be977e2abb Contains sample format conversion routines, eg. paInt32 to paInt16. 2002-03-21 00:30:03 +00:00
philburk
ac7b7bb96a steadily play a different sine wave on each channel 2002-03-19 01:30:28 +00:00
philburk
35714fdc83 use smaller latency 2002-03-19 01:28:14 +00:00
philburk
f4158d9008 If watchdog detects canary getting starved, then just lower audio thread
priority instead of killing it. If audio completely hung then still kill it.
2002-02-25 17:20:39 +00:00
philburk
fe732b4d77 Added more printfs and sped up test. 2002-02-25 17:19:24 +00:00
philburk
8d8702a9fe Add more tests. 2002-02-22 22:18:30 +00:00
philburk
446407f2d6 Only use Get_AFMT_S16_NE is not defined. 2002-02-22 22:18:14 +00:00
philburk
1dbcc33442 Change from 22050 to 44100 Hz
Process audio in a block for better efficiency.
2002-02-22 22:06:23 +00:00
philburk
85f1b75729 Do all memory allocations through a tracker so we can debug memory leaks. 2002-02-22 22:05:01 +00:00
philburk
1914d1c217 Fix typo in comment: s/bug/big/ 2002-02-22 22:01:35 +00:00
philburk
024eb0bf88 Added bug note about unsupported sample rates. 2002-02-22 21:59:11 +00:00
philburk
83bb63cf86 Fix messages, init toggle variable. 2002-02-22 21:46:18 +00:00
philburk
98aa447859 Cleaned up some comments. 2002-02-22 21:45:45 +00:00
philburk
ca0feff1b0 Add watchdog test that causes user thread starvation by overusing CPU. 2002-02-22 21:45:10 +00:00
philburk
ac04f6d610 Add watch dog that simulates hung audio thread. 2002-02-22 21:44:19 +00:00
philburk
390f193042 Added WatchDog proc if audio running at high priority.
Check error return from read() and write().
Check CPU endianness instead of assuming Little Endian.
2002-02-22 21:40:48 +00:00
stephane
ecf3adbcdb Explicit cast needed for compilation with Code Warrior 7 2002-02-22 10:28:39 +00:00
philburk
ce52e6e902 test tweak 2002-02-22 00:50:50 +00:00
phil
891814e2c1 from Bill Eldridge 2002-02-20 17:57:44 +00:00
phil
c2a838e392 Used to prepare files for checkin on Windows 2002-02-19 20:04:47 +00:00
phil
821ccde910 Added README and LICENSE so we can make nightly builds from CVS 2002-02-19 20:04:26 +00:00
stephane
f51bc7d2c4 New Pa_ASIO_loadDriver that calls CoInitialize on each thread on Windows 2002-02-19 13:45:51 +00:00
dmazzoni
7e73ac614d Fixed the nonblocking open - now it tries to open each device in
nonblocking mode, and if that succeeds, closes it and opens it
again in blocking mode - and added a new Pa_StreamTime
implementation that uses SNDCTL_DSP_GET[I/O]PTR.
2002-02-19 08:24:21 +00:00
dmazzoni
5f6b6644dd Added O_NONBLOCK to all open() calls, so that PortAudio
does not hang if the device is in use by another program.
2002-02-18 06:07:07 +00:00
phil
2c79fcd98b notes on CoreAudio implementation 2002-02-07 18:15:27 +00:00
phil
03fca8ce5d Mods made with Darren Gibbs.
fixed isInput so GetProperty works better,
fixed device queries for numChannels and sampleRates,
one CoreAudio device now maps to separate input and output PaDevices,
audio input works if using same CoreAudio device (some HW devices make separate CoreAudio devices).
2002-02-07 18:04:00 +00:00
phil
c3f0744add add fflush(stdout) so we can see progress 2002-02-07 17:57:44 +00:00
phil
ae00b6ebde try lower latency, better print messages 2002-02-07 17:54:56 +00:00
stephane
1b96fa74a3 Cleanup, test of multiple-stream opening 2002-02-01 10:18:16 +00:00
stephane
5813acec61 test from stephane 2002-01-31 19:38:16 +00:00
philburk
879780faa4 tweak 2002-01-31 19:16:05 +00:00
stephane
2638cf43c9 test 2002-01-31 19:08:14 +00:00
stephane
4e5d7d23fd tweak test 2002-01-31 19:02:56 +00:00
phil
9ba97df115 Added file for testing CVS 2002-01-31 04:25:55 +00:00
rossb
59dda9858a more comment cleanups, removed incorrect synthetic device 0 comment 2002-01-24 22:42:56 +00:00
rossb
e29246b0ea fixed formatting, typos and grammar in comments
reordered PaTimestamp to put all device info functionality together
2002-01-23 20:01:11 +00:00
phil
3627198ff3 Removed extra Id 2002-01-22 00:55:40 +00:00
phil
c98797d938 Initial revision 2002-01-22 00:51:49 +00:00