Ignore:
Timestamp:
Nov 30, 2007, 6:25:42 PM (12 years ago)
Author:
yves@…
Message:

AU are back on the track with an updated patch rev++

Location:
trunk/dports/audio/libao
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/libao/Portfile

    r31607 r31620  
    44name             libao
    55version          0.8.6
    6 revision         1
     6revision         2
    77categories       audio
    88maintainers      nomaintainer
     
    1818checksums        md5 12e136a4c0995068ff134997c84421ed
    1919
    20 patchfiles       patch-configure patch-src__plugins__macosx__ao_macosx.c
     20patchfiles       patch-AU-configure patch-AU-src__plugins__macosx__ao_macosx.c
    2121post-patch {
    2222        reinplace "s|/etc/libao.conf|${prefix}/etc/libao.conf|" \
     
    4949}
    5050
    51 variant AudioUnit requires darwin description "Use AudioUnits instead of CoreAudio" {
    52     patchfiles-delete       patch-configure patch-src__plugins__macosx__ao_macosx.c
    53     patchfiles-append       patch-AU-configure patch-AU-src__plugins__macosx__ao_macosx.c
    54 }
    55 
    56 
    5751livecheck.check  regex
    5852livecheck.url    ${master_sites}?C=M&O=D
  • trunk/dports/audio/libao/files/patch-AU-src__plugins__macosx__ao_macosx.c

    r31607 r31620  
    1 --- src/plugins/macosx/ao_macosx.c      2006-12-06 22:56:12.000000000 +0100
    2 +++ src/plugins/macosx/ao_macosx.c      2006-12-07 00:04:31.000000000 +0100
     1--- src/plugins/macosx/ao_macosx.c.orig 2004-11-09 09:20:26.000000000 +0100
     2+++ src/plugins/macosx/ao_macosx.c      2007-11-30 13:37:22.000000000 +0100
    33@@ -29,7 +29,7 @@
    44   audio samples rather than having them pushed at it (which is nice
     
    3333        AO_FMT_NATIVE,
    3434        30,
    35 @@ -65,374 +64,404 @@
     35@@ -65,374 +64,407 @@
    3636 
    3737 typedef struct ao_macosx_internal
     
    284284+  requestedDesc.mFormatID = kAudioFormatLinearPCM;
    285285+  requestedDesc.mFormatFlags = kAudioFormatFlagIsPacked;
     286+
     287+       if (ao_is_big_endian())
     288+               requestedDesc.mFormatFlags |= kAudioFormatFlagIsBigEndian;
    286289+
    287290+  if (format->bits > 8)
Note: See TracChangeset for help on using the changeset viewer.