Commit graph

86 commits

Author SHA1 Message Date
rossbencina
320bace3ef added "Clarify Stream State Machine and State Querying Functions" proposal 2002-06-12 00:33:22 +00:00
rossb
51d40fbecd added readme about compiling the ASIO sdk with borland compilers 2002-06-09 00:33:05 +00:00
rossb
51ecb8833f changed last modified date 2002-05-22 00:19:32 +00:00
rossb
e8279e5039 updated Rename Pa_GetCPULoad(), PaDeviceID etc. for Consistency with new namings
revised multihost api and other proposals to use new naming conventions
replaced paDefaultHostApi with Pa_GetDefaultHostApi()
2002-05-22 00:16:42 +00:00
rossb
8f65d6cb2b added note to latency proposal -> Pa_GetMinNumBuffers() will be removed from API 2002-05-15 17:56:59 +00:00
rossb
c44218276b various edits to proposals document 2002-05-13 21:08:36 +00:00
philburk
d5b636eea7 More informative DBUG statement. 2002-05-07 15:40:40 +00:00
philburk
d9f118bbac link to release notes 2002-05-06 18:29:52 +00:00
philburk
06e8ece9df Added V18 release notes. 2002-05-06 17:18:27 +00:00
philburk
5186638b3f More changes by Ross 2002-05-06 16:55:25 +00:00
philburk
ce2804c759 Documents should be in CVS to simplify release. 2002-05-06 16:51:37 +00:00
philburk
78a93bacb2 Added for V18 easy build 2002-05-06 16:49:10 +00:00
philburk
28558f3d96 Checked in by Phil for Pieter
Many fixes and changes: POLLIN for input, not POLLOUT.
Open and close ALports in the audio-process-thread.
Proper semaphore communication now.
Hopefully stable enough now (for beta release?).
2002-05-04 20:38:42 +00:00
philburk
4bf622af59 Demonstrate bug with Terratect where stream sample rates change! 2002-05-02 20:16:29 +00:00
philburk
b5a2c9d6d8 Reorganized code so that it is easier to test in a loop. 2002-05-02 20:15:40 +00:00
philburk
d96abe7f3c Add some white space to make it readable. 2002-04-30 21:21:30 +00:00
philburk
dc90ec9c91 Moved to patest_longsine.c 2002-04-30 18:57:44 +00:00
philburk
e84dad6e88 Use odd table size so it doesn't seem to work when it actually fails. 2002-04-30 18:19:00 +00:00
philburk
104ba1fd9b Checked in by Phil for Bill Eldridge
Bills's mod: Made the libinstall and tests compile a bit cleaner
2002-04-30 16:35:50 +00:00
stephane
09a767d44c Pa_ASIO_QueryDeviceInfo bug correction, memory allocation checking, better error handling 2002-04-30 12:33:04 +00:00
philburk
fb351c801a Fixed return value in Pa_StreamTime 2002-04-24 16:19:50 +00:00
philburk
348e268d7b Use new method to calculate CPU load similar to other ports. Based on num frames calculated.
Fixed Pa_StreamTime(). Now estimates how many frames have played based on MicroSecond timer.
Added PA_MAX_USAGE_ALLOWED to prevent Mac from hanging when CPU load approaches 100%.
2002-04-24 04:58:09 +00:00
philburk
18d252bbfe Detect Win XP and Win 2K properly when determining latency. 2002-04-19 18:31:54 +00:00
philburk
baefbbdc4a Change sine generation method so that sine waves don't line up with PA buffers.
This was causing it to appear that audio was OK even when buffers were dropped..
2002-04-19 18:31:13 +00:00
philburk
687dfcbe4e Fixed bug where I was calling the wrong function to calculate
the minimum number of user buffers. This resulted in a too conservative,
ie. too high, latency.
2002-04-18 19:40:11 +00:00
rossb
7f295afdc7 added implementation of PaHost_IsInitialized()
migrated PaHost_GetStreamRepresentation() from pa_win_wmme.c
2002-04-17 06:29:07 +00:00
rossb
8d13d1df28 added protoypes for PaHost_IsInitialized() and PaHost_GetStreamRepresentation() 2002-04-17 06:28:18 +00:00
rossb
35734f8aa2 changed Pa_QueryDevices to Pa_InitializeNumDevices and added separate function Pa_AllocateDevicePtrs
changed Pa_AllocateDevicePtrs to never allocate 0 bytes
removed Pa_MabeQueryDevices
added explicit initialization of sDevicePtrs[n] to NULL
changed default input and output devices to paNoDevice when no device was available
changed Pa_GetDefaultInput/OutputDeviceID to have the same behavior as when there was no environment variable when the environment variables value was out of range
added #if around declaration of sNumAllocations
removed unused locals bytesEmpty, bytesFilled, buffersEmpty from Pa_TimeSlice()
renamed all result variables of type MMRESULT to mmresult
2002-04-17 06:27:05 +00:00
rossb
49ef51660b updated Pa_CountDevices to not counting WAVE_MAPPER when there were no real devices 2002-04-17 05:06:14 +00:00
stephane
83abb2d3ff Removes another compiler warning 2002-04-13 08:42:50 +00:00
philburk
ec5a837138 Add Mac includes for <Devices.h> and <Timer.h> 2002-04-12 23:33:52 +00:00
philburk
48e580a679 Important patch for the ASIO SDK. 2002-04-12 23:32:47 +00:00
philburk
365a8e2444 Use getrusage() instead of gettimeofday() for CPU Load calculation. 2002-04-12 18:07:20 +00:00
rossb
c406a816c8 renamed PaHostSoundControl to PaWMMEStreamData
removed pahsc_ from stream data fields
renamed pahsc to wmmeStreamData
renamed past to stream or internalStream (ad-hoc at this stage)
changed trace text in PaHost_BackgroundManager() to display correct function name
replaced / 1000.0 with * 0.001 in 2 places
consistentified pre-function comment formatting
added one line break after variable declarations in function bodies
added check for valid past_DeviceData to Pa_StreamTime()
added PaHost_GetStreamRepresentation, PaHost_GetWMMEStreamData and updated error checking code to use them
factored Pa_InitializeCpuUsageScalar into separate module
factored PaHost_AllocateWMMEStreamData/PaHost_FreeWMMEStreamData
2002-04-10 18:18:36 +00:00
stephane
bd907d6139 Correct error code management in PaHost_Term, removes various compiler warning 2002-04-09 08:36:09 +00:00
philburk
1f3da172ac Fixed Pa_GetCPULoad() 2002-03-30 01:47:38 +00:00
philburk
5dbbd8ad34 Change doubles to floats to improve type consistency. 2002-03-29 21:23:53 +00:00
philburk
e66425d00c Use Interpolating sine lookup to eliminate differences in math lib performance
between hosts.
2002-03-28 18:15:43 +00:00
philburk
1f71752e8b put ( void ) in prototype for Pa_CountDevices( void ) 2002-03-26 18:04:22 +00:00
philburk
e4861f4664 detect Win XP versus NT, 9x
fix DBUG typo
removed redundant problematic init of LARGE_INTEGER CurrentCount
2002-03-21 18:35:05 +00:00
philburk
782c78c1a3 Play a different sine frequency on all channels.
Good for testing multi-channel output.
2002-03-21 18:26:46 +00:00
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