package tiny_libs

  1. Overview
  2. Docs
From-scratch libraries for teaching: graphics, audio, compression, crypto, networking and more

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.6.tar.gz
md5=7c636383d146d30ac6f2fa234a6253c8
sha512=c79f3823c5f8f57e5038eb640d487c61168b84aa07c61999d6622ef9fd0c890e2b03b4c6a7cdbbe9352a49e25dda00ac7bb14693cee8e3d7beeed251351a2af0

doc/tiny_libs.audio_mpeg/Layer3/index.html

Module Layer3Source

Sourcetype granule = {
  1. part2_3_length : int;
  2. big_values : int;
  3. global_gain : int;
  4. scalefac_compress : int;
  5. block_type : int;
  6. mixed : bool;
  7. table_select : int array;
  8. subblock_gain : int array;
  9. region0_count : int;
  10. region1_count : int;
  11. preflag : bool;
  12. scalefac_scale : bool;
  13. count1_table : int;
}
Sourcetype side_info = {
  1. main_data_begin : int;
  2. scfsi : bool array array;
  3. granules : granule array array;
}
Sourcetype state
Sourceval create : unit -> state
Sourceval decode : state -> Mpeg_audio_header.t -> string -> int -> float array array