LineSpectralFrequencies_def.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* LineSpectralFrequencies_def.h
  2. *
  3. * Copyright (C) 2016-2018 David Weenink
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, write to the Free Software
  17. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. */
  19. #define ooSTRUCT LineSpectralFrequencies_Frame
  20. oo_DEFINE_STRUCT (LineSpectralFrequencies_Frame)
  21. oo_INT (numberOfFrequencies)
  22. oo_VEC (frequencies, numberOfFrequencies)
  23. oo_END_STRUCT (LineSpectralFrequencies_Frame)
  24. #undef ooSTRUCT
  25. #define ooSTRUCT LineSpectralFrequencies
  26. oo_DEFINE_CLASS (LineSpectralFrequencies, Sampled)
  27. oo_DOUBLE (maximumFrequency)
  28. oo_INT (maximumNumberOfFrequencies)
  29. oo_STRUCT_VECTOR (LineSpectralFrequencies_Frame, d_frames, nx)
  30. #if oo_DECLARING
  31. void v_info ()
  32. override;
  33. #endif
  34. oo_END_CLASS (LineSpectralFrequencies)
  35. #undef ooSTRUCT
  36. /* End of file LineSpectralFrequencies_def.h */