AudioFileStream.FrameToPacket(Int64, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the packet number and the frame offset in the packet (on the out parameter) corresponding to the requested audio frame.
public long FrameToPacket (long frame, out int frameOffsetInPacket);
member this.FrameToPacket : int64 * -> int64
Parameters
- frame
- Int64
The audio frame number.
- frameOffsetInPacket
- Int32
The frame offset in the packet.
Returns
The packet number that corresponds to the specified frame.
Remarks
This updates the LastError property.