Changeset 1339
- Timestamp:
- 02/15/08 02:50:33 (6 months ago)
- Location:
- portaudio/branches/v19-devel
- Files:
-
- 1 removed
- 22 modified
-
V19-devel-readme.txt (deleted)
-
doc/src/srcguide.dox (modified) (3 diffs)
-
doc/utils/checkfiledocs.py (modified) (1 diff)
-
src/common/pa_allocation.h (modified) (2 diffs)
-
src/common/pa_converters.c (modified) (1 diff)
-
src/common/pa_front.c (modified) (2 diffs)
-
src/common/pa_hostapi.h (modified) (4 diffs)
-
src/common/pa_skeleton.c (modified) (1 diff)
-
src/common/pa_stream.c (modified) (2 diffs)
-
src/common/pa_stream.h (modified) (2 diffs)
-
src/common/pa_trace.c (modified) (1 diff)
-
src/common/pa_trace.h (modified) (1 diff)
-
src/common/pa_util.h (modified) (2 diffs)
-
src/hostapi/coreaudio/pa_mac_core_blocking.c (modified) (1 diff)
-
src/hostapi/coreaudio/pa_mac_core_blocking.h (modified) (1 diff)
-
src/hostapi/dsound/pa_win_ds.c (modified) (1 diff)
-
src/hostapi/dsound/pa_win_ds_dynlink.c (modified) (1 diff)
-
src/hostapi/dsound/pa_win_ds_dynlink.h (modified) (1 diff)
-
src/hostapi/wasapi/pa_win_wasapi.cpp (modified) (1 diff)
-
src/hostapi/wdmks/pa_win_wdmks.c (modified) (1 diff)
-
src/hostapi/wmme/pa_win_wmme.c (modified) (1 diff)
-
src/os/win/pa_win_hostapis.c (modified) (2 diffs)
-
src/os/win/pa_win_util.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
portaudio/branches/v19-devel/doc/src/srcguide.dox
r1097 r1339 1 1 /* 2 2 define all of the file groups used to structure the documentation. 3 */ 4 5 /** 6 @defgroup public_header Public API definitions for users of PortAudio 3 7 */ 4 8 … … 20 24 21 25 /** 22 @defgroup hosta ip_src Source code for specific Host APIs26 @defgroup hostapi_src Source code for specific Host APIs 23 27 */ 24 28 … … 30 34 @page srcguide A guide to the PortAudio sources. 31 35 36 - \ref public_header 32 37 - \ref common_src 33 38 - \ref win_src 34 39 - \ref unix_src 35 40 - \ref macosx_src 36 - \ref hosta ip_src41 - \ref hostapi_src 37 42 - \ref test_src 38 43 */ -
portaudio/branches/v19-devel/doc/utils/checkfiledocs.py
r1100 r1339 6 6 paHtmlDocDirectory = os.path.join( paRootDirectory, "doc", "html" ) 7 7 8 ##this script assumes that html doxygen documentation has been generated 8 ## Script to check documentation status 9 ## this script assumes that html doxygen documentation has been generated 9 10 ## 10 ## it then walks the entire portaudio source tree and check that11 ## - every source file (.c,.h,.cpp) has a doxygen comment block containing11 ## it then walks the entire portaudio source tree and check that 12 ## - every source file (.c,.h,.cpp) has a doxygen comment block containing 12 13 ## - a @file directive 13 14 ## - a @brief directive 14 15 ## - a @ingroup directive 15 ## - it also checks that a corresponding html documentation file has been generated.16 ## - it also checks that a corresponding html documentation file has been generated. 16 17 ## 17 ## This can be used as a first-level check to make sure the documentation is in order.18 ## This can be used as a first-level check to make sure the documentation is in order. 18 19 ## 19 ## The idea is to get a list of which files are missing doxygen documentation.20 ## The idea is to get a list of which files are missing doxygen documentation. 20 21 21 22 -
portaudio/branches/v19-devel/src/common/pa_allocation.h
r1097 r1339 7 7 * 8 8 * Based on the Open Source API proposed by Ross Bencina 9 * Copyright (c) 1999-200 2Ross Bencina, Phil Burk9 * Copyright (c) 1999-2008 Ross Bencina, Phil Burk 10 10 * 11 11 * Permission is hereby granted, free of charge, to any person obtaining … … 44 44 45 45 @brief Allocation Group prototypes. An Allocation Group makes it easy to 46 allocate multiple blocks of memory and free them all simultanously.46 allocate multiple blocks of memory and free them all at once. 47 47 48 48 An allocation group is useful for keeping track of multiple blocks 49 49 of memory which are allocated at the same time (such as during initialization) 50 50 and need to be deallocated at the same time. The allocation group maintains 51 a list of allocated blocks, and can deallocate them all simultaneously which51 a list of allocated blocks, and can free all allocations at once. This 52 52 can be usefull for cleaning up after a partially initialized object fails. 53 53 -
portaudio/branches/v19-devel/src/common/pa_converters.c
r1097 r1339 40 40 @ingroup common_src 41 41 42 @brief Conversion function simplementations.42 @brief Conversion function implementations. 43 43 44 44 If the C9x function lrintf() is available, define PA_USE_C99_LRINTF to use it -
portaudio/branches/v19-devel/src/common/pa_front.c
r1325 r1339 5 5 * 6 6 * Based on the Open Source API proposed by Ross Bencina 7 * Copyright (c) 1999-200 2Ross Bencina, Phil Burk7 * Copyright (c) 1999-2008 Ross Bencina, Phil Burk 8 8 * 9 9 * Permission is hereby granted, free of charge, to any person obtaining … … 41 41 @ingroup common_src 42 42 43 @brief Implements public PortAudio API, checks some errors, forwards to44 host API implementations.43 @brief Implements PortAudio API functions defined in portaudio.h, checks 44 some errors, delegates platform-specific behavior to host API implementations. 45 45 46 Implements the functions defined in the PortAudio API, checks for 47 some parameter and state inconsistencies and forwards API requests to 48 specific Host API implementations (via the interface declared in 49 pa_hostapi.h), and Streams (via the interface declared in pa_stream.h). 50 51 This file handles initialization and termination of Host API 52 implementations via initializers stored in the paHostApiInitializers 53 global variable. 46 Implements the functions defined in the PortAudio API (portaudio.h), 47 validates some parameters and checks for state inconsistencies before 48 forwarding API requests to specific Host API implementations (via the 49 interface declared in pa_hostapi.h), and Streams (via the interface 50 declared in pa_stream.h). 51 52 This file manages initialization and termination of Host API 53 implementations via initializer functions stored in the paHostApiInitializers 54 global array (usually defined in an os-specific pa_[os]_hostapis.c file). 55 56 This file maintains a list of all open streams and closes them at Pa_Terminate(). 54 57 55 58 Some utility functions declared in pa_util.h are implemented in this file. -
portaudio/branches/v19-devel/src/common/pa_hostapi.h
r1097 r1339 7 7 * 8 8 * Based on the Open Source API proposed by Ross Bencina 9 * Copyright (c) 1999-200 2Ross Bencina, Phil Burk9 * Copyright (c) 1999-2008 Ross Bencina, Phil Burk 10 10 * 11 11 * Permission is hereby granted, free of charge, to any person obtaining … … 43 43 @ingroup common_src 44 44 45 @brief Interface used by pa_front to virtualize functions which operate on46 host APIs.45 @brief Interfaces and representation structures used by pa_front.c 46 to manage and communicate with host API implementations. 47 47 */ 48 48 … … 225 225 host API. 226 226 227 This function should only return an error other than paNoError if it encounters 228 an unexpected and fatal error (memory allocation error for example). In general, 229 there may be conditions under which it returns a NULL interface pointer and also 230 returns paNoError. For example, if the ASIO implementation detects that ASIO is 231 not installed, it should return a NULL interface, and paNoError. 232 227 233 @see paHostApiInitializers 228 234 */ … … 231 237 232 238 /** paHostApiInitializers is a NULL-terminated array of host API initialization 233 functions. These functions are called by pa_front to initialize the host APIs239 functions. These functions are called by pa_front.c to initialize the host APIs 234 240 when the client calls Pa_Initialize(). 235 241 -
portaudio/branches/v19-devel/src/common/pa_skeleton.c
r1097 r1339 44 44 @brief Skeleton implementation of support for a host API. 45 45 46 @note This file is provided as a starting point for implementing support for 47 a new host API. IMPLEMENT ME comments are used to indicate functionality 46 This file is provided as a starting point for implementing support for 47 a new host API. It provides examples of how the common code can be used. 48 49 @note IMPLEMENT ME comments are used to indicate functionality 48 50 which much be customised for each implementation. 49 51 */ -
portaudio/branches/v19-devel/src/common/pa_stream.c
r1097 r1339 2 2 * $Id$ 3 3 * Portable Audio I/O Library 4 * 4 * stream interface 5 5 * 6 6 * Based on the Open Source API proposed by Ross Bencina 7 * Copyright (c) 200 2Ross Bencina7 * Copyright (c) 2008 Ross Bencina 8 8 * 9 9 * Permission is hereby granted, free of charge, to any person obtaining … … 41 41 @ingroup common_src 42 42 43 @brief Interface used by pa_front to virtualize functions which operate on44 streams.43 @brief Stream interfaces, representation structures and helper functions 44 used to interface between pa_front.c host API implementations. 45 45 */ 46 46 -
portaudio/branches/v19-devel/src/common/pa_stream.h
r1097 r1339 7 7 * 8 8 * Based on the Open Source API proposed by Ross Bencina 9 * Copyright (c) 1999-200 2Ross Bencina, Phil Burk9 * Copyright (c) 1999-2008 Ross Bencina, Phil Burk 10 10 * 11 11 * Permission is hereby granted, free of charge, to any person obtaining … … 43 43 @ingroup common_src 44 44 45 @brief Interface used by pa_front to virtualize functions which operate on46 streams.45 @brief Stream interfaces, representation structures and helper functions 46 used to interface between pa_front.c host API implementations. 47 47 */ 48 48 -
portaudio/branches/v19-devel/src/common/pa_trace.c
r1097 r1339 41 41 @ingroup common_src 42 42 43 @brief Event trace mechanismfor debugging.43 @brief Real-time safe event trace logging facility for debugging. 44 44 */ 45 45 -
portaudio/branches/v19-devel/src/common/pa_trace.h
r1097 r1339 43 43 @ingroup common_src 44 44 45 @brief Event trace mechanismfor debugging.45 @brief Real-time safe event trace logging facility for debugging. 46 46 47 Allows data to be written to the buffer at interrupt time and dumped later. 47 Allows data to be logged to a fixed size trace buffer in a real-time 48 execution context (such as at interrupt time). Each log entry consists 49 of a message comprising a string pointer and an int. The trace buffer 50 may be dumped to stdout later. 51 52 This facility is only active if PA_TRACE_REALTIME_EVENTS is set to 1, 53 otherwise the trace functions expand to no-ops. 54 55 @fn PaUtil_ResetTraceMessages 56 @brief Clear the trace buffer. 57 58 @fn PaUtil_AddTraceMessage 59 @brief Add a message to the trace buffer. A message consists of string and an int. 60 @param msg The string pointer must remain valid until PaUtil_DumpTraceMessages 61 is called. As a result, usually only string literals should be passed as 62 the msg parameter. 63 64 @fn PaUtil_DumpTraceMessages 65 @brief Print all messages in the trace buffer to stdout and clear the trace buffer. 48 66 */ 49 67 68 #ifndef PA_TRACE_REALTIME_EVENTS 69 #define PA_TRACE_REALTIME_EVENTS (0) /**< Set to 1 to enable logging using the trace functions defined below */ 70 #endif 50 71 51 #define PA_TRACE_REALTIME_EVENTS (0) /* Keep log of various real-time events. */ 52 #define PA_MAX_TRACE_RECORDS (2048) 72 #ifndef PA_MAX_TRACE_RECORDS 73 #define PA_MAX_TRACE_RECORDS (2048) /**< Maximum number of records stored in trace buffer */ 74 #endif 53 75 54 76 #ifdef __cplusplus -
portaudio/branches/v19-devel/src/common/pa_util.h
r1229 r1339 7 7 * 8 8 * Based on the Open Source API proposed by Ross Bencina 9 * Copyright (c) 1999-200 2Ross Bencina, Phil Burk9 * Copyright (c) 1999-2008 Ross Bencina, Phil Burk 10 10 * 11 11 * Permission is hereby granted, free of charge, to any person obtaining … … 44 44 45 45 @brief Prototypes for utility functions used by PortAudio implementations. 46 47 Some functions declared here are defined in pa_front.c while others 48 are implemented separately for each platform. 46 49 47 50 @todo Document and adhere to the alignment guarantees provided by -
portaudio/branches/v19-devel/src/hostapi/coreaudio/pa_mac_core_blocking.c
r1311 r1339 54 54 /** 55 55 @file 56 @ingroup hosta ip_src56 @ingroup hostapi_src 57 57 58 58 This file contains the implementation -
portaudio/branches/v19-devel/src/hostapi/coreaudio/pa_mac_core_blocking.h
r1270 r1339 54 54 /** 55 55 @file 56 @ingroup hosta ip_src56 @ingroup hostapi_src 57 57 */ 58 58 -
portaudio/branches/v19-devel/src/hostapi/dsound/pa_win_ds.c
r1335 r1339 39 39 40 40 /** @file 41 @ingroup hosta ip_src41 @ingroup hostapi_src 42 42 43 43 @todo implement paInputOverflow callback status flag -
portaudio/branches/v19-devel/src/hostapi/dsound/pa_win_ds_dynlink.c
r1268 r1339 42 42 /** 43 43 @file 44 @ingroup hosta ip_src44 @ingroup hostapi_src 45 45 */ 46 46 -
portaudio/branches/v19-devel/src/hostapi/dsound/pa_win_ds_dynlink.h
r1280 r1339 42 42 /** 43 43 @file 44 @ingroup hosta ip_src44 @ingroup hostapi_src 45 45 */ 46 46 -
portaudio/branches/v19-devel/src/hostapi/wasapi/pa_win_wasapi.cpp
r1242 r1339 38 38 39 39 /** @file 40 @ingroup hosta ip_src40 @ingroup hostapi_src 41 41 @brief WASAPI implementation of support for a host API. 42 42 -
portaudio/branches/v19-devel/src/hostapi/wdmks/pa_win_wdmks.c
r1263 r1339 39 39 40 40 /** @file 41 @ingroup hosta ip_src41 @ingroup hostapi_src 42 42 @brief Portaudio WDM-KS host API. 43 43 -
portaudio/branches/v19-devel/src/hostapi/wmme/pa_win_wmme.c
r1286 r1339 63 63 64 64 /** @file 65 @ingroup hostaip_src 65 @ingroup hostapi_src 66 67 @brief Win32 host API implementation for the Windows MultiMedia Extensions (WMME) audio API. 66 68 67 69 @todo Fix buffer catch up code, can sometimes get stuck (perhaps fixed now, -
portaudio/branches/v19-devel/src/os/win/pa_win_hostapis.c
r1097 r1339 4 4 * 5 5 * Based on the Open Source API proposed by Ross Bencina 6 * Copyright (c) 1999-200 2Ross Bencina, Phil Burk6 * Copyright (c) 1999-2008 Ross Bencina, Phil Burk 7 7 * 8 8 * Permission is hereby granted, free of charge, to any person obtaining … … 40 40 @ingroup win_src 41 41 42 Win32 host API initialization function table.42 @brief Win32 host API initialization function table. 43 43 44 44 @todo Consider using PA_USE_WMME etc instead of PA_NO_WMME. This is what -
portaudio/branches/v19-devel/src/os/win/pa_win_util.c
r1197 r1339 5 5 * 6 6 * Based on the Open Source API proposed by Ross Bencina 7 * Copyright (c) 1999-200 0Ross Bencina7 * Copyright (c) 1999-2008 Ross Bencina 8 8 * 9 9 * Permission is hereby granted, free of charge, to any person obtaining … … 41 41 @ingroup win_src 42 42 43 Win32 platform-specificsupport functions.43 @brief Win32 implementation of platform-specific PaUtil support functions. 44 44 45 45 @todo Implement workaround for QueryPerformanceCounter() skipping forward
