![]() |
Public API Reference |
#include <driver.h>
Inheritance diagram for iSoundDriver:
Public Methods | |
virtual bool | Open (iSoundRender *, int frequency, bool bit16, bool stereo)=0 |
Open the sound render. More... | |
virtual void | Close ()=0 |
Close the sound render. More... | |
virtual void | LockMemory (void **mem, int *memsize)=0 |
Lock and Get Sound Memory Buffer. More... | |
virtual void | UnlockMemory ()=0 |
Unlock Sound Memory Buffer. More... | |
virtual bool | IsBackground ()=0 |
Must the driver be updated manually or does it run in background? More... | |
virtual bool | Is16Bits ()=0 |
Is the driver in 16 bits mode ? More... | |
virtual bool | IsStereo ()=0 |
Is the driver in stereo mode ? More... | |
virtual int | GetFrequency ()=0 |
Get current frequency of driver. More... | |
virtual bool | IsHandleVoidSound ()=0 |
Is the sound driver able to create silence without locking and writing to the sound memory? More... |
The sound driver is responsible for playing a single stream of samples.
Definition at line 35 of file isound/driver.h.
|
Close the sound render.
|
|
Get current frequency of driver.
|
|
Is the driver in 16 bits mode ?
|
|
Must the driver be updated manually or does it run in background?
|
|
Is the sound driver able to create silence without locking and writing to the sound memory?
|
|
Is the driver in stereo mode ?
|
|
Lock and Get Sound Memory Buffer.
|
|
Open the sound render.
|
|
Unlock Sound Memory Buffer.
|