Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.         layer3.h: some functions for interfacing to layer3 (gapless support)
  3.  
  4.         copyright 2006 by the mpg123 project - free software under the terms of the LGPL 2.1
  5.         see COPYING and AUTHORS files in distribution or http://mpg123.de
  6.         initially written by Thomas Orgis.
  7. */
  8.  
  9. /* init part 1; set start/end in samples_*/
  10. void layer3_gapless_init(unsigned long b, unsigned long e);
  11. /* init part 2; transform to byte addresses with new info */
  12. void layer3_gapless_bytify(struct frame *fr, struct audio_info_struct *ai);
  13. /* after some seeking action to a new frame, the decoder needs to know which one is coming next */
  14. void layer3_gapless_set_position(unsigned long frames, struct frame* fr, struct audio_info_struct *ai);
  15.  void layer3_gapless_set_ignore(unsigned long frames, struct frame* fr, struct audio_info_struct *ai);
  16. /* removing the gaps from buffer */
  17. void layer3_gapless_buffercheck();
  18.