Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Channel Class Reference

A wrapper for Audio. Helps channels management. More...

#include <Channel.h>

Collaboration diagram for Channel:

Collaboration graph
[legend]
List of all members.

Public Methods

 Channel (Audio& audio, int channel_id = -1)
Audio::Result SetVolume (Audio::Volume volume)
Audio::Volume GetVolume ()
Audio::Result SetVelocity (Audio::Velocity velocity)
Audio::Velocity GetVelocity ()
Audio::Result SetFrequency (Audio::Frequency frequency)
Audio::Frequency GetFrequency ()
Audio::Result SetPosition (unsigned long position)
unsigned long GetPosition ()
Audio::Result SetLocation (int x, int y, int z)
Audio::Result SetX (int x)
Audio::Result SetY (int y)
Audio::Result SetZ (int z)
Audio::Result GetLocation (int& x, int& y, int& z)
Audio::Result GetX (int& x)
Audio::Result GetY (int& y)
Audio::Result GetZ (int& z)
Audio::Result SetVoice (int voice)
int GetVoice ()
void Start ()
 Allow the channel to be mixed. Start mixing if we aren't already.

void Stop ()
 Stop the channel being mixed.

int GetID () const

Detailed Description

A wrapper for Audio. Helps channels management.

This doesn't really do much. It relies totally on Audio.


The documentation for this class was generated from the following files:
Generated at Mon Nov 27 01:46:40 2000 for LibPenguinPlay by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000