diff options
author | Monty <xiphmont@xiph.org> | 2000-01-22 13:28:37 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2000-01-22 13:28:37 +0000 |
commit | cab466d0585827812b4e562eb41a752dd56f1e53 (patch) | |
tree | 6b89be13bf6d9c298b1e59bef43d11f8b6ffd423 /lib/time0.c | |
parent | 0f361eca4e8a093e0781034e331e4d1446645130 (diff) | |
download | libvorbis-git-cab466d0585827812b4e562eb41a752dd56f1e53.tar.gz |
It's all coming back together slowly. Incremental update.
Monty
svn path=/trunk/vorbis/; revision=240
Diffstat (limited to 'lib/time0.c')
-rw-r--r-- | lib/time0.c | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/lib/time0.c b/lib/time0.c index 51471604..8c1dc63b 100644 --- a/lib/time0.c +++ b/lib/time0.c @@ -12,7 +12,7 @@ ******************************************************************** function: time backend 0 (dummy) - last mod: $Id: time0.c,v 1.1 2000/01/20 04:43:05 xiphmont Exp $ + last mod: $Id: time0.c,v 1.2 2000/01/22 13:28:34 xiphmont Exp $ ********************************************************************/ @@ -20,20 +20,30 @@ #include <string.h> #include "vorbis/codec.h" #include "registry.h" -#include "time0.h" -extern _vi_info_time *_vorbis_time0_dup(_vi_info_time *source){ - return(calloc(1,sizeof(vorbis_info_time0))); +static void pack (vorbis_info_time *i,oggpack_buffer *opb){ } - -extern void _vorbis_time0_free(_vi_info_time *i){ - if(i)free(i); +static vorbis_info_time *unpack (vorbis_info *vi,oggpack_buffer *opb){ + return NULL; } - -extern void _vorbis_time0_pack(oggpack_buffer *opb,_vi_info_time *i){ -} - -extern _vi_info_time *_vorbis_time0_unpack(vorbis_info *vi, - oggpack_buffer *opb){ - return(_vorbis_time0_dup(NULL)); +static vorbis_look_time *look (vorbis_info *vi,vorbis_info_mode *mi, + vorbis_info_time *i){ + return NULL; +} +static void free_info(vorbis_info_time *i){ } +static void free_look(vorbis_look_time *i){ +} +static int forward(vorbis_block *vb,vorbis_look_time *i, + double *in,double *out){ + return(0); +} +static int inverse(vorbis_block *vb,vorbis_look_time *i, + double *in,double *out){ + return(0); +} + +/* export hooks */ +vorbis_func_time time0_exportbundle={ + &pack,&unpack,&look,&free_info,&free_look,&forward,&inverse +}; |