Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iSoundDriver Struct Reference

This is the interface for the low-level, system-dependent sound driver that is used by the software sound renderer. More...

#include <driver.h>

Inheritance diagram for iSoundDriver:

iBase List of all members.

Public Methods

virtual bool Open (iSoundRender *, int frequency, bool bit16, bool stereo)=0
 Open the sound render.

virtual void Close ()=0
 Close the sound render.

virtual void LockMemory (void **mem, int *memsize)=0
 Lock and Get Sound Memory Buffer.

virtual void UnlockMemory ()=0
 Unlock Sound Memory Buffer.

virtual bool IsBackground ()=0
 Must the driver be updated manually or does it run in background?

virtual bool Is16Bits ()=0
 Is the driver in 16 bits mode ?

virtual bool IsStereo ()=0
 Is the driver in stereo mode ?

virtual int GetFrequency ()=0
 Get current frequency of driver.

virtual bool IsHandleVoidSound ()=0
 Is the sound driver able to create silence without locking and writing to the sound memory?


Detailed Description

This is the interface for the low-level, system-dependent sound driver that is used by the software sound renderer.

The sound driver is responsible for playing a single stream of samples.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000