_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Attributes | List of all members
SoundChannel Struct Reference

Channels for sound effects and unit speech. More...

Public Attributes

CSampleSample
 
OriginUnit
 sample to play More...
 
unsigned char Volume
 pointer to unit, who plays the sound, if any More...
 
signed char Stereo
 Volume of this channel. More...
 
bool Playing
 stereo location of sound (-128 left, 0 center, 127 right) More...
 
int Point
 channel is currently playing More...
 
void(* FinishedCallback )(int channel)
 point in sample if playing or next free channel More...
 

Detailed Description

Channels for sound effects and unit speech.

Member Data Documentation

void(* SoundChannel::FinishedCallback)(int channel)

point in sample if playing or next free channel

bool SoundChannel::Playing

stereo location of sound (-128 left, 0 center, 127 right)

int SoundChannel::Point

channel is currently playing

CSample* SoundChannel::Sample
signed char SoundChannel::Stereo

Volume of this channel.

Origin* SoundChannel::Unit

sample to play

unsigned char SoundChannel::Volume

pointer to unit, who plays the sound, if any


The documentation for this struct was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.