| 1 | <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 5 | <meta name="GENERATOR" content="Mozilla/4.79 [en] (Windows NT 5.0; U) [Netscape]"> |
| 6 | <meta name="Author" content="Phil Burk"> |
| 7 | <meta name="Description" content="PortAudio is a cross platform, open-source, audio I/O library.It provides a very simple API for recording and/or playing sound using a simple callback function."> |
| 8 | <meta name="KeyWords" content="audio, library, portable, open-source, DirectSound,sound, music, JSyn, synthesis,"> |
| 9 | <title>PortAudio Release Notes</title> |
| 10 | </head> |
| 11 | <body> |
| 12 | |
| 13 | <center><table COLS=1 WIDTH="100%" BGCOLOR="#FADA7A" > |
| 14 | <tr> |
| 15 | <td> |
| 16 | <center> |
| 17 | <h1> |
| 18 | PortAudio - Release Notes</h1></center> |
| 19 | </td> |
| 20 | </tr> |
| 21 | </table></center> |
| 22 | |
| 23 | <p>Link to <a href="http://www.portaudio.com">PortAudio Home Page</a> |
| 24 | <h2> |
| 25 | <b>V18 - 5/6/02</b></h2> |
| 26 | |
| 27 | <blockquote>All source code and documentation now under <a href="http://www.portaudio.com/usingcvs.html">CVS</a>. |
| 28 | <p>Ran most of the code through <a href="http://astyle.sourceforge.net/">AStyle</a> |
| 29 | to cleanup ragged indentation caused by using different editors. Used this |
| 30 | command: |
| 31 | <br><tt> astyle --style=ansi -c -o --convert-tabs --indent-preprocessor |
| 32 | *.c</tt></blockquote> |
| 33 | |
| 34 | <blockquote>Added "pa_common/pa_convert.c" for Mac OS X. Start of new conversion |
| 35 | utilities. |
| 36 | <p><b>ASIO</b> |
| 37 | <ul> |
| 38 | <li> |
| 39 | New Pa_ASIO_Adaptor_Init function to init Callback adpatation variables,</li> |
| 40 | |
| 41 | <li> |
| 42 | Cleanup of Pa_ASIO_Callback_Input</li> |
| 43 | |
| 44 | <li> |
| 45 | Break apart device loading to debug random failure in Pa_ASIO_QueryDeviceInfo</li> |
| 46 | |
| 47 | <li> |
| 48 | Deallocate all resources in PaHost_Term for cases where Pa_CloseStream |
| 49 | is not called properly</li> |
| 50 | |
| 51 | <li> |
| 52 | New Pa_ASIO_loadDriver that calls CoInitialize on each thread on Windows. |
| 53 | Allows use by multiple threads.</li> |
| 54 | |
| 55 | <li> |
| 56 | Correct error code management in PaHost_Term, removed various compiler |
| 57 | warning</li> |
| 58 | |
| 59 | <li> |
| 60 | Add Mac includes for <Devices.h> and <Timer.h></li> |
| 61 | |
| 62 | <li> |
| 63 | Pa_ASIO_QueryDeviceInfo bug correction, memory allocation checking, better |
| 64 | error handling</li> |
| 65 | </ul> |
| 66 | <b>Mac OS X</b> |
| 67 | <ul> |
| 68 | <li> |
| 69 | Major cleanup and improvements.</li> |
| 70 | |
| 71 | <li> |
| 72 | Fixed device queries for numChannels and sampleRates,</li> |
| 73 | |
| 74 | <li> |
| 75 | Audio input works if using same CoreAudio device (some HW devices make |
| 76 | separate CoreAudio devices).</li> |
| 77 | |
| 78 | <li> |
| 79 | Added paInt16, paInt8, format using new "pa_common/pa_convert.c" file.</li> |
| 80 | |
| 81 | <li> |
| 82 | Return error if opened in mono mode cuz not supported.</li> |
| 83 | |
| 84 | <li> |
| 85 | Check for getenv("PA_MIN_LATEWNCY_MSEC") to set latency externally.</li> |
| 86 | |
| 87 | <li> |
| 88 | Use getrusage() instead of gettimeofday() for CPU Load calculation.</li> |
| 89 | </ul> |
| 90 | <b>Windows MME</b> |
| 91 | <ul> |
| 92 | <li> |
| 93 | Fixed bug that caused TIMEOUT in Pa_StopStream(). Added check for past_StopSoon() |
| 94 | in Pa_TimeSlice(). Thanks Julien Maillard.</li> |
| 95 | |
| 96 | <li> |
| 97 | Detect Win XP versus NT, use lower latency.</li> |
| 98 | |
| 99 | <li> |
| 100 | Fix DBUG typo;</li> |
| 101 | |
| 102 | <li> |
| 103 | removed init of CurrentCount which was not compiling on Borland</li> |
| 104 | |
| 105 | <li> |
| 106 | general cleanup, factored streamData alloc and cpu usage initialization</li> |
| 107 | |
| 108 | <li> |
| 109 | stopped counting WAVE_MAPPER when there were no audio cards plugged in</li> |
| 110 | </ul> |
| 111 | <b>Windows DirectSound</b> |
| 112 | <ul> |
| 113 | <li> |
| 114 | Detect Win XP and Win 2K properly when determining latency.</li> |
| 115 | </ul> |
| 116 | <b>Unix OSS</b> |
| 117 | <ul> |
| 118 | <li> |
| 119 | Use high real-time priority if app is running with root priveledges. Lowers |
| 120 | latency.</li> |
| 121 | |
| 122 | <li> |
| 123 | Added watch dog thread that prevents real-time thread from hogging CPU |
| 124 | and hanging the computer.</li> |
| 125 | |
| 126 | <li> |
| 127 | Check error return from read() and write().</li> |
| 128 | |
| 129 | <li> |
| 130 | Check CPU endianness instead of assuming Little Endian.</li> |
| 131 | </ul> |
| 132 | </blockquote> |
| 133 | |
| 134 | <h2> |
| 135 | <b>V17 - 10/15/01</b></h2> |
| 136 | |
| 137 | <blockquote><b>Unix OSS</b> |
| 138 | <ul> |
| 139 | <li> |
| 140 | Set num channels back to two after device query for ALSA. This fixed a |
| 141 | bug in V16 that sometimes caused a failure when querying for the sample |
| 142 | rates. Thanks Stweart Greenhill.</li> |
| 143 | </ul> |
| 144 | </blockquote> |
| 145 | |
| 146 | <blockquote> |
| 147 | <h4> |
| 148 | <b>Macintosh Sound Manager</b></h4> |
| 149 | |
| 150 | <ul> |
| 151 | <li> |
| 152 | Use NewSndCallBackUPP() for CARBON compatibility.</li> |
| 153 | </ul> |
| 154 | </blockquote> |
| 155 | |
| 156 | <h2> |
| 157 | <b>V16 - 9/27/01</b></h2> |
| 158 | |
| 159 | <blockquote><b>Added Alpha implementations for ASIO, SGI, and BeOS!</b> |
| 160 | <br> |
| 161 | <li> |
| 162 | CPULoad is now calculated based on the time spent to generate a known number |
| 163 | of frames. This is more accurate than a simple percentage of real-time. |
| 164 | Implemented in pa_unix_oss, pa_win_wmme and pa_win_ds.</li> |
| 165 | |
| 166 | <li> |
| 167 | Fix dither and shift for recording PaUInt8 format data.</li> |
| 168 | |
| 169 | <li> |
| 170 | Added "patest_maxsines.c" which tests <tt>Pa_GetCPULoad().</tt></li> |
| 171 | </blockquote> |
| 172 | |
| 173 | <blockquote> |
| 174 | <h4> |
| 175 | Windows WMME</h4> |
| 176 | |
| 177 | <ul> |
| 178 | <li> |
| 179 | sDevicePtrs now allocated using <tt>GlobalAlloc()</tt>. This prevents a |
| 180 | crash in Pa_Terminate() on Win2000. Thanks Mike Berry for finding this. |
| 181 | Thanks Mike Berry.</li> |
| 182 | |
| 183 | <li> |
| 184 | Pass process instead of thread to <tt>SetPriorityClass</tt>(). This fixes |
| 185 | a bug that caused the priority to not be increased. Thanks to Alberto di |
| 186 | Bene for spotting this.</li> |
| 187 | </ul> |
| 188 | |
| 189 | <h4> |
| 190 | Windows DirectSound</h4> |
| 191 | |
| 192 | <ul> |
| 193 | <li> |
| 194 | Casts for compiling with __MWERKS__ CodeWarrior.</li> |
| 195 | </ul> |
| 196 | |
| 197 | <h4> |
| 198 | UNIX OSS</h4> |
| 199 | |
| 200 | <ul> |
| 201 | <li> |
| 202 | Derived from Linux OSS implementation.</li> |
| 203 | |
| 204 | <li> |
| 205 | Numerous patches from Heiko Purnhagen, Stephen Brandon, etc.</li> |
| 206 | |
| 207 | <li> |
| 208 | Improved query mechanism which often bailed out unnecessarily.</li> |
| 209 | |
| 210 | <li> |
| 211 | Removed sNumDevices and potential related bugs,</li> |
| 212 | |
| 213 | <li> |
| 214 | Use <tt>getenv("PA_MIN_LATENCY_MSEC")</tt> in code to set desired latency. |
| 215 | User can set by entering:</li> |
| 216 | |
| 217 | <br> <tt>export PA_MIN_LATENCY_MSEC=40</tt></ul> |
| 218 | |
| 219 | <h4> |
| 220 | Macintosh Sound Manager</h4> |
| 221 | |
| 222 | <ul> |
| 223 | <li> |
| 224 | Pass unused event to WaitNextEvent instead of NULL to prevent Mac OSX crash. |
| 225 | Thanks Dominic Mazzoni.</li> |
| 226 | |
| 227 | <li> |
| 228 | Use requested number of input channels.</li> |
| 229 | |
| 230 | <br> </ul> |
| 231 | </blockquote> |
| 232 | |
| 233 | <h2> |
| 234 | <b>V15 - 5/29/01</b></h2> |
| 235 | |
| 236 | <blockquote> |
| 237 | <ul> |
| 238 | <li> |
| 239 | <b>New Linux OSS Beta</b></li> |
| 240 | </ul> |
| 241 | |
| 242 | <h4> |
| 243 | Windows WMME</h4> |
| 244 | |
| 245 | <ul> |
| 246 | <li> |
| 247 | sDevicePtrs now allocated based on sizeof(pointer). Was allocating |
| 248 | too much space.</li> |
| 249 | |
| 250 | <li> |
| 251 | Check for excessive numbers of channels. Some drivers reported bogus |
| 252 | numbers.</li> |
| 253 | |
| 254 | <li> |
| 255 | Apply Mike Berry's changes for CodeWarrior on PC including condition including |
| 256 | of memory.h, and explicit typecasting on memory allocation.</li> |
| 257 | </ul> |
| 258 | |
| 259 | <h4> |
| 260 | Macintosh Sound Manager</h4> |
| 261 | |
| 262 | <ul> |
| 263 | <li> |
| 264 | ScanInputDevices was setting sDefaultOutputDeviceID instead of sDefaultInputDeviceID.</li> |
| 265 | |
| 266 | <li> |
| 267 | Device Scan was crashing for anything other than siBadSoundInDevice, but |
| 268 | some Macs may return other errors! Caused failure to init on some G4s under |
| 269 | OS9.</li> |
| 270 | |
| 271 | <li> |
| 272 | Fix TIMEOUT in record mode.</li> |
| 273 | |
| 274 | <li> |
| 275 | Change CARBON_COMPATIBLE to TARGET_API_MAC_CARBON</li> |
| 276 | </ul> |
| 277 | </blockquote> |
| 278 | |
| 279 | <h2> |
| 280 | <b>V14 - 2/6/01</b></h2> |
| 281 | |
| 282 | <blockquote> |
| 283 | <ul> |
| 284 | <li> |
| 285 | Added implementation for Windows MultiMedia Extensions (WMME) by Ross and |
| 286 | Phil</li> |
| 287 | |
| 288 | <li> |
| 289 | Changed Pa_StopStream() so that it waits for the buffers to drain.</li> |
| 290 | |
| 291 | <li> |
| 292 | Added Pa_AbortStream() that stops immediately without waiting.</li> |
| 293 | |
| 294 | <li> |
| 295 | Added new test: patest_stop.c to test above two mods.</li> |
| 296 | |
| 297 | <li> |
| 298 | Fixed Pa_StreamTime() so that it returns current play position instead |
| 299 | of the write position. Added "patest_sync.c" to demo audio/video sync.</li> |
| 300 | |
| 301 | <li> |
| 302 | Improved stability of Macintosh implementation. Added timeouts to prevent |
| 303 | hangs.</li> |
| 304 | |
| 305 | <li> |
| 306 | Added Pa_GetSampleSize( PaSampleFormat format );</li> |
| 307 | |
| 308 | <li> |
| 309 | Changes some "int"s to "long"s so that PA works properly on Macintosh which |
| 310 | often compiles using 16 bit ints.</li> |
| 311 | |
| 312 | <li> |
| 313 | Added Implementation Guide</li> |
| 314 | </ul> |
| 315 | </blockquote> |
| 316 | |
| 317 | <h2> |
| 318 | <b>V12 - 1/9/01</b></h2> |
| 319 | |
| 320 | <blockquote> |
| 321 | <ul> |
| 322 | <li> |
| 323 | Mac now scans for and queries all devices. But it does not yet support |
| 324 | selecting any other than the default device.</li> |
| 325 | |
| 326 | <li> |
| 327 | Blocking I/O calls renamed to separate them from the PortAudio API.</li> |
| 328 | |
| 329 | <li> |
| 330 | Cleaned up indentation problems with tabs versus spaces.</li> |
| 331 | |
| 332 | <li> |
| 333 | Now attempts to correct bogus sample rate info returned from DirectSound |
| 334 | device queries.</li> |
| 335 | </ul> |
| 336 | </blockquote> |
| 337 | |
| 338 | </body> |
| 339 | </html> |