Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

input.cpp File Reference

#include <string.h>
#include "input.hpp"
#include "debug.hpp"
#include "input_mod.hpp"
#include "input_ogg.hpp"
#include "input_wav.hpp"
#include "utility.hpp"

Include dependency graph for input.cpp:

Include dependency graph

Go to the source code of this file.

Defines

#define TRY_SOURCE(source_type)

Functions

bool end_is (const char *begin, const char *end, const char *ext)
ISampleSourceOpenInputStream (IFileSystem *fs, const char *filename)


Define Documentation

#define TRY_SOURCE( source_type )
 

Value:

    source = TryInputStream<source_type>(file);  \
    if (source) {                                \
      return source;                             \
    } else {                                     \
      file->Seek(0, ADR_BEGIN);                  \
    }

Referenced by OpenInputStream().


Function Documentation

ISampleSource * OpenInputStream ( IFileSystem * fs,
const char * filename )
 

Definition at line 39 of file input.cpp.

bool end_is ( const char * begin,
const char * end,
const char * ext ) [inline]
 

Definition at line 12 of file input.cpp.

Referenced by OpenInputStream().


Generated at Mon Jun 10 02:55:16 2002 for audiere by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001