|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLSOUND::IPlayable Class ReferencePlayable object interface, typically one sound source or a set of sound sources.
More...
#include <playable.h>
Inheritance diagram for NLSOUND::IPlayable:
List of all members.
Detailed Description
Playable object interface, typically one sound source or a set of sound sources.
This class is used by CEnvSound to handle in the same way center sources and ambiant sources.
-
Author:
-
Olivier Cado , Nevrax France
-
Date:
-
2001
Definition at line 47 of file playable.h.
Constructor & Destructor Documentation
virtual NLSOUND::IPlayable::~IPlayable |
( |
|
) |
[inline, virtual] |
|
NLSOUND::IPlayable::IPlayable |
( |
|
) |
[inline, protected] |
|
Member Function Documentation
virtual void NLSOUND::IPlayable::enable |
( |
bool |
toplay, |
|
|
float |
gain |
|
) |
[pure virtual] |
|
|
Enable (play with high priority) and set general gain, or disable (stop and set low priority).
Implemented in NLSOUND::CAmbiantSource. |
virtual void NLSOUND::IPlayable::initPos |
( |
const NLMISC::CVector * |
posvector |
) |
[inline, virtual] |
|
|
Init.
You can pass a position vector to link to (if the playable has stereo source(s)) When reading from a stream, call init() *after* serial().
Reimplemented in NLSOUND::CAmbiantSource.
Definition at line 56 of file playable.h. |
virtual void NLSOUND::IPlayable::moveTo |
( |
const NLMISC::CVector & |
pos |
) |
[inline, virtual] |
|
virtual void NLSOUND::IPlayable::serial |
( |
NLMISC::IStream & |
s |
) |
[pure virtual] |
|
virtual void NLSOUND::IPlayable::update |
( |
void |
|
) |
[inline, virtual] |
|
The documentation for this class was generated from the following file:
|
|