CrystalSpace

Public API Reference

CS::SndSys Namespace Reference

Sound system classes. More...

Classes

class  PCMSampleConverter
 A PCMSampleConverter object converts PCM data from one format to another. More...
class  Queue
 A threadsafe, pointer-passing queue (First-In First-Out) implementation for the sound system. More...
class  QueueIterator
 A simple iterator over the elements of a queue. More...
class  SoundCyclicBuffer
 An implementation of a cyclic buffer oriented for sound functionality. More...

Enumerations

enum  QueueErrorType { QUEUE_SUCCESS = 0, QUEUE_ERR_CLOSED = -1, QUEUE_ERR_NOMEM = -2, QUEUE_ERR_DUPE = -3 }
 

Basic operation error codes.

More...

Detailed Description

Sound system classes.


Enumeration Type Documentation

Basic operation error codes.

Enumerator:
QUEUE_SUCCESS 

The operation was successful.

QUEUE_ERR_CLOSED 

The operation failed because the queue is m_bClosed.

Closed queues fail further attempts to add elements

QUEUE_ERR_NOMEM 

The operation failed due to a memory allocation failure.

QUEUE_ERR_DUPE 

The operation failed due to another currently existing equivalent entry.

If the queue is configured to check for duplicate entries, then this result may be returned

Definition at line 38 of file queue.h.


Generated for Crystal Space 1.4.1 by doxygen 1.7.1