Recognizes if input is ogg or not.
[xiph.git] / postfish / libpostfish.c
blobcb671a89b39fdb094468ee5de92c41a393d2c025
1 /*
3 * postfish
4 *
5 * Copyright (C) 2002-2005 Monty
7 * Postfish is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
10 * any later version.
12 * Postfish is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Postfish; see the file COPYING. If not, write to the
19 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
24 #include "internal.h"
26 void postfish_instance_init(postfish_instance *p, int samplerate, int blocksize){
27 memset(p,0,sizeof(*p));
28 p->rate=samplerate;
29 p->blocksize=blocksize;