changed SoundEngine::ReadSound back to a TArray.
This commit is contained in:
parent
41573df58f
commit
54fb37e39e
3 changed files with 8 additions and 5 deletions
|
|
@ -1141,7 +1141,7 @@ SoundHandle OpenALSoundRenderer::LoadSound(uint8_t *sfxdata, int length, int def
|
|||
return retval;
|
||||
}
|
||||
|
||||
std::vector<uint8_t> data;
|
||||
TArray<uint8_t> data;
|
||||
unsigned total = 0;
|
||||
unsigned got;
|
||||
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ private:
|
|||
|
||||
// Checks if a copy of this sound is already playing.
|
||||
bool CheckSingular(FSoundID sound_id);
|
||||
virtual std::vector<uint8_t> ReadSound(int lumpnum) = 0;
|
||||
virtual TArray<uint8_t> ReadSound(int lumpnum) = 0;
|
||||
|
||||
protected:
|
||||
virtual bool CheckSoundLimit(sfxinfo_t* sfx, const FVector3& pos, int near_limit, float limit_range, int sourcetype, const void* actor, int channel, float attenuation);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue