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

SoundChannel Struct Reference

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

List of all members.


Public Attributes

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

Detailed Description

Channels for sound effects and unit speach.

Member Data Documentation

unsigned char SoundChannel::Volume

sample to play

signed char SoundChannel::Stereo

Volume of this channel.

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

channel is currently playing

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

point in sample if playing or next free channel


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