AudioFileStream.ByteToPacket(Int64, Int32, Boolean) 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.
Maps a position in the file to an audio packet.
public long ByteToPacket (long byteval, out int byteOffsetInPacket, out bool isEstimate);
member this.ByteToPacket : int64 * * -> int64
Parameters
- byteval
- Int64
The location in the file.
- byteOffsetInPacket
- Int32
Return value, byte offset within the packet.
- isEstimate
- Boolean
Return value, whether the return is an estimate or not.
Returns
The packet number that corresponds to this byte in the file.
Remarks
This updates the LastError property.