Code Search for Developers
 
 
  

codec.h from NeoEngineNG at Krugle


Show codec.h syntax highlighted

/***************************************************************************
                          codec.h  -  Ogg Vorbis codec
                             -------------------
    begin                : Wed Mar 17 2004
    copyright            : (C) 2004 by Reality Rift Studios
    email                : mattias@realityrift.com
 ***************************************************************************

 The contents of this file are subject to the Mozilla Public License Version
 1.1 (the "License"); you may not use this file except in compliance with
 the License. You may obtain a copy of the License at 
 http://www.mozilla.org/MPL/

 Software distributed under the License is distributed on an "AS IS" basis,
 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 for the specific language governing rights and limitations under the
 License.

 The Original Code is the NeoEngine, NeoACVorbis, codec.h

 The Initial Developer of the Original Code is Mattias Jansson.
 Portions created by Mattias Jansson are Copyright (C) 2004
 Reality Rift Studios. All Rights Reserved.

 ***************************************************************************/

#ifndef __NEOACVORBIS_CODEC_H
#define __NEOACVORBIS_CODEC_H

#include <neoengine/base.h>
#include <neoengine/sound.h>
#include <neoengine/file.h>

namespace NeoACVorbis
{


/**
  * \brief Ogg Vorbis sound codec
  * \author Mattias Jansson (mattias@realityrift.com)
  */
class Codec : public NeoEngine::SoundCodec
{
	public:

		/**
		* \param rstrFiletypeName                          File type name
		* \param rvstrExtensions                           File type extensions
		*/
		                                                   Codec( const std::string &rstrFiletypeName, const std::vector< std::string > &rvstrExtensions );

		/**
		*/
		virtual                                           ~Codec();

		/**
		* Check if file is type (must NOT change file offset!)
		* \param pkFile                                    File
		* \return                                          true if type, false if not
		*/
		virtual bool                                       IsType( NeoEngine::File *pkFile );

		/**
		* Create a sound stream
		* \param pkFile                                    File
		* \return                                          Ptr to new SoundStream object
		*/
		virtual NeoEngine::SoundStream                    *GetStream( NeoEngine::File *pkFile );
};


};


#endif




See more files for this project here

NeoEngineNG

NeoenEngine NG (Next Generation) is the evolution of neoengine one,it\'s a different development from NeoEngine2, it\'s a direct inherits from NeoEngine one.\n

Project homepage: http://sourceforge.net/projects/neoengineng
Programming language(s): C,C++
License: other

  ogg/
    bitwise.c
    config_types.h.in
    framing.c
    ogg.h
    os_types.h
  vorbis/
    books/
      coupled/
        res_books_stereo.h
      floor/
        floor_books.h
      uncoupled/
        res_books_uncoupled.h
    modes/
      floor_all.h
      psych_11.h
      psych_16.h
      psych_44.h
      psych_8.h
      residue_16.h
      residue_44.h
      residue_44u.h
      residue_8.h
      setup_11.h
      setup_16.h
      setup_22.h
      setup_32.h
      setup_44.h
      setup_44u.h
      setup_8.h
      setup_X.h
    analysis.c
    backends.h
    barkmel.c
    bitrate.c
    bitrate.h
    block.c
    codebook.c
    codebook.h
    codec.h
    codec_internal.h
    envelope.c
    envelope.h
    floor0.c
    floor1.c
    highlevel.h
    info.c
    lookup.c
    lookup.h
    lookup_data.h
    lookups.pl
    lpc.c
    lpc.h
    lsp.c
    lsp.h
    mapping0.c
    masking.h
    mdct.c
    mdct.h
    misc.h
    os.h
    psy.c
    psy.h
    psytune.c
    registry.c
    registry.h
    res0.c
    scales.h
    sharedbook.c
    smallft.c
    smallft.h
    synthesis.c
    tone.c
    vorbisenc.c
    vorbisenc.h
    vorbisfile.c
    vorbisfile.h
    window.c
    window.h
  Makefile.am
  SConscript
  codec.cpp
  codec.h
  link.h
  neoacvorbis-static.dev
  neoacvorbis.cbp
  neoacvorbis.depend
  neoacvorbis.dev
  neoacvorbis.dsp
  neoacvorbis.layout
  neoacvorbis.vcproj
  stream.cpp
  stream.h