Merge branch_beta3 onto the mainline.
[platform/upstream/libvorbis.git] / lib / time0.c
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH    *
6  * THIS SOURCE. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.        *
7  *                                                                  *
8  * THE OggVorbis 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.7 2000/11/06 00:07:02 xiphmont Exp $
16
17  ********************************************************************/
18
19 #include <stdlib.h>
20 #include <string.h>
21 #include "vorbis/codec.h"
22 #include "registry.h"
23 #include "misc.h"
24
25 static void time0_pack (vorbis_info_time *i,oggpack_buffer *opb){
26 }
27 static vorbis_info_time *time0_unpack (vorbis_info *vi,oggpack_buffer *opb){
28   return "";
29
30 }
31 static vorbis_info_time *time0_copy_info (vorbis_info_time *vi){
32   return "";
33 }
34 static vorbis_look_time *time0_look (vorbis_dsp_state *vd,vorbis_info_mode *mi,
35                               vorbis_info_time *i){
36   return "";
37 }
38 static void time0_free_info(vorbis_info_time *i){
39 }
40 static void time0_free_look(vorbis_look_time *i){
41 }
42 static int time0_forward(vorbis_block *vb,vorbis_look_time *i,
43                     float *in,float *out){
44   return(0);
45 }
46 static int time0_inverse(vorbis_block *vb,vorbis_look_time *i,
47                     float *in,float *out){
48   return(0);
49 }
50
51 /* export hooks */
52 vorbis_func_time time0_exportbundle={
53   &time0_pack,&time0_unpack,&time0_look,&time0_copy_info,&time0_free_info,
54   &time0_free_look,&time0_forward,&time0_inverse
55 };