22#ifndef HOLLYWOOD_RUNAWAY_AUDIO_H
23#define HOLLYWOOD_RUNAWAY_AUDIO_H
25#include "hollywood/sound.h"
33 void setMuseum(
bool museum) { _museum = museum; }
34 void setChapter(
byte chapter);
35 void playIntroMusic(uint16 cue = 2);
36 uint32 playMusic(uint16 cue,
bool loop =
true);
38 void setMusicVolume(
byte volume);
39 void setListenerPosition(
int x);
40 int listenerPosition()
const {
return _listenerX; }
41 uint32 playSpeech(uint16 sample,
bool global =
false);
42 void playBackgroundSpeech(uint16 sample,
byte channel);
51 void stopEffect(
byte channel);
52 bool musicPlaying()
const;
53 bool speechPlaying()
const;
54 bool effectPlaying(
byte channel = 0)
const;
57 void playEffect(uint16 cue,
byte volume,
byte channel,
bool loop,
const Common::Point *position);
58 uint32 play(
const char *archive, uint16 cue, uint tableCount,
bool pairedTables,
64 SoundChannel _music, _speech, _effects[3], _footsteps[14], _pointer;
@ kMaxChannelVolume
Definition: mixer.h:82
SoundType
Definition: mixer.h:73