Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1.  
  2.  
  3. struc mp3dec_frame_info {
  4.  
  5.         .frame_bytes    dd ?    ; signed int
  6.         .frame_offset   dd ?    ; signed int
  7.         .channels       dd ?    ; signed int
  8.         .hz             dd ?    ; signed int
  9.         .layer          dd ?    ; signed int
  10.         .bitrate_kbps   dd ?    ; signed int
  11.  
  12. }
  13.  
  14. ; mp3d                  rb 8192
  15.  
  16. ;        invoke  mp3dec_init, mp3d
  17. ;        test    eax, eax
  18. ;        jz
  19.  
  20. ; mp3dec_frame_info     info
  21. ; pcm                   rw MINIMP3_MAX_SAMPLES_PER_FRAME
  22.  
  23. ;        invoke  mp3dec_decode_frame, mp3d, input_buf, [buf_size], pcm, info
  24. ;        mov     [samples], eax