type A_mp3 is access all ALMP3_MP3;
type A_mp3stream is access all ALMP3_MP3STREAM;
function Almp3_Version return String;
function Create_mp3
( | data | : Address; |
data_len | : Natural ) return A_mp3; |
procedure Destroy_mp3
( | mp3 | : in out A_mp3 ); |
function Play_mp3
( | mp3 | : not null A_mp3; |
buffer_len | : Natural; | |
vol | : Volume_Type; | |
pan | : Pan_Type ) return Integer; |
function Play_Ex_mp3
( | mp3 | : not null A_mp3; |
buffer_len | : Natural; | |
vol | : Volume_Type; | |
pan | : Pan_Type; | |
speed | : Positive; | |
doloop | : Boolean ) return Integer; |
procedure Stop_mp3
( | mp3 | : not null A_mp3 ); |
procedure Rewind_mp3
( | mp3 | : not null A_mp3 ); |
procedure Seek_Abs_Frames_mp3
( | mp3 | : not null A_mp3; |
frame | : Natural ); |
procedure Seek_Abs_Msecs_mp3
( | mp3 | : not null A_mp3; |
msecs | : Natural ); |
procedure Seek_Abs_Secs_mp3
( | mp3 | : not null A_mp3; |
secs | : Natural ); |
procedure Seek_Abs_Bytes_mp3
( | mp3 | : not null A_mp3; |
bytes | : Natural ); |
procedure Seek_Rel_Frames_mp3
( | mp3 | : not null A_mp3; |
frame | : Integer ); |
procedure Seek_Rel_Msecs_mp3
( | mp3 | : not null A_mp3; |
msec | : Integer ); |
procedure Seek_Rel_Secs_mp3
( | mp3 | : not null A_mp3; |
sec | : Integer ); |
procedure Seek_Rel_Bytes_mp3
( | mp3 | : not null A_mp3; |
bytes | : Integer ); |
procedure Adjust_mp3
( | mp3 | : not null A_mp3; |
vol | : Volume_Type; | |
pan | : Pan_Type; | |
speed | : Positive; | |
doloop | : Natural ); |
function Poll_mp3
( | mp3 | : not null A_mp3 ) return Integer; |
procedure Start_Autopoll_mp3
( | mp3 | : not null A_mp3; |
speed | : Positive ); |
procedure Stop_Autopoll_mp3
( | mp3 | : not null A_mp3 ); |
function Get_Pos_Frames_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Pos_Msecs_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Pos_Secs_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Pos_Bytes_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Length_Frames_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Length_Secs_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Length_Msecs_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Length_Bytes_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Msecs_Per_Frame_mp3
( | mp3 | : A_mp3 ) return Natural; |
function Get_Bitrate_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Layer_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Is_Stereo_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Wave_Bits_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Wave_Is_Stereo_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Wave_Freq_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Get_Output_Wave_mp3
( | mp3 | : not null A_mp3; |
buffer_size | : access Natural ) return Address; |
function Is_Playing_mp3
( | mp3 | : not null A_mp3 ) return Natural; |
function Is_Looping_mp3
( | mp3 | : not null A_mp3 ) return Integer; |
function Get_Audiostream_mp3
( | mp3 | : not null A_mp3 ) return A_Audiostream; |
function Create_mp3stream
( | first_data_buffer | : Address; |
data_buffer_len, last_block | : Natural ) return A_mp3stream; |
function Create_mp3stream_Ex
( | first_data_buffer | : Address; |
data_buffer_len, last_block, downsample, downmix | : Natural ) return A_mp3stream; |
function Play_mp3stream
( | mp3 | : not null A_mp3stream; |
buffer_len | : Natural; | |
vol | : Volume_Type; | |
pan | : Pan_Type ) return Integer; |
function Play_Ex_mp3stream
( | mp3 | : not null A_mp3stream; |
buffer_len | : Natural; | |
vol | : Volume_Type; | |
pan | : Pan_Type; | |
speed | : Positive ) return Integer; |
procedure Adjust_mp3stream
( | mp3 | : not null A_mp3stream; |
vol | : Volume_Type; | |
pan | : Pan_Type; | |
speed | : Positive ); |
function Poll_mp3stream
( | mp3 | : not null A_mp3stream ) return Integer; |
procedure Start_Autopoll_mp3stream
( | mp3 | : not null A_mp3stream; |
speed | : Positive ); |
procedure Stop_Autopoll_mp3stream
( | mp3 | : not null A_mp3stream ); |
function Get_mp3stream_Buffer
( | mp3 | : not null A_mp3stream ) return Address; |
procedure Free_mp3stream_Buffer
( | mp3 | : not null A_mp3stream; |
bytes_used | : Integer ); |
function Get_Length_Frames_mp3stream
( | mp3 | : not null A_mp3stream; |
total_size | : Natural ) return Natural; |
function Get_Length_Secs_mp3stream
( | mp3 | : not null A_mp3stream; |
total_size | : Natural ) return Natural; |
function Get_Length_Msecs_mp3stream
( | mp3 | : not null A_mp3stream; |
total_size | : Natural ) return Natural; |
function Get_Length_Bytes_mp3stream
( | mp3 | : not null A_mp3stream; |
total_size | : Natural ) return Natural; |
function Get_Pos_Frames_mp3stream
( | mp3 | : not null A_mp3stream ) return Natural; |
function Get_Pos_Msecs_mp3stream
( | mp3 | : not null A_mp3stream ) return Natural; |
function Get_Pos_Secs_mp3stream
( | mp3 | : not null A_mp3stream ) return Natural; |
function Get_Pos_Bytes_mp3stream
( | mp3 | : not null A_mp3stream ) return Natural; |
function Get_Msecs_Per_Frame_mp3stream
( | mp3 | : not null A_mp3stream ) return Natural; |
function Get_Bitrate_mp3stream
( | mp3 | : not null A_mp3stream ) return Natural; |
function Get_Layer_mp3stream
( | mp3 | : not null A_mp3stream ) return Natural; |
function Get_Is_Stereo_mp3stream
( | mp3 | : not null A_mp3stream ) return Natural; |
function Get_Wave_Bits_mp3stream
( | mp3 | : not null A_mp3stream ) return Natural; |
function Get_Wave_Is_Stereo_mp3stream
( | mp3 | : not null A_mp3stream ) return Natural; |
function Get_Wave_Freq_mp3stream
( | mp3 | : not null A_mp3stream ) return Natural; |
function Get_Output_Wave_mp3stream
( | mp3 | : not null A_mp3stream; |
buffer_size | : access Natural ) return Address; |
function Is_Playing_mp3stream
( | mp3 | : not null A_mp3stream ) return Integer; |
function Get_Audiostream_mp3stream
( | mp3 | : not null A_mp3stream ) return A_Audiostream; |
function Seek_Abs_Frames_mp3stream
( | mp3 | : not null A_mp3stream; |
frame, total_size | : Natural ) return Natural; |
function Seek_Abs_Msecs_mp3stream
( | mp3 | : not null A_mp3stream; |
msecs, total_size | : Natural ) return Natural; |
function Seek_Abs_Secs_mp3stream
( | mp3 | : not null A_mp3stream; |
msecs, total_size | : Natural ) return Natural; |
function Seek_Abs_Bytes_mp3stream
( | mp3 | : not null A_mp3stream; |
bytes, total_size | : Natural ) return Natural; |
function Seek_Rel_Frames_mp3stream
( | mp3 | : not null A_mp3stream; |
frame, total_size | : Natural ) return Natural; |
function Seek_Rel_Msecs_mp3stream
( | mp3 | : not null A_mp3stream; |
msec, total_size | : Natural ) return Natural; |
function Seek_Rel_Secs_mp3stream
( | mp3 | : not null A_mp3stream; |
sec, total_size | : Natural ) return Natural; |
function Seek_Rel_Bytes_mp3stream
( | mp3 | : not null A_mp3stream; |
bytes, total_size | : Natural ) return Natural; |