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?
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