Module Layer3

type 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;
}
type side_info = {
  1. main_data_begin : int;
  2. scfsi : bool array array;
  3. granules : granule array array;
}
val side_info : Mpeg_audio_header.t -> Bits.t -> side_info
type state
val create : unit -> state
val decode : state -> Mpeg_audio_header.t -> string -> int -> float array array