____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

SoundChannel Struct Reference

List of all members.

Public Attributes

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


Detailed Description

Definition at line 64 of file sound_server.cpp.


Member Data Documentation

sample to play

Definition at line 65 of file sound_server.cpp.

Referenced by FillChannel(), and GetChannelSample().

unsigned char SoundChannel::Volume

Volume of this channel.

Definition at line 66 of file sound_server.cpp.

Referenced by FillChannel(), and SetChannelVolume().

signed char SoundChannel::Stereo

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

Definition at line 67 of file sound_server.cpp.

Referenced by FillChannel(), and SetChannelStereo().

channel is currently playing

Definition at line 69 of file sound_server.cpp.

Referenced by ChannelFinished(), and FillChannel().

point in sample if playing or next free channel

Definition at line 70 of file sound_server.cpp.

Referenced by ChannelFinished(), FillChannel(), InitSound(), and MixChannelsToStereo32().

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

Callback for when a sample finishes playing.

Referenced by ChannelFinished(), FillChannel(), and SetChannelFinishedCallback().


The documentation for this struct was generated from the following file:

Generated on Sat Feb 21 00:28:25 2009 for Bos Wars by  doxygen 1.5.6