|
Declared in: be/game/FileGameSound.h
more...
BFileGameSound() |
BFileGameSound(const char *pathname,
bool looping = true,
BGameSoundDevice *device = NULL)This new constructor lets you set the file as a pathname (instead of as an entry_ref) .
SetPaused() , IsPaused() |
virtual status_t SetPaused(bool pauseIt, bigtime_t rampTime) int32 IsPaused(void) SetPaused() lets you pause and resume the sound as pauseIt is true or false. rampTime is the amount of time, in microseconds, that will be used to fade in or fade out.
IsPaused() returns a value that describes the current paused state:
- B_NOT_PAUSED. The sound isn't paused.
- B_PAUSED. The sound is currently paused.
- B_PAUSE_IN_PROGRESS. The sound is fading out but isn't yet paused.
RETURN CODES
SetPaused() returns:
Declared in: be/game/SimpleGameSound.h
BSimpleGameSound() |
BSimpleGameSound(const char *pathname,
BGameSoundDevice *device = NULL)This new constructor lets you set the file as a pathname (instead of as an entry_ref) .
|
Copyright © 2000 Be, Inc. All rights reserved..