- Timestamp:
- 10/20/02 21:31:02 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pa_proposals/trunk/011-RenameExistingSymbolsForConsistency.html
r4 r43 40 40 <pre> 41 41 Pa_StreamActive() -> Pa_IsStreamActive() 42 Pa_StreamTime() -> Pa_GetStreamTime()43 42 Pa_GetCPULoad() -> Pa_GetStreamCpuLoad() 44 43 </pre> 45 44 46 45 <p> 47 Note that CPU becomes Cpu, the convention of only capitalising the first letter of an acronym has been adopted in other proposals too.</p> 46 Note that CPU becomes Cpu, the convention of only capitalising the first letter of an acronym has been adopted in other proposals too. 47 </p> 48 49 <P> 50 Although a function Pa_GetStreamTime() exists in the new API, this function provides different functionality to the old Pa_StreamTime() function and is not simply a renaming.</P> 51 52 53 48 54 49 55 <p>Rename device identifier types and functions as follows:</p> … … 63 69 64 70 <P> 65 This proposal improves the consistency of the naming scheme making the API easier to learn and remember. All clients which currently call Pa_GetCPULoad(), Pa_Stream Time(), Pa_StreamActive(), Pa_GetDefaultInputDeviceID(), or Pa_GetDefaultOutputDeviceID() will need to alter their code by renaming the function call. Clients who explicitly check for the paInvalidDeviceId error code, or use the PaDeviceID type will have to edit the spelling of these identifiers.71 This proposal improves the consistency of the naming scheme making the API easier to learn and remember. All clients which currently call Pa_GetCPULoad(), Pa_StreamActive(), Pa_GetDefaultInputDeviceID(), or Pa_GetDefaultOutputDeviceID() will need to alter their code by renaming the function call. Clients who explicitly check for the paInvalidDeviceId error code, or use the PaDeviceID type will have to edit the spelling of these identifiers. 66 72 </P> 67 73 … … 71 77 </BODY> 72 78 </HTML> 79
