Update of /cvsroot/audacity/lib-src/portmixer/include
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv29882/include

Modified Files:
        portmixer.h 
Log Message:
Fix an access after free.

Index: portmixer.h
===================================================================
RCS file: /cvsroot/audacity/lib-src/portmixer/include/portmixer.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- portmixer.h 2 Oct 2006 00:27:52 -0000       1.1
+++ portmixer.h 11 Jul 2007 06:16:15 -0000      1.2
@@ -53,17 +53,6 @@
 typedef float PxBalance; /* -1.0 (left) --> 1.0 (right) */
 
 /*
- Px_GetNumMixers returns the number of mixers which could be
- used with the given PortAudio device.  On most systems, there
- will be only one mixer for each device; however there may be
- multiple mixers for each device, or possibly multiple mixers
- which are independent of any particular PortAudio device.
-*/
-
-int Px_GetNumMixers( void *pa_stream );
-const char *Px_GetMixerName( void *pa_stream, int i );
-
-/*
  Px_OpenMixer() returns a mixer which will work with the given PortAudio
  audio device.  Pass 0 as the index for the first (default) mixer.
 */
@@ -75,7 +64,18 @@
  memory associated with it. 
 */
 
-void Px_CloseMixer(PxMixer *mixer);
+void Px_CloseMixer( PxMixer *mixer );
+
+/*
+ Px_GetNumMixers returns the number of mixers which could be
+ used with the given PortAudio device.  On most systems, there
+ will be only one mixer for each device; however there may be
+ multiple mixers for each device, or possibly multiple mixers
+ which are independent of any particular PortAudio device.
+*/
+
+int Px_GetNumMixers( PxMixer *mixer );
+const char *Px_GetMixerName( PxMixer *mixer, int i );
 
 /*
  Master (output) volume


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to