gstdspadec.h 925 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * Copyright (C) 2010 Víctor M. Jáquez Leal
  3. *
  4. * Author: Víctor M. Jáquez Leal <vjaquez@igalia.com>
  5. *
  6. * This file may be used under the terms of the GNU Lesser General Public
  7. * License version 2.1, a copy of which is found in LICENSE included in the
  8. * packaging of this file.
  9. */
  10. #ifndef GST_DSP_ADEC_H
  11. #define GST_DSP_ADEC_H
  12. #include <gst/gst.h>
  13. G_BEGIN_DECLS
  14. #define GST_DSP_ADEC(obj) (GstDspADec *)(obj)
  15. #define GST_DSP_ADEC_TYPE (gst_dsp_adec_get_type())
  16. #define GST_DSP_ADEC_CLASS(obj) (GstDspADecClass *)(obj)
  17. typedef struct GstDspADec GstDspADec;
  18. typedef struct GstDspADecClass GstDspADecClass;
  19. #include "gstdspbase.h"
  20. enum {
  21. GSTDSP_AACDEC,
  22. };
  23. struct GstDspADec {
  24. GstDspBase element;
  25. int samplerate;
  26. bool parametric_stereo;
  27. bool packetized;
  28. bool raw;
  29. };
  30. struct GstDspADecClass {
  31. GstDspBaseClass parent_class;
  32. };
  33. GType gst_dsp_adec_get_type(void);
  34. G_END_DECLS
  35. #endif /* GST_DSP_ADEC_H */