Ticket #49821: carbon.patch

File carbon.patch, 1.5 KB (added by janstary (Jan Starý), 9 years ago)

remove Carbon from libsndfile

  • configure

    old new case "$host_os" in 
    1946419464                else
    1946519465                        developer_path="/Developer"
    1946619466                        fi
    19467                 OS_SPECIFIC_CFLAGS="-I${developer_path}/Headers/FlatCarbon"
    1946819467                OS_SPECIFIC_LINKS="-framework CoreAudio -framework AudioToolbox -framework CoreFoundation"
    1946919468                ;;
    1947019469        mingw*)
  • man/sndfile-play.1

    old new sndio 
    2222.It Solaris
    2323/dev/audio
    2424.It MacOSX 10.6
    25 Carbon and CoreAudio
     25CoreAudio
    2626.It MacOSX 10.7
    2727AudioToolbox
    2828.It Win32
    waveOut 
    3030.El
    3131.Sh SEE ALSO
    3232.Lk http://www.mega-nerd.com/libsndfile/
    33 .\" FIXME: links to ALSA, OSS, sndio, Sun audio, MacOSX audio
    3433.Sh AUTHORS
    3534.An Erik de Castro Lopo Aq Mt erikd@mega-nerd.com
  • programs/sndfile-play.c

    old new  
    6868        #elif (OSX_DARWIN_VERSION == 11)
    6969                #include <AudioToolbox/AudioToolbox.h>
    7070        #elif (OSX_DARWIN_VERSION > 0 && OSX_DARWIN_VERSION <= 10)
    71                 #include <Carbon.h>
    7271                #include <CoreAudio/AudioHardware.h>
    7372        #endif
    7473
    macosx_play (int argc, char *argv []) 
    648647#endif /* OSX_DARWIN_VERSION == 11 */
    649648
    650649#if (OSX_DARWIN_VERSION > 0 && OSX_DARWIN_VERSION <= 10)
    651 /* MacOSX 10.6 or earlier, use Carbon and AudioHardware API */
     650/* MacOSX 10.6 or earlier, use AudioHardware API */
    652651
    653652typedef struct
    654653{       AudioStreamBasicDescription             format ;