Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
ogg.cpp File Reference
#include "precompiled.h"
#include "ogg.h"
#include "lib/byte_order.h"
#include "lib/external_libraries/openal.h"
#include "lib/external_libraries/vorbis.h"
#include "lib/file/file_system.h"
#include "lib/file/io/io.h"
#include "lib/file/vfs/vfs_util.h"
#include "maths/MathUtil.h"
#include "ps/CLogger.h"
#include "ps/Filesystem.h"
Include dependency graph for ogg.cpp:

Classes

class  VorbisFileAdapter
 
class  VorbisBufferAdapter
 
class  OggStreamImpl< Adapter >
 

Functions

static Status LibErrorFromVorbis (int err)
 
Status OpenOggStream (const OsPath &pathname, OggStreamPtr &stream)
 
Status OpenOggNonstream (const PIVFS &vfs, const VfsPath &pathname, OggStreamPtr &stream)
 A non-streaming OggStream (reading the whole file in advance) that can cope with archived/compressed files. More...
 

Function Documentation

◆ LibErrorFromVorbis()

static Status LibErrorFromVorbis ( int  err)
static

◆ OpenOggNonstream()

Status OpenOggNonstream ( const PIVFS vfs,
const VfsPath pathname,
OggStreamPtr stream 
)

A non-streaming OggStream (reading the whole file in advance) that can cope with archived/compressed files.

◆ OpenOggStream()

Status OpenOggStream ( const OsPath pathname,
OggStreamPtr stream 
)