• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AudioFileGetProperty possible bug???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioFileGetProperty possible bug???


  • Subject: AudioFileGetProperty possible bug???
  • From: GW Rodriguez <email@hidden>
  • Date: Wed, 15 Sep 2010 20:19:41 -0400

I am using the AudioFileGetProperty function to get the total packet count with the property: kAudioFilePropertyAudioDataPacketCount.  Here is an example of this being used:

        UInt64 nPackets;
        UInt64 packetSize = sizeof(nPacket);
        AudioFileGetProperty(audioFile, kAudioFilePropertyAudioDataPacketCount, &packetSize, &nPackets);

The issue I am having is that I get a warning "Passing argument 3 of AudioFileGetProperty from incompatible pointer type". But the program runs fine.  I know that the function AudioFileGetProperty is looking for argument 3 to be type UInt32 but even in the technical note TN2097 this is how they use this function.

Is this a bug? Should I just continue to ignore it?
--
GW Rodriguez
Sound Supervisor
Olney Theatre Center
(c) 909-720-4202
www.gwrodriguez.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: AudioFileGetProperty possible bug???
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: How to programmatically convert a caf file to wav file
  • Next by Date: Confusion with AudioStreamBasicDescription
  • Previous by thread: Re: How to programmatically convert a caf file to wav file
  • Next by thread: Re: AudioFileGetProperty possible bug???
  • Index(es):
    • Date
    • Thread