shithub: aacdec

ref: 8328e1320cdd1231fc958ab50759cdc569379ef7
dir: /plugins/winamp3/cnv_aacpcm.cpp/

View raw version
/*
** FAAD - Freeware Advanced Audio Decoder
** Copyright (C) 2002 M. Bakker
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
**
** $Id: cnv_aacpcm.cpp,v 1.2 2002/02/17 11:09:51 menno Exp $
**/

#include "cnv_aacpcm.h"
#include "aacpcm.h"

static WACNAME wac;
WAComponentClient *the = &wac;

#include "sdk/studio/services/servicei.h"

// {3AF667AD-3CF8-459e-8C7C-BD8CD1D6F8C2}
static const GUID guid =
{ 0x3af667ad, 0x3cf8, 0x459e, { 0x8c, 0x7c, 0xbd, 0x8c, 0xd1, 0xd6, 0xf8, 0xc2 } };


WACNAME::WACNAME() : WAComponentClient("AAC files support")
{
    registerService(new waServiceT<svc_mediaConverter, AacPcm>);
}

WACNAME::~WACNAME()
{
}

GUID WACNAME::getGUID()
{
    return guid;
}

void WACNAME::onRegisterServices()
{
    api->core_registerExtension("*.aac", "AAC Files");
}