MonobjcMonobjc Documented Class Library
GetAudioStreamPacketDescriptionsInRange Method (audioStreamPacketDescriptions, range)
NamespacesMonobjc.QTKitQTSampleBufferGetAudioStreamPacketDescriptionsInRange(IntPtr, NSRange)

Gets an array of Core Audio AudioStreamPacketDescriptions describing the lengths of samples in variable bit- rate audio buffers.

Original signature is '- (BOOL)getAudioStreamPacketDescriptions:(void *)audioStreamPacketDescriptions inRange:(NSRange)range'

Available in 5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool GetAudioStreamPacketDescriptionsInRange(
	IntPtr audioStreamPacketDescriptions,
	NSRange range
)
Public Overridable Function GetAudioStreamPacketDescriptionsInRange ( _
	audioStreamPacketDescriptions As IntPtr, _
	range As NSRange _
) As Boolean
public:
virtual bool GetAudioStreamPacketDescriptionsInRange(
	IntPtr audioStreamPacketDescriptions, 
	NSRange range
)
Parameters
audioStreamPacketDescriptions (IntPtr)
An array of Core Audio AudioStreamPacketDescription structures allocated to be large enough to fit the number of packet descriptions indicated by range.
range (NSRange)
The range of packet descriptions to use when filling the array. If the range falls outside the number of samples returned by numberOfSamples, this method raises an NSRangeException.
Return Value
If the buffer contains variable bit-rate audio, this method fills the audioStreamPacketDescriptions with AudioStreamPacketDescription structures and returns YES. If the buffer contains single bit-rate audio, this method returns NO and leaves audioStreamPacketDescriptions untouched.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.QTKit (Module: Monobjc.QTKit)