package tiny_libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Mpeg_audio_headerSource

Sourcetype version =
  1. | Mpeg1
  2. | Mpeg2
  3. | Mpeg2_5
Sourcetype mode =
  1. | Stereo
  2. | Joint_stereo
  3. | Dual_channel
  4. | Mono
Sourcetype t = {
  1. version : version;
  2. layer : int;
  3. crc : bool;
  4. bitrate : int;
  5. sample_rate : int;
  6. padding : bool;
  7. mode : mode;
  8. mode_extension : int;
  9. channels : int;
  10. length : int;
  11. samples : int;
}
Sourceval parse : string -> int -> t option
Sourceval first_frame : string -> (int * t) option
Sourceval at_start : string -> t option
Sourceval frames : string -> (int * t) list
Sourceval version_name : version -> string