[34904] trunk/dports/audio/libao/files/ patch-AU-src__plugins__macosx__ao_macosx.c

yves at macports.org yves at macports.org
Mon Mar 10 13:45:28 PDT 2008


Revision: 34904
          http://trac.macosforge.org/projects/macports/changeset/34904
Author:   yves at macports.org
Date:     2008-03-10 13:45:25 -0700 (Mon, 10 Mar 2008)

Log Message:
-----------
patch for ticket:13412, thanks to mike at it-loops.com

Modified Paths:
--------------
    trunk/dports/audio/libao/files/patch-AU-src__plugins__macosx__ao_macosx.c

Modified: trunk/dports/audio/libao/files/patch-AU-src__plugins__macosx__ao_macosx.c
===================================================================
--- trunk/dports/audio/libao/files/patch-AU-src__plugins__macosx__ao_macosx.c	2008-03-10 19:46:01 UTC (rev 34903)
+++ trunk/dports/audio/libao/files/patch-AU-src__plugins__macosx__ao_macosx.c	2008-03-10 20:45:25 UTC (rev 34904)
@@ -1,11 +1,12 @@
 --- src/plugins/macosx/ao_macosx.c.orig	2004-11-09 09:20:26.000000000 +0100
 +++ src/plugins/macosx/ao_macosx.c	2007-11-30 13:37:22.000000000 +0100
-@@ -29,7 +29,7 @@
+@@ -29,7 +29,8 @@
    audio samples rather than having them pushed at it (which is nice
    when you are wanting to do good buffering of audio).  */
  
 -#include <CoreAudio/AudioHardware.h>
 +#include <AudioUnit/AudioUnit.h>
++#include <AudioUnit/AUNTComponent.h>
  #include <stdio.h>
  #include <pthread.h>
  
@@ -32,7 +33,7 @@
  	"",
  	AO_FMT_NATIVE,
  	30,
-@@ -65,374 +64,407 @@
+@@ -65,374 +64,409 @@
  
  typedef struct ao_macosx_internal
  {
@@ -201,6 +202,8 @@
 -	
 -	device->internal = internal;
 +  internal->buffer_time = DEFAULT_BUFFER_TIME;
++  internal->started = false;
++  internal->isStopping = false;
  
 -	return 1; /* Memory alloc successful */
 -}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080310/467cadb4/attachment.html 


More information about the macports-changes mailing list