time0.c 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. function: time backend 0 (dummy)
  14. last mod: $Id: time0.c,v 1.5.8.2 2000/09/02 05:19:25 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_look_time *time0_look (vorbis_dsp_state *vd,vorbis_info_mode *mi,
  27. vorbis_info_time *i){
  28. return "";
  29. }
  30. static void time0_free_info(vorbis_info_time *i){
  31. }
  32. static void time0_free_look(vorbis_look_time *i){
  33. }
  34. static int time0_forward(vorbis_block *vb,vorbis_look_time *i,
  35. float *in,float *out){
  36. return(0);
  37. }
  38. static int time0_inverse(vorbis_block *vb,vorbis_look_time *i,
  39. float *in,float *out){
  40. return(0);
  41. }
  42. /* export hooks */
  43. vorbis_func_time time0_exportbundle={
  44. &time0_pack,&time0_unpack,&time0_look,&time0_free_info,
  45. &time0_free_look,&time0_forward,&time0_inverse
  46. };