Ticket #49821: carbon.patch
File carbon.patch, 1.5 KB (added by janstary (Jan Starý), 9 years ago) |
---|
-
configure
old new case "$host_os" in 19464 19464 else 19465 19465 developer_path="/Developer" 19466 19466 fi 19467 OS_SPECIFIC_CFLAGS="-I${developer_path}/Headers/FlatCarbon"19468 19467 OS_SPECIFIC_LINKS="-framework CoreAudio -framework AudioToolbox -framework CoreFoundation" 19469 19468 ;; 19470 19469 mingw*) -
man/sndfile-play.1
old new sndio 22 22 .It Solaris 23 23 /dev/audio 24 24 .It MacOSX 10.6 25 C arbon and CoreAudio25 CoreAudio 26 26 .It MacOSX 10.7 27 27 AudioToolbox 28 28 .It Win32 … … waveOut 30 30 .El 31 31 .Sh SEE ALSO 32 32 .Lk http://www.mega-nerd.com/libsndfile/ 33 .\" FIXME: links to ALSA, OSS, sndio, Sun audio, MacOSX audio34 33 .Sh AUTHORS 35 34 .An Erik de Castro Lopo Aq Mt erikd@mega-nerd.com -
programs/sndfile-play.c
old new 68 68 #elif (OSX_DARWIN_VERSION == 11) 69 69 #include <AudioToolbox/AudioToolbox.h> 70 70 #elif (OSX_DARWIN_VERSION > 0 && OSX_DARWIN_VERSION <= 10) 71 #include <Carbon.h>72 71 #include <CoreAudio/AudioHardware.h> 73 72 #endif 74 73 … … macosx_play (int argc, char *argv []) 648 647 #endif /* OSX_DARWIN_VERSION == 11 */ 649 648 650 649 #if (OSX_DARWIN_VERSION > 0 && OSX_DARWIN_VERSION <= 10) 651 /* MacOSX 10.6 or earlier, use Carbon andAudioHardware API */650 /* MacOSX 10.6 or earlier, use AudioHardware API */ 652 651 653 652 typedef struct 654 653 { AudioStreamBasicDescription format ;