2
cnv_FAAD - MP4-AAC decoder plugin for Winamp3
3
Copyright (C) 2002 Antonio Foranna
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.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
The author can be contacted at:
25
#include <studio/wac.h>
26
#include <common/rootcomp.h>
27
#include <attribs/cfgitemi.h>
28
#include <attribs/attrint.h>
31
#define WACNAME WACcnv_FAAD
35
#include <attribs/attrstr.h>
36
extern _string cfg_samplerate;
37
extern _string cfg_profile;
38
extern _string cfg_bps;
41
class WACNAME : public WAComponentClient
47
virtual const char *getName() { return FILES_SUPPORT " to PCM converter"; };
48
virtual GUID getGUID();
50
virtual void onRegisterServices();
51
virtual void onDestroy();
52
virtual void onCreate();
54
virtual int getDisplayComponent() { return FALSE; };
56
virtual CfgItem *getCfgInterface(int n) { return this; }