portaudio.h | portaudio.h | |||
---|---|---|---|---|
#ifndef PORTAUDIO_H | #ifndef PORTAUDIO_H | |||
#define PORTAUDIO_H | #define PORTAUDIO_H | |||
/* | /* | |||
* $Id: portaudio.h 1745 2011-08-25 17:44:01Z rossb $ | * $Id: portaudio.h 1859 2012-09-01 00:10:13Z philburk $ | |||
* 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 972 | skipping to change at line 972 | |||
rate is not available, this field will have the same value as the samp leRate | rate is not available, this field will have the same value as the samp leRate | |||
parameter passed to Pa_OpenStream(). | parameter passed to Pa_OpenStream(). | |||
*/ | */ | |||
double sampleRate; | double sampleRate; | |||
} PaStreamInfo; | } PaStreamInfo; | |||
/** Retrieve a pointer to a PaStreamInfo structure containing information | /** Retrieve a pointer to a PaStreamInfo structure containing information | |||
about the specified stream. | about the specified stream. | |||
@return A pointer to an immutable PaStreamInfo structure. If the stream | @return A pointer to an immutable PaStreamInfo structure. If the stream | |||
parameter invalid, or an error is encountered, the function returns NULL. | parameter is invalid, or an error is encountered, the function returns NUL L. | |||
@param stream A pointer to an open stream previously created with Pa_OpenS tream. | @param stream A pointer to an open stream previously created with Pa_OpenS tream. | |||
@note PortAudio manages the memory referenced by the returned pointer, | @note PortAudio manages the memory referenced by the returned pointer, | |||
the client must not manipulate or free the memory. The pointer is only | the client must not manipulate or free the memory. The pointer is only | |||
guaranteed to be valid until the specified stream is closed. | guaranteed to be valid until the specified stream is closed. | |||
@see PaStreamInfo | @see PaStreamInfo | |||
*/ | */ | |||
const PaStreamInfo* Pa_GetStreamInfo( PaStream *stream ); | const PaStreamInfo* Pa_GetStreamInfo( PaStream *stream ); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||