kolibrios/contrib/media/minimp3/minimp3.inc
hidnplayr f4f6941e9a minimp3 library
git-svn-id: svn://kolibrios.org@8028 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-09 18:16:54 +00:00

24 lines
628 B
PHP

struc mp3dec_frame_info {
.frame_bytes dd ? ; signed int
.frame_offset dd ? ; signed int
.channels dd ? ; signed int
.hz dd ? ; signed int
.layer dd ? ; signed int
.bitrate_kbps dd ? ; signed int
}
; mp3d rb 8192
; invoke mp3dec_init, mp3d
; test eax, eax
; jz
; mp3dec_frame_info info
; pcm rw MINIMP3_MAX_SAMPLES_PER_FRAME
; invoke mp3dec_decode_frame, mp3d, input_buf, [buf_size], pcm, info
; mov [samples], eax