Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <BorrowedOpenALRenderer.h>
Public Member Functions | |
BorrowedOpenALRenderer (ALCdevice *device=0, ALCcontext *context=0) throw (Exception) | |
~BorrowedOpenALRenderer () | |
virtual void | setOutputFormat (const Format &format) throw (Exception) |
![]() | |
OpenALRenderer () throw (Exception) | |
virtual | ~OpenALRenderer () |
virtual SharedPtr< Sound > | getSound (const std::string &name, VSFileSystem::VSFileType type=VSFileSystem::UnknownFile, bool streaming=false) throw (Exception) |
virtual bool | owns (SharedPtr< Sound > sound) |
virtual void | attach (SharedPtr< Source > source) throw (Exception) |
virtual void | attach (SharedPtr< Listener > listener) throw (Exception) |
virtual void | detach (SharedPtr< Source > source) throw () |
virtual void | detach (SharedPtr< Listener > listener) throw () |
virtual void | setMeterDistance (Scalar distance) throw () |
virtual void | setDopplerFactor (Scalar factor) throw () |
virtual void | beginTransaction () throw (Exception) |
virtual void | commitTransaction () throw (Exception) |
![]() | |
Renderer () throw (Exception) | |
virtual | ~Renderer () |
virtual Scalar | getMeterDistance () const throw () |
virtual Scalar | getDopplerFactor () const throw () |
virtual const Format & | getOutputFormat () const throw () |
Protected Member Functions | |
virtual void | checkContext () throw (Exception) |
![]() | |
virtual void | initContext () throw (Exception) |
void | setupDopplerEffect () throw (Exception) |
Additional Inherited Members | |
![]() | |
AutoPtr < __impl::OpenAL::RendererData > | data |
Hooks up the renderer to an already-existing OpenAL context
Definition at line 21 of file BorrowedOpenALRenderer.h.
Audio::BorrowedOpenALRenderer::BorrowedOpenALRenderer | ( | ALCdevice * | device = 0 , |
ALCcontext * | context = 0 |
||
) | |||
throw | ( | Exception | |
) |
Hooks up the renderer to an already-existing OpenAL context
device | The OpenAL device associated to this context |
context | The OpenAL context associated to this renderer |
Definition at line 403 of file OpenALRenderer.cpp.
Audio::BorrowedOpenALRenderer::~BorrowedOpenALRenderer | ( | ) |
Definition at line 419 of file OpenALRenderer.cpp.
|
protectedvirtual |
Makes sure the AL context is valid, creating one if necessary
Reimplemented from Audio::OpenALRenderer.
Definition at line 432 of file OpenALRenderer.cpp.
|
virtual |
Sets the (preferred) output format.
Reimplemented from Audio::OpenALRenderer.
Definition at line 425 of file OpenALRenderer.cpp.
References Audio::Renderer::setOutputFormat().