Update of /cvsroot/alpp/openalpp/include/openalpp
In directory sc8-pr-cvs1:/tmp/cvs-serv4461
Modified Files:
filestream.h inputdevice.h
Log Message:
Changed so that buffer size is given in samples instead of bytes.
Index: filestream.h
===================================================================
RCS file: /cvsroot/alpp/openalpp/include/openalpp/filestream.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** filestream.h 16 Feb 2003 22:48:13 -0000 1.2
--- filestream.h 7 Mar 2003 20:36:27 -0000 1.3
***************
*** 41,47 ****
* @param filename is the name of the file to try to open.
* @param buffersize is an optional parameter specifying how large the
! * buffer should be.
*/
! FileStream(const char *filename,const int buffersize=131072)
throw (NameError,InitError,FileError);
--- 41,47 ----
* @param filename is the name of the file to try to open.
* @param buffersize is an optional parameter specifying how large the
! * buffer should be (in samples per second).
*/
! FileStream(const char *filename,const int buffersize=65536)
throw (NameError,InitError,FileError);
Index: inputdevice.h
===================================================================
RCS file: /cvsroot/alpp/openalpp/include/openalpp/inputdevice.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** inputdevice.h 21 Feb 2003 14:37:10 -0000 1.4
--- inputdevice.h 7 Mar 2003 20:36:29 -0000 1.5
***************
*** 50,54 ****
* @param device is the device to open. -1 for default input.
* @param samplerate is the desired sample rate.
! * @param buffersize is the desired buffer size.
* @param format is the desired sample format.
*/
--- 50,54 ----
* @param device is the device to open. -1 for default input.
* @param samplerate is the desired sample rate.
! * @param buffersize is the desired buffer size _in samples_.
* @param format is the desired sample format.
*/
|