# Index of values

C
close [Mad] | Close an mp3 file previously opened with `openfile`.
D
decode_frame [Mad] | Decode an mp3 frame.
decode_frame_float [Mad] | Decode an mp3 frame.
duration [Mad] | Compute the duration of a file, in seconds.
G
get_current_position [Mad] | Get the current position (in bytes) of the decoder in the mp3 file which should have been opened with `openfile`.
get_current_time [Mad] | Get the current time position (in the given unit) of the decoder.
get_frame_format [Mad] |
get_output_format [Mad] |
O
openfile [Mad] | Open an mp3 file.
openstream [Mad] | `openstream read_func` opens a stream where `read_func n` should be a function which returns `n` bytes of data or less, the second component of the result being the number of bytes to read in the fist component.
S
skip_frame [Mad] | Skip one frame.
skip_id3tags [Mad] | Skip ID3 tags that may be present at the beginning of a stream.