time0.c 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. function: time backend 0 (dummy)
  14. last mod: $Id: time0.c,v 1.6.2.2 2000/11/04 06:21:46 xiphmont Exp $
  15. ********************************************************************/
  16. #include <stdlib.h>
  17. #include <string.h>
  18. #include "vorbis/codec.h"
  19. #include "registry.h"
  20. #include "misc.h"
  21. static void time0_pack (vorbis_info_time *i,oggpack_buffer *opb){
  22. }
  23. static vorbis_info_time *time0_unpack (vorbis_info *vi,oggpack_buffer *opb){
  24. return "";
  25. }
  26. static vorbis_info_time *time0_copy_info (vorbis_info_time *vi){
  27. return "";
  28. }
  29. static vorbis_look_time *time0_look (vorbis_dsp_state *vd,vorbis_info_mode *mi,
  30. vorbis_info_time *i){
  31. return "";
  32. }
  33. static void time0_free_info(vorbis_info_time *i){
  34. }
  35. static void time0_free_look(vorbis_look_time *i){
  36. }
  37. static int time0_forward(vorbis_block *vb,vorbis_look_time *i,
  38. float *in,float *out){
  39. return(0);
  40. }
  41. static int time0_inverse(vorbis_block *vb,vorbis_look_time *i,
  42. float *in,float *out){
  43. return(0);
  44. }
  45. /* export hooks */
  46. vorbis_func_time time0_exportbundle={
  47. &time0_pack,&time0_unpack,&time0_look,&time0_copy_info,&time0_free_info,
  48. &time0_free_look,&time0_forward,&time0_inverse
  49. };