From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/replicant/nsmp3dec/mp3ssc.h | 57 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Src/replicant/nsmp3dec/mp3ssc.h (limited to 'Src/replicant/nsmp3dec/mp3ssc.h') diff --git a/Src/replicant/nsmp3dec/mp3ssc.h b/Src/replicant/nsmp3dec/mp3ssc.h new file mode 100644 index 00000000..ac2876c3 --- /dev/null +++ b/Src/replicant/nsmp3dec/mp3ssc.h @@ -0,0 +1,57 @@ +/***************************************************************************\ + * +* MPEG Layer3-Audio Decoder +* © 1997-2006 by Fraunhofer IIS + * All Rights Reserved + * + * filename: mp3ssc.h + * project : --- + * author : Martin Sieler + * date : 1999-02-15 + * contents/description: ssc helper class (Structured Status Code) + * + * +\***************************************************************************/ + +/* + * $Date: 2010/11/17 20:46:04 $ + * $Id: mp3ssc.h,v 1.1 2010/11/17 20:46:04 audiodsp Exp $ + */ + +#ifndef __MP3SSC_H__ +#define __MP3SSC_H__ + +/* ------------------------ includes --------------------------------------*/ + +#include "mp3sscdef.h" + +/*-------------------------- defines --------------------------------------*/ + +/*-------------------------------------------------------------------------*/ + +/** Helper class for more information about SSC codes. +*/ +class CMp3Ssc +{ +public: + /** Object constructor + + @param An SSC staus code to initialize the object with. + + */ + CMp3Ssc(SSC ssc); + ~CMp3Ssc() {} + + /** Operator for conversion to a text string. + + @return Textual description. + + */ + operator const char*(); + +private: + SSC m_ssc; +}; + +/*-------------------------------------------------------------------------*/ +#endif -- cgit