SyncSampleBoxFindNearestSample Method |
Finds the nearest lower or equal sample number.
Namespace: StreamCoders.Container.MP4Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic long FindNearestSample(
uint sampleNumber
)
Public Function FindNearestSample (
sampleNumber As UInteger
) As Long
public:
long long FindNearestSample(
unsigned int sampleNumber
)
member FindNearestSample :
sampleNumber : uint32 -> int64
Parameters
- sampleNumber
- Type: SystemUInt32
sample number to find.
Return Value
Type:
Int64Returns sample number in case of success, otherwise -1.
See Also