psi29a
5a27d6eed7
Merge branch 'fix-ffmpeg-api-const' into 'master'
...
Fix future FFMpeg API changes
See merge request OpenMW/openmw!922
(cherry picked from commit 3794e6d4b20b6c9f47aeaf3f937118c49de700e5)
70a02290 Fix future FFMpeg API changes
4 years ago
Andrei Kortunov
963e1b8b3f
Fix MSVC's C4244 warnings
4 years ago
fredzio
efb241f1de
Use override instead of virtual
4 years ago
elsid
9275dd2dcb
Avoid virtual dispatch in SoundManager dtor
4 years ago
elsid
b0311ce9f1
Remove DEFAULT_OUTPUT macros
4 years ago
elsid
e30a59772c
Remove DEFAULT_DECODER macros
4 years ago
Gleb Mazovetskiy
1db7d2ec4e
Restore compatibility with FFMpeg < 57.80.100
...
This should fix macOS Travis build broken by 58d33aa95b
4 years ago
Gleb Mazovetskiy
58d33aa95b
AV: Fix all memory leaks
...
The most substantial memory leak came from `PacketQueue::get`
not unreferencing its argument packet.
Other leaks came from using `av_free` instead of type-specific free
functions.
Also modifies `PacketQueue::put` for readability.
4 years ago
elsid
a6aba83741
Remove redundant SoundManager::lookupSound and loadSound
4 years ago
elsid
e4cce88142
Replace std::tie by structured binding
4 years ago
elsid
90c8e77e2c
Remove redundant default Sound_Buffer fields initialization
4 years ago
elsid
24f8a2db27
Use perfect forwarding in Sound_Buffer ctor
4 years ago
elsid
944033db4e
Separate sound buffer pool from sound manager
4 years ago
Andrei Kortunov
8084a336b5
Replace zeroes and nulls by nullptrs
4 years ago
Alexei Dobrohotov
53f91a3aa5
Merge pull request #3018 from akortunov/emplace
...
Use emplace_back instead of push_back
4 years ago
Andrei Kortunov
64ba81ecf2
Fix some issues, found by CoverityScan
4 years ago
unknown
eae9eafb8c
Merge branch 'master' of gitlab.com:OpenMW/openmw into regionsounds
4 years ago
unknown
eebb320916
Wait for the previous sound to stop
4 years ago
Bret Curtis
f6bead88a9
purge boost/optional.hpp headers
4 years ago
Bret Curtis
62b0781f7d
use std::optional instead of boost::optional
4 years ago
unknown
1ce296aa7f
Use fallback values for region sounds and fix probability
4 years ago
Andrei Kortunov
065ed5138e
Use emplace_back instead of push_back
4 years ago
Andrei Kortunov
8ca3c3b123
Mark overrided methods by override keyword
4 years ago
elsid
9240833bda
Init sound by a single object
5 years ago
elsid
1c9ce03575
Lookup sound when need to fade out
5 years ago
elsid
624baa6d89
Check distance to object before load sound
5 years ago
Bret Curtis
67c2f0b26c
Merge pull request #2951 from elsid/sound_object_pool
...
Store SoundManager sounds and streams in object pool
5 years ago
Bret Curtis
0c2fea8254
Merge pull request #2932 from elsid/replace_open_threads
...
Replace OpenThreads by std types
5 years ago
elsid
02f9b44f01
Use RAII for object ptr from pool
5 years ago
elsid
6ca29c6107
Use common type for pool of sounds and streams
5 years ago
elsid
b424aac25e
Choose next action for water sound in a separate function
5 years ago
elsid
080b0d6319
Remove unused duration from updateWaterSound
5 years ago
elsid
6ab1a1f907
Make last cell a field of SoundManager and initialize
5 years ago
elsid
3fa1e7ebaf
Make time passed SoundManager field
5 years ago
elsid
a36a55bfb5
Clamp sound volume on settings update
5 years ago
elsid
439891ef53
Put logic to update water sound id and volume into a separate class
5 years ago
Bret Curtis
3d7f8a573a
Merge pull request #2941 from elsid/lookup_stop_sound
...
Lookup sound when need to stop
5 years ago
elsid
0594b7d1a0
Put logic for the next region sound selection into a separate class
5 years ago
elsid
02587ed1e9
Remove unused SoundManager::stopSound overload
5 years ago
elsid
0ff5e9bfb9
Lookup sound when need to stop
...
Instead of loading.
5 years ago
elsid
40ad87bc4d
Replace OpenThreads by std types
5 years ago
Capostrophic
4a2fd1e140
Revert the changes for "bug" #4551
5 years ago
Andrei Kortunov
e444766901
Use enums for blockers IDs instead of strings
5 years ago
Andrei Kortunov
2254256db9
Pause both audio and video playback when the game is minimized (feature #4944 )
5 years ago
Andrei Kortunov
3d6fd2818f
Support for per-type sound blockers
5 years ago
elsid
f156c9522e
Avoid virtual call in SoundManager dtor
5 years ago
elsid
b4794e8ca5
Avoid virtual call in OpenAL_Output dtor
...
/home/elsid/dev/openmw/apps/openmw/mwsound/openal_output.cpp:1492:5: warning: Call to virtual function during destruction [clang-analyzer-optin.cplusplus.VirtualCall]
deinit();
^
/home/elsid/dev/openmw/apps/openmw/mwsound/openal_output.cpp:1492:5: note: This destructor of an object of type '~OpenAL_Output' has not returned when the virtual method was called
/home/elsid/dev/openmw/apps/openmw/mwsound/openal_output.cpp:1492:5: note: Call to virtual function during destruction
5 years ago
Andrei Kortunov
2fc819cdae
Encode ID's in all places to UTF-8 (bug #3977 )
5 years ago
Andrei Kortunov
d58f93f388
Use sayDone() only for scripting backward compatibility
5 years ago
capostrophic
f779529cab
Change the default reverb preset to improve underwater FX transition
5 years ago