time0.c 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
  5. * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  6. * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
  9. * by the XIPHOPHORUS Company http://www.xiph.org/ *
  10. ********************************************************************
  11. function: time backend 0 (dummy)
  12. last mod: $Id: time0.c,v 1.9.6.1 2001/08/02 06:14:44 xiphmont Exp $
  13. ********************************************************************/
  14. #include <stdlib.h>
  15. #include <string.h>
  16. #include "vorbis/codec.h"
  17. #include "codec_internal.h"
  18. #include "registry.h"
  19. #include "misc.h"
  20. static void time0_pack (vorbis_info_time *i,oggpack_buffer *opb){
  21. }
  22. static vorbis_info_time *time0_unpack (vorbis_info *vi,oggpack_buffer *opb){
  23. return "";
  24. }
  25. static vorbis_info_time *time0_copy_info (vorbis_info_time *vi){
  26. return "";
  27. }
  28. static vorbis_look_time *time0_look (vorbis_dsp_state *vd,vorbis_info_mode *mi,
  29. vorbis_info_time *i){
  30. return "";
  31. }
  32. static void time0_free_info(vorbis_info_time *i){
  33. }
  34. static void time0_free_look(vorbis_look_time *i){
  35. }
  36. static int time0_forward(vorbis_block *vb,vorbis_look_time *i,
  37. float *in,float *out){
  38. return(0);
  39. }
  40. static int time0_inverse(vorbis_block *vb,vorbis_look_time *i,
  41. float *in,float *out){
  42. return(0);
  43. }
  44. /* export hooks */
  45. vorbis_func_time time0_exportbundle={
  46. &time0_pack,&time0_unpack,&time0_look,&time0_copy_info,&time0_free_info,
  47. &time0_free_look,&time0_forward,&time0_inverse
  48. };