libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
Accurate length

Sample accurate detection of song length.

Accuracy of song lentgh detection depends on stream format

If you need sample accurate song length detection, user must enable this setting. 

This setting is disabled by default. Any new created interface will have this setting disabled. 

If this setting is disabled, song length isn't sample accurate, it's pretty accurate, but not sample accurate. By enabling this setting, you will get sample accurate song length. 

Note:
To acquire sample accurate length on MP3 stream, decoder must scan whole stream and count all mp3 frames. And LAME INFO tag must be present to detect encoder delay and padding samples. IF LAME INFO tag isn't present, you can't get sample accurate length of mp3 stream. See MP3 decoder details.
 

 

To enable or disable sample accurate length use sidAccurateLength with:  

C++ 
VB.NET 
C#.NET 
VC.NET 
Delphi 

 

Copyright (c) 2010. Zoran Cindori - All rights reserved.

Web: http://libzplay.sourceforge.net/

Email: zcindori@inet.hr