00001 /********************************************************** 00002 * 00003 * libmp3splt -- library based on mp3splt, 00004 * for mp3/ogg splitting without decoding 00005 * 00006 * Copyright (c) 2002-2005 M. Trotta - <mtrotta@users.sourceforge.net> 00007 * Copyright (c) 2005-2012 Alexandru Munteanu - <io_fx@yahoo.fr> 00008 * 00009 * Parts of this file have been copied from the 'vcut' 1.6 00010 * program provided with 'vorbis-tools' : 00011 * vcut (c) 2000-2001 Michael Smith <msmith@xiph.org> 00012 * 00013 * Some parts from a more recent version of vcut : 00014 * (c) 2008 Michael Gold <mgold@ncf.ca> 00015 * 00016 * http://mp3splt.sourceforge.net 00017 * 00018 *********************************************************/ 00019 00020 /********************************************************** 00021 * 00022 * This program is free software; you can redistribute it and/or 00023 * modify it under the terms of the GNU General Public License 00024 * as published by the Free Software Foundation; either version 2 00025 * of the License, or (at your option) any later version. 00026 * 00027 * This program is distributed in the hope that it will be useful, 00028 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00029 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00030 * GNU General Public License for more details. 00031 * 00032 * You should have received a copy of the GNU General Public License 00033 * along with this program; if not, write to the Free Software 00034 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00035 * 02111-1307, 00036 * USA. 00037 * 00038 *********************************************************/ 00039 00040 #ifndef MP3SPLT_OGG_SILENCE_H 00041 00042 #include "silence_processors.h" 00043 #include "splt.h" 00044 #include "ogg_new_stream_handler.h" 00045 00046 int splt_ogg_scan_silence(splt_state *state, short seconds, float threshold, 00047 float min, int shots, short output, ogg_page *page, ogg_int64_t granpos, 00048 int *error, ogg_int64_t first_cut_granpos, 00049 short silence_processor(double time, int silence_was_found, short must_flush, 00050 splt_scan_silence_data *ssd, int *found, int *error)); 00051 00052 #define MP3SPLT_OGG_SILENCE_H 00053 00054 #endif 00055