Logo Search packages:      
Sourcecode: blender version File versions  Download package

AUD_SoftwareDevice Class Reference

#include <AUD_SoftwareDevice.h>

Inheritance diagram for AUD_SoftwareDevice:

AUD_IDevice AUD_JackDevice AUD_ReadDevice AUD_SDLDevice

List of all members.

Detailed Description

This device plays is a generic device with software mixing. Classes implementing this have to:

Definition at line 44 of file AUD_SoftwareDevice.h.

Public Member Functions

virtual bool checkCapability (int capability)
virtual bool getCapability (int capability, void *value)
virtual float getPosition (AUD_Handle *handle)
virtual AUD_Specs getSpecs ()
virtual AUD_Status getStatus (AUD_Handle *handle)
virtual void lock ()
virtual bool pause (AUD_Handle *handle)
virtual AUD_Handleplay (AUD_IFactory *factory, bool keep=false)
virtual bool resume (AUD_Handle *handle)
virtual bool seek (AUD_Handle *handle, float position)
virtual bool sendMessage (AUD_Handle *handle, AUD_Message &message)
virtual bool setCapability (int capability, void *value)
virtual bool setKeep (AUD_Handle *handle, bool keep)
void setMixer (AUD_IMixer *mixer)
virtual bool stop (AUD_Handle *handle)
virtual void unlock ()

Protected Member Functions

void create ()
void destroy ()
void mix (sample_t *buffer, int length)
virtual void playing (bool playing)=0

Protected Attributes

AUD_Specs m_specs

Private Member Functions

bool isValid (AUD_Handle *handle)

Private Attributes

pthread_mutex_t m_mutex
std::list< AUD_SoftwareHandle * > * m_pausedSounds
bool m_playback
std::list< AUD_SoftwareHandle * > * m_playingSounds
float m_volume

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index