mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-02 14:57:59 +03:00
Made separate tests for audiere and openal. Fixed segfault. Everything is peachy.
This commit is contained in:
parent
56f9daed96
commit
f8d3a35cf8
9 changed files with 140 additions and 8 deletions
|
@ -135,6 +135,8 @@ void AudiereSource::setup()
|
|||
int channels, rate;
|
||||
sample->getFormat(channels, rate, fmt);
|
||||
|
||||
pullSize = 0;
|
||||
|
||||
// Calculate the size of one frame
|
||||
frameSize = GetSampleSize(fmt) * channels;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue