changeset 41:f46ea650face trunk

[svn] - release the audio buffer used by HAL when we close the device.
author nenolod
date Wed, 20 Sep 2006 00:48:59 -0700
parents f15e55bc0e60
children c852da081533
files ChangeLog src/CoreAudio/audio.c
diffstat 2 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Sep 19 18:26:42 2006 -0700
+++ b/ChangeLog	Wed Sep 20 00:48:59 2006 -0700
@@ -1,3 +1,13 @@
+2006-09-20 01:26:42 +0000  Giacomo Lozito <james@develia.org>
+  revision [80]
+  - fixed some issues for amidiplug compilation after migraton in audacious-plugins (backends were not compiled and amidiplug was uselessly installed twice on make install)
+
+  Changes:        Modified:
+  +1 -5           trunk/configure.ac  
+  +1 -0           trunk/mk/rules.mk.in  
+  +1 -1           trunk/src/amidi-plug/Makefile  
+
+
 2006-09-19 14:53:54 +0000  Jonathan Schleifer <js@h3c.de>
   revision [78]
   Removed the check for socklen_t. This fixes building on NetBSD.
--- a/src/CoreAudio/audio.c	Tue Sep 19 18:26:42 2006 -0700
+++ b/src/CoreAudio/audio.c	Wed Sep 20 00:48:59 2006 -0700
@@ -409,9 +409,11 @@
 	g_free(device_name);
 
 	//printf("osx_close(): playing_flag is now %d\n",playing_flag);
+
+	/* Free audio buffer */
+	g_free(buffer);
 }
 
-
 void osx_flush(gint time)
 {
 	//printf("osx_flush(): %d\n",time);