Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Audio::TagLib::ID3v2::SynchData 1.50_1

    Download button

    No screenshots available
    Downloads: 387  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Dongxu Ma | More programs
    Perl Artistic License / FREE
    November 17th, 2006, 11:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Audio::TagLib::ID3v2::SynchData description

    A Perl module with a few functions for ID3v2 synch safe integer conversion

    Audio::TagLib::ID3v2::SynchData is a Perl module with a few functions for ID3v2 synch safe integer conversion.

    SYNOPSIS

    use Audio::TagLib::ID3v2::SynchData;

    print Audio::TagLib::ID3v2::SynchData->toUInt(
    Audio::TagLib::ByteVector->new("11")), "n"; # got 6321
    print Audio::TagLib::ID3v2::SynchData->fromUInt(6321)->data(), "n";
    # got "11"

    In the ID3v2.4 standard most integer values are encoded as "synch safe" integers which are encoded in such a way that they will not give false MPEG syncs and confuse MPEG decoders. This namespace provides some methods for converting to and from these values to ByteVectors for things rendering and parsing ID3v2 data. UV toUInt(ByteVector $data)

    This returns the unsigned integer value of $data where $data is a ByteVector that contains synchsafe integer. The default length of 4 is used if another value is not specified.

    ByteVector fromUInt(UV $value)

    Returns a 4 byte (32 bit) synchsafe integer based on $value.

    EXPORT

    None by default.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    ID3v2 synch | integer conversion | Perl module | TagLib | ID3v2 | synch

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM