/[pcsx2_0.9.7]/trunk/3rdparty/portaudio/src/hostapi/coreaudio/pa_mac_core_utilities.h
ViewVC logotype

Diff of /trunk/3rdparty/portaudio/src/hostapi/coreaudio/pa_mac_core_utilities.h

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

--- trunk/3rdparty/portaudio/src/hostapi/coreaudio/pa_mac_core_utilities.h	2010/11/12 00:35:47	272
+++ trunk/3rdparty/portaudio/src/hostapi/coreaudio/pa_mac_core_utilities.h	2010/11/12 01:10:22	273
@@ -15,7 +15,7 @@
  * Olivier Tristan for feedback and testing
  * Glenn Zelniker and Z-Systems engineering for sponsoring the Blocking I/O
  * interface.
- *
+ * 
  *
  * Based on the Open Source API proposed by Ross Bencina
  * Copyright (c) 1999-2002 Ross Bencina, Phil Burk
@@ -41,13 +41,13 @@
  */
 
 /*
- * 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.
  */
 
@@ -73,7 +73,7 @@
 #define MAX(a, b)  (((a)<(b))?(b):(a))
 #endif
 
-#define ERR(mac_error) PaMacCore_SetError(mac_error, __LINE__, 1 )
+#define ERR(mac_error) PaMacCore_SetError(mac_error, __LINE__, 1 ) 
 #define WARNING(mac_error) PaMacCore_SetError(mac_error, __LINE__, 0 )
 
 
@@ -144,23 +144,23 @@
                                    double sampleRate );
 
 OSStatus propertyProc(
-    AudioDeviceID inDevice,
-    UInt32 inChannel,
-    Boolean isInput,
-    AudioDevicePropertyID inPropertyID,
+    AudioDeviceID inDevice, 
+    UInt32 inChannel, 
+    Boolean isInput, 
+    AudioDevicePropertyID inPropertyID, 
     void* inClientData );
 
-/* sets the value of the given property and waits for the change to
+/* sets the value of the given property and waits for the change to 
    be acknowledged, and returns the final value, which is not guaranteed
    by this function to be the same as the desired value. Obviously, this
    function can only be used for data whose input and output are the
    same size and format, and their size and format are known in advance.*/
 PaError AudioDeviceSetPropertyNowAndWaitForChange(
     AudioDeviceID inDevice,
-    UInt32 inChannel,
-    Boolean isInput,
+    UInt32 inChannel, 
+    Boolean isInput, 
     AudioDevicePropertyID inPropertyID,
-    UInt32 inPropertyDataSize,
+    UInt32 inPropertyDataSize, 
     const void *inPropertyData,
     void *outPropertyData );
 
@@ -188,7 +188,7 @@
 */
 PaError setBestFramesPerBuffer( const AudioDeviceID device,
                                 const bool isOutput,
-                                UInt32 requestedFramesPerBuffer,
+                                UInt32 requestedFramesPerBuffer, 
                                 UInt32 *actualFramesPerBuffer );
 
 
@@ -199,10 +199,10 @@
  *********************/
 
 OSStatus xrunCallback(
-    AudioDeviceID inDevice,
-    UInt32 inChannel,
-    Boolean isInput,
-    AudioDevicePropertyID inPropertyID,
+    AudioDeviceID inDevice, 
+    UInt32 inChannel, 
+    Boolean isInput, 
+    AudioDevicePropertyID inPropertyID, 
     void* inClientData ) ;
 
 /** returns zero on success or a unix style error code. */

 

  ViewVC Help
Powered by ViewVC 1.1.22