portaudio.h   portaudio.h 
#ifndef PORTAUDIO_H #ifndef PORTAUDIO_H
#define PORTAUDIO_H #define PORTAUDIO_H
/* /*
* $Id: portaudio.h 1083 2006-08-23 07:30:49Z rossb $ * $Id: portaudio.h 1247 2007-08-11 16:29:09Z rossb $
* PortAudio Portable Real-Time Audio Library * PortAudio Portable Real-Time Audio Library
* PortAudio API Header File * PortAudio API Header File
* Latest version available at: http://www.portaudio.com/ * Latest version available at: http://www.portaudio.com/
* *
* Copyright (c) 1999-2002 Ross Bencina and Phil Burk * Copyright (c) 1999-2002 Ross Bencina and Phil Burk
* *
* Permission is hereby granted, free of charge, to any person obtaining * Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files * a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction, * (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, * including without limitation the rights to use, copy, modify, merge,
skipping to change at line 109 skipping to change at line 108
paBadBufferPtr paBadBufferPtr
} PaErrorCode; } PaErrorCode;
/** Translate the supplied PortAudio error code into a human readable /** Translate the supplied PortAudio error code into a human readable
message. message.
*/ */
const char *Pa_GetErrorText( PaError errorCode ); const char *Pa_GetErrorText( PaError errorCode );
/** Library initialization function - call this before using PortAudio. /** Library initialization function - call this before using PortAudio.
This function initialises internal data structures and prepares underlying This function initialises internal data structures and prepares underlying
host APIs for use. This function MUST be called before using any other host APIs for use. With the exception of Pa_GetVersion(), Pa_GetVersionTe
xt(),
and Pa_GetErrorText(), this function MUST be called before using any other
PortAudio API functions. PortAudio API functions.
If Pa_Initialize() is called multiple times, each successful If Pa_Initialize() is called multiple times, each successful
call must be matched with a corresponding call to Pa_Terminate(). call must be matched with a corresponding call to Pa_Terminate().
Pairs of calls to Pa_Initialize()/Pa_Terminate() may overlap, and are not Pairs of calls to Pa_Initialize()/Pa_Terminate() may overlap, and are not
required to be fully nested. required to be fully nested.
Note that if Pa_Initialize() returns an error code, Pa_Terminate() should Note that if Pa_Initialize() returns an error code, Pa_Terminate() should
NOT be called. NOT be called.
skipping to change at line 146 skipping to change at line 146
not being available until the next reboot. not being available until the next reboot.
@return paNoError if successful, otherwise an error code indicating the ca use @return paNoError if successful, otherwise an error code indicating the ca use
of failure. of failure.
@see Pa_Initialize @see Pa_Initialize
*/ */
PaError Pa_Terminate( void ); PaError Pa_Terminate( void );
/** The type used to refer to audio devices. Values of this type usually /** The type used to refer to audio devices. Values of this type usually
range from 0 to (Pa_DeviceCount-1), and may also take on the PaNoDevice range from 0 to (Pa_GetDeviceCount()-1), and may also take on the PaNoDevi ce
and paUseHostApiSpecificDeviceSpecification values. and paUseHostApiSpecificDeviceSpecification values.
@see Pa_DeviceCount, paNoDevice, paUseHostApiSpecificDeviceSpecification @see Pa_GetDeviceCount, paNoDevice, paUseHostApiSpecificDeviceSpecificatio n
*/ */
typedef int PaDeviceIndex; typedef int PaDeviceIndex;
/** A special PaDeviceIndex value indicating that no device is available, /** A special PaDeviceIndex value indicating that no device is available,
or should be used. or should be used.
@see PaDeviceIndex @see PaDeviceIndex
*/ */
#define paNoDevice ((PaDeviceIndex)-1) #define paNoDevice ((PaDeviceIndex)-1)
 End of changes. 5 change blocks. 
5 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/