22#ifndef BLADERUNNER_AUDIO_SPEECH_H
23#define BLADERUNNER_AUDIO_SPEECH_H
25#include "bladerunner/bladerunner.h"
27#include "common/str.h"
28#include "common/types.h"
30namespace BladeRunner {
32class BladeRunnerEngine;
35 static const int kBufferSize = 200000;
36 static const int kSpeechSamples[];
40 int _speechVolumeFactorOriginalEngine;
51 bool isPlaying()
const;
53 bool playSpeechLine(
int actorId,
int sentenceId,
int volume,
int a4,
int priority);
55#if BLADERUNNER_ORIGINAL_SETTINGS
56 void setVolume(
int volume);
57 int getVolume()
const;
63 static void mixerChannelEnded(
int channel,
void *data);
Definition: audio_speech.h:34
Definition: bladerunner.h:113