Update encoder and decoder examples. One inch away from everything
[platform/upstream/libvorbis.git] / lib / time0.c
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
6  * PLEASE READ THESE TERMS DISTRIBUTING.                            *
7  *                                                                  *
8  * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-2000             *
9  * by Monty <monty@xiph.org> and The XIPHOPHORUS Company            *
10  * http://www.xiph.org/                                             *
11  *                                                                  *
12  ********************************************************************
13
14  function: time backend 0 (dummy)
15  last mod: $Id: time0.c,v 1.2 2000/01/22 13:28:34 xiphmont Exp $
16
17  ********************************************************************/
18
19 #include <stdlib.h>
20 #include <string.h>
21 #include "vorbis/codec.h"
22 #include "registry.h"
23
24 static void pack (vorbis_info_time *i,oggpack_buffer *opb){
25 }
26 static vorbis_info_time *unpack (vorbis_info *vi,oggpack_buffer *opb){
27   return NULL;
28 }
29 static vorbis_look_time *look (vorbis_info *vi,vorbis_info_mode *mi,
30                               vorbis_info_time *i){
31   return NULL;
32 }
33 static void free_info(vorbis_info_time *i){
34 }
35 static void free_look(vorbis_look_time *i){
36 }
37 static int forward(vorbis_block *vb,vorbis_look_time *i,
38                     double *in,double *out){
39   return(0);
40 }
41 static int inverse(vorbis_block *vb,vorbis_look_time *i,
42                     double *in,double *out){
43   return(0);
44 }
45
46 /* export hooks */
47 vorbis_func_time time0_exportbundle={
48   &pack,&unpack,&look,&free_info,&free_look,&forward,&inverse
49 };