mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 23:56:49 +03:00
18 lines
885 B
C
18 lines
885 B
C
|
/*
|
||
|
layer3.h: some functions for interfacing to layer3 (gapless support)
|
||
|
|
||
|
copyright 2006 by the mpg123 project - free software under the terms of the LGPL 2.1
|
||
|
see COPYING and AUTHORS files in distribution or http://mpg123.de
|
||
|
initially written by Thomas Orgis.
|
||
|
*/
|
||
|
|
||
|
/* init part 1; set start/end in samples_*/
|
||
|
void layer3_gapless_init(unsigned long b, unsigned long e);
|
||
|
/* init part 2; transform to byte addresses with new info */
|
||
|
void layer3_gapless_bytify(struct frame *fr, struct audio_info_struct *ai);
|
||
|
/* after some seeking action to a new frame, the decoder needs to know which one is coming next */
|
||
|
void layer3_gapless_set_position(unsigned long frames, struct frame* fr, struct audio_info_struct *ai);
|
||
|
void layer3_gapless_set_ignore(unsigned long frames, struct frame* fr, struct audio_info_struct *ai);
|
||
|
/* removing the gaps from buffer */
|
||
|
void layer3_gapless_buffercheck();
|