|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLSOUND::IBuffer Class ReferenceSound buffer interface (implemented in sound driver dynamic library).
More...
#include <buffer.h>
Inheritance diagram for NLSOUND::IBuffer:
List of all members.
Detailed Description
Sound buffer interface (implemented in sound driver dynamic library).
-
Author:
-
Olivier Cado , Nevrax France
-
Date:
-
2001
Definition at line 48 of file buffer.h.
Constructor & Destructor Documentation
NLSOUND::IBuffer::IBuffer |
( |
|
) |
[inline, protected] |
|
|
Constructor.
Definition at line 94 of file buffer.h. |
virtual NLSOUND::IBuffer::~IBuffer |
( |
|
) |
[inline, virtual] |
|
|
Destructor.
Definition at line 99 of file buffer.h. |
Member Function Documentation
virtual bool NLSOUND::IBuffer::fillBuffer |
( |
void * |
src, |
|
|
uint32 |
bufsize |
|
) |
[pure virtual] |
|
virtual bool NLSOUND::IBuffer::fillMore |
( |
void * |
src, |
|
|
uint32 |
srcsize |
|
) |
[inline, virtual] |
|
|
Fill the buffer partially (if isFillMoreSupported() only), beginning at the pos changed by a previous call to fillMore().
If the pos+srcsize exceeds the buffer size, the exceeding data is put at the beginning of the buffer. srcsize must be smaller than the buffer size.
Reimplemented in NLSOUND::CBufferAL.
Definition at line 83 of file buffer.h.
References src. |
virtual float NLSOUND::IBuffer::getDuration |
( |
|
) |
const [pure virtual] |
|
virtual void NLSOUND::IBuffer::getFormat |
( |
TSampleFormat & |
format, |
|
|
uint & |
freq |
|
) |
const [pure virtual] |
|
virtual const std::string& NLSOUND::IBuffer::getName |
( |
|
) |
[pure virtual] |
|
virtual uint32 NLSOUND::IBuffer::getSize |
( |
|
) |
const [pure virtual] |
|
virtual bool NLSOUND::IBuffer::isBufferLoaded |
( |
|
) |
[pure virtual] |
|
virtual bool NLSOUND::IBuffer::isFillMoreSupported |
( |
|
) |
const [pure virtual] |
|
|
Return true if the buffer is able to be fill part by part, false if it must be filled in one call OpenAL 1.0 -> false.
Implemented in NLSOUND::CBufferDSound. |
virtual bool NLSOUND::IBuffer::isStereo |
( |
|
) |
const [pure virtual] |
|
virtual void NLSOUND::IBuffer::presetName |
( |
const std::string & |
bufferName |
) |
[pure virtual] |
|
|
Preset the name of the buffer.
Used for async loading to give a name before the buffer is effectivly loaded. If the name after loading of the buffer doesn't match the preset name, the load will assert.
Implemented in NLSOUND::CBufferDSound. |
virtual void NLSOUND::IBuffer::setFormat |
( |
TSampleFormat |
format, |
|
|
uint |
freq |
|
) |
[pure virtual] |
|
virtual void NLSOUND::IBuffer::setSize |
( |
uint32 |
size |
) |
[inline, virtual] |
|
The documentation for this class was generated from the following file:
|
|