mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-28 03:39:35 +03:00
f4f6941e9a
git-svn-id: svn://kolibrios.org@8028 a494cfbc-eb01-0410-851d-a64ba20cac60
24 lines
628 B
PHP
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 |