The Be Book The Game Kit The Game Kit Index

BGameSound Function Summary


Function Summary

Function Description
Clone() Returns a clone of the sound
Device() Returns a pointer to the BGameSoundDevice assigned to play the sound
Format() Returns the audio format of the sound
Gain() Returns the sound's current gain
BGameSound() Constructor
GetAttributes() Returns the sound's attributes
ID() Returns the ID of the sound attached to the BGameSound
Init() Sets the sound to be played by the object
InitCheck() Indicates whether or not the object was initialized successfully
IsPlaying() Indicates whether or not the sound is playing
LockMemoryPool() Locks or unlocks the BGameSound's memory pool
Pan() Returns the sound's current left-right placement
SetAttributes() Sets the sound's attributes
SetGain() Sets the sound's gain
SetInitError() Sets the object's initialization error
SetMaxSoundCount() Specifies the maximum number of sounds that can be in use at once
SetMemoryPoolSize() Sets the size, in bytes, of the sound's memory pool
SetPan() Sets the sound's left-right placement
StartPlaying() Starts playing the sound
StopPlaying() Stops the sound playback

The Be Book The Game Kit The Game Kit Index

The Be Book,
...in lovely HTML...
for BeOS Release 5.

Copyright © 2000 Be, Inc. All rights reserved..