chiark / gitweb /
64-bit macos fix
authorRichard Kettlewell <richard@kakajou.wlan.anjou.terraraq.org.uk>
Thu, 19 Nov 2009 11:01:47 +0000 (11:01 +0000)
committerRichard Kettlewell <richard@kakajou.wlan.anjou.terraraq.org.uk>
Thu, 19 Nov 2009 11:01:47 +0000 (11:01 +0000)
README.developers
lib/uaudio-coreaudio.c

index 75c1c44c96f04aa513fbbec0cc8e8ba5cc15a0b6..ed09c21e06b054135ad878337609b167dbfc103d 100644 (file)
@@ -14,8 +14,6 @@ Dependencies:
                     libao-dev libmad0-dev libasound2-dev libdb4.3-dev \
                     libflac-dev vorbis-tools wget
 
                     libao-dev libmad0-dev libasound2-dev libdb4.3-dev \
                     libflac-dev vorbis-tools wget
 
-     (Use the bzr from backports, the one in etch is obsolete.)
-
      On lenny use libdb4.5-deb.  libdb4.6 does not work (and configure will
      refuse to use it).
 
      On lenny use libdb4.5-deb.  libdb4.6 does not work (and configure will
      refuse to use it).
 
@@ -33,6 +31,10 @@ Dependencies:
          wget
          vorbis-tools
 
          wget
          vorbis-tools
 
+   * On OS X with Fink:
+
+     fink install gtk+2-dev gc libgrypt pcre flac vorbis-tools libmad wget sed
+
    * Please report unstated dependencies (here, README or debian/control).
 
 Building:
    * Please report unstated dependencies (here, README or debian/control).
 
 Building:
index 5f28e671b8d1ac1a573f6fdc8882ac440e4acc45..6ca3f708071b7743475d6e4a0eb3388c71417eee 100644 (file)
@@ -138,14 +138,14 @@ static void coreaudio_start(uaudio_callback *callback,
   if(status)
     coreaudio_fatal(status, "AudioHardwareGetProperty");
   D(("mSampleRate       %f", asbd.mSampleRate));
   if(status)
     coreaudio_fatal(status, "AudioHardwareGetProperty");
   D(("mSampleRate       %f", asbd.mSampleRate));
-  D(("mFormatID         %08lx", asbd.mFormatID));
-  D(("mFormatFlags      %08lx", asbd.mFormatFlags));
-  D(("mBytesPerPacket   %08lx", asbd.mBytesPerPacket));
-  D(("mFramesPerPacket  %08lx", asbd.mFramesPerPacket));
-  D(("mBytesPerFrame    %08lx", asbd.mBytesPerFrame));
-  D(("mChannelsPerFrame %08lx", asbd.mChannelsPerFrame));
-  D(("mBitsPerChannel   %08lx", asbd.mBitsPerChannel));
-  D(("mReserved         %08lx", asbd.mReserved));
+  D(("mFormatID         %08"PRIx32, asbd.mFormatID));
+  D(("mFormatFlags      %08"PRIx32, asbd.mFormatFlags));
+  D(("mBytesPerPacket   %08"PRIx32, asbd.mBytesPerPacket));
+  D(("mFramesPerPacket  %08"PRIx32, asbd.mFramesPerPacket));
+  D(("mBytesPerFrame    %08"PRIx32, asbd.mBytesPerFrame));
+  D(("mChannelsPerFrame %08"PRIx32, asbd.mChannelsPerFrame));
+  D(("mBitsPerChannel   %08"PRIx32, asbd.mBitsPerChannel));
+  D(("mReserved         %08"PRIx32, asbd.mReserved));
   /* Check that everything adds up */
   if(asbd.mFormatID != kAudioFormatLinearPCM)
     disorder_fatal(0, "audio device does not support kAudioFormatLinearPCM");
   /* Check that everything adds up */
   if(asbd.mFormatID != kAudioFormatLinearPCM)
     disorder_fatal(0, "audio device does not support kAudioFormatLinearPCM");