mp3ssc.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /***************************************************************************\
  2. *
  3. * MPEG Layer3-Audio Decoder
  4. * © 1997-2006 by Fraunhofer IIS
  5. * All Rights Reserved
  6. *
  7. * filename: mp3ssc.h
  8. * project : ---
  9. * author : Martin Sieler
  10. * date : 1999-02-15
  11. * contents/description: ssc helper class (Structured Status Code)
  12. *
  13. *
  14. \***************************************************************************/
  15. /*
  16. * $Date: 2010/11/17 20:46:04 $
  17. * $Id: mp3ssc.h,v 1.1 2010/11/17 20:46:04 audiodsp Exp $
  18. */
  19. #ifndef __MP3SSC_H__
  20. #define __MP3SSC_H__
  21. /* ------------------------ includes --------------------------------------*/
  22. #include "mp3sscdef.h"
  23. /*-------------------------- defines --------------------------------------*/
  24. /*-------------------------------------------------------------------------*/
  25. /** Helper class for more information about SSC codes.
  26. */
  27. class CMp3Ssc
  28. {
  29. public:
  30. /** Object constructor
  31. @param An SSC staus code to initialize the object with.
  32. */
  33. CMp3Ssc(SSC ssc);
  34. ~CMp3Ssc() {}
  35. /** Operator for conversion to a text string.
  36. @return Textual description.
  37. */
  38. operator const char*();
  39. private:
  40. SSC m_ssc;
  41. };
  42. /*-------------------------------------------------------------------------*/
  43. #endif