X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdoslib%2Fext%2Flame%2Ftimestatus.h;fp=src%2Flib%2Fdoslib%2Fext%2Flame%2Ftimestatus.h;h=f5d343ba64d64d7d860b9da79b464bf4a4cba561;hb=1ce4037e53ce951438ba7e35597b08248dd1257a;hp=0000000000000000000000000000000000000000;hpb=7e5115774a8978fd85ac90c2c3c072b2b6a31d0e;p=16.git diff --git a/src/lib/doslib/ext/lame/timestatus.h b/src/lib/doslib/ext/lame/timestatus.h new file mode 100644 index 00000000..f5d343ba --- /dev/null +++ b/src/lib/doslib/ext/lame/timestatus.h @@ -0,0 +1,46 @@ +/* + * time status related function include file + * + * Copyright (c) 1999 Mark Taylor + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef LAME_TIMESTATUS_H +#define LAME_TIMESTATUS_H + +#if defined(__cplusplus) +extern "C" { +#endif + +void encoder_progress_begin( lame_global_flags const* gfp + , char const* inpath + , char const* outpath ); +void encoder_progress( lame_global_flags const* gfp ); +void encoder_progress_end(lame_global_flags const* gfp); + +struct DecoderProgress; +typedef struct DecoderProgress* DecoderProgress; + +DecoderProgress decoder_progress_init(unsigned long n, int framesize); +void decoder_progress(DecoderProgress dp, const mp3data_struct *, int iread); +void decoder_progress_finish(DecoderProgress dp); + +#if defined(__cplusplus) +} +#endif + +#endif /* LAME_TIMESTATUS_H */