/[pcsx2_0.9.7]/trunk/3rdparty/portaudio/src/common/pa_hostapi.h
ViewVC logotype

Diff of /trunk/3rdparty/portaudio/src/common/pa_hostapi.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/3rdparty/portaudio/src/common/pa_hostapi.h	2010/11/12 00:35:47	272
+++ trunk/3rdparty/portaudio/src/common/pa_hostapi.h	2010/11/12 01:10:22	273
@@ -29,20 +29,20 @@
  */
 
 /*
- * The text above constitutes the entire PortAudio license; however,
+ * The text above constitutes the entire PortAudio license; however, 
  * the PortAudio community also makes the following non-binding requests:
  *
  * Any person wishing to distribute modifications to the Software is
  * requested to send the modifications to the original developer so that
- * they can be incorporated into the canonical version. It is also
- * requested that these non-binding requests be included along with the
+ * they can be incorporated into the canonical version. It is also 
+ * requested that these non-binding requests be included along with the 
  * license above.
  */
 
 /** @file
  @ingroup common_src
 
- @brief Interfaces and representation structures used by pa_front.c
+ @brief Interfaces and representation structures used by pa_front.c 
  to manage and communicate with host API implementations.
 */
 
@@ -112,13 +112,13 @@
         The inputParameters and outputParameters pointers should not be saved
         as they will not remain valid after OpenStream is called.
 
-
+        
         The following guarantees are made about parameters to (*OpenStream)():
 
             [NOTE: the following list up to *END PA FRONT VALIDATIONS* should be
                 kept in sync with the one for ValidateOpenStreamParameters and
                 Pa_OpenStream in pa_front.c]
-
+                
             PaHostApiRepresentation *hostApi
                 - is valid for this implementation
 
@@ -129,7 +129,7 @@
 
             - if inputParameters & outputParmeters are both valid, that
                 inputParameters->device & outputParmeters->device  both use the same host api
-
+ 
             PaDeviceIndex inputParameters->device
                 - is within range (0 to Pa_CountDevices-1) Or:
                 - is paUseHostApiSpecificDeviceSpecification and
@@ -139,30 +139,30 @@
             int inputParameters->numChannels
                 - if inputParameters->device is not paUseHostApiSpecificDeviceSpecification, numInputChannels is > 0
                 - upper bound is NOT validated against device capabilities
-
+ 
             PaSampleFormat inputParameters->sampleFormat
                 - is one of the sample formats defined in portaudio.h
 
             void *inputParameters->hostApiSpecificStreamInfo
                 - if supplied its hostApi field matches the input device's host Api
-
+ 
             PaDeviceIndex outputParmeters->device
                 - is within range (0 to Pa_CountDevices-1)
-
+ 
             int outputParmeters->numChannels
                 - if inputDevice is valid, numInputChannels is > 0
                 - upper bound is NOT validated against device capabilities
-
+ 
             PaSampleFormat outputParmeters->sampleFormat
                 - is one of the sample formats defined in portaudio.h
-
+        
             void *outputParmeters->hostApiSpecificStreamInfo
                 - if supplied its hostApi field matches the output device's host Api
-
+ 
             double sampleRate
                 - is not an 'absurd' rate (less than 1000. or greater than 200000.)
                 - sampleRate is NOT validated against device capabilities
-
+ 
             PaStreamFlags streamFlags
                 - unused platform neutral flags are zero
                 - paNeverDropInput is only used for full-duplex callback streams
@@ -174,7 +174,7 @@
         The following validations MUST be performed by (*OpenStream)():
 
             - check that input device can support numInputChannels
-
+            
             - check that input device can support inputSampleFormat, or that
                 we have the capability to convert from outputSampleFormat to
                 a native format
@@ -183,7 +183,7 @@
                 or return an error if no inputStreamInfo is expected
 
             - check that output device can support numOutputChannels
-
+            
             - check that output device can support outputSampleFormat, or that
                 we have the capability to convert from outputSampleFormat to
                 a native format
@@ -223,11 +223,11 @@
 
 /** Prototype for the initialization function which must be implemented by every
  host API.
-
- This function should only return an error other than paNoError if it encounters
- an unexpected and fatal error (memory allocation error for example). In general,
- there may be conditions under which it returns a NULL interface pointer and also
- returns paNoError. For example, if the ASIO implementation detects that ASIO is
+ 
+ This function should only return an error other than paNoError if it encounters 
+ an unexpected and fatal error (memory allocation error for example). In general, 
+ there may be conditions under which it returns a NULL interface pointer and also 
+ returns paNoError. For example, if the ASIO implementation detects that ASIO is 
  not installed, it should return a NULL interface, and paNoError.
 
  @see paHostApiInitializers
@@ -246,7 +246,7 @@
 
 
 /** The index of the default host API in the paHostApiInitializers array.
-
+ 
  There is a platform specific file which defines paDefaultHostApiIndex for that
  platform, see pa_win/pa_win_hostapis.c for example.
 */

 

  ViewVC Help
Powered by ViewVC 1.1.22