Commit 6ed1ee09 authored by Monty Montgomery's avatar Monty Montgomery

more lib split preparation


git-svn-id: https://svn.xiph.org/trunk/postfish@8588 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent 4a8e2300
......@@ -21,11 +21,10 @@
*
*/
extern void time_linkage_init(time_linkage *new,int ch);
extern int time_linkage_copy(time_linkage *dest,time_linkage *src);
extern int time_linkage_channels(time_linkage *in);
extern int time_linkage_samples(time_linkage *in);
extern int time_linkage_init_alias_split(time_linkage *in,time_linkage *out);
extern void time_linkage_init_alias_combine(time_linkage *in,time_linkage *out,int ch);
extern void time_linkage_swap(time_linkage *a, time_linkage *b);
extern void time_linkage_clear(time_linkage *in);
#include "libpostfish.h"
struct postfish_instance {
int rate;
int blocksize;
float ***window_func;
};
/*
*
* postfish
*
* Copyright (C) 2002-2005 Monty
*
* Postfish is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* Postfish 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Postfish; see the file COPYING. If not, write to the
* Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*
*/
#include "internal.h"
void postfish_instance_init(postfish_instance *p, int samplerate, int blocksize){
memset(p,0,sizeof(*p));
p->rate=samplerate;
p->blocksize=blocksize;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment