7 #ifndef __openal_VoiceAL_h__ 8 #define __openal_VoiceAL_h__ 27 void initialize(
void);
30 virtual Result setReferenceDistance(Real distance);
34 virtual Result setPitch(F32 pitch);
35 virtual Result setVolume(F32 volume);
38 virtual Result pause(
void);
40 virtual Result rewind(
void);
62 return m_hpAudioAL.isValid()?
63 m_hpAudioAL->checkError(
"VoiceAL::~VoiceAL"): e_ok;
Sound producer.
Definition: VoiceI.h:19
virtual Result queue(String name)
Add another sound to be played in order.
Definition: VoiceAL.cc:120
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
virtual I32 remaining(void)
Return number of sounds playing or pending.
Definition: VoiceAL.cc:161
Safe handle for shared pointer.
Definition: Handled.h:61
Automatically reference-counted string container.
Definition: String.h:128
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
const String & name(void) const
Return the components chosen name.
Definition: Component.h:77
virtual Result persist(BWORD on)
Continue playing without external references.
Definition: VoiceAL.cc:142
Voice using OpenAL.
Definition: VoiceAL.h:19
virtual Result loop(BWORD on)
Play current sound repeatedly.
Definition: VoiceAL.cc:136