mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Warn only once about positional stereo sounds (#13895)
This commit is contained in:
parent
6fdc7e0dad
commit
6026003508
2 changed files with 7 additions and 1 deletions
|
@ -77,6 +77,9 @@ private:
|
|||
// if true, all sounds will be directly paused after creation
|
||||
bool m_is_paused = false;
|
||||
|
||||
// used for printing warnings only once
|
||||
std::unordered_set<std::string> m_warned_positional_stereo_sounds;
|
||||
|
||||
public:
|
||||
// used for communication with ProxySoundManager
|
||||
MutexedQueue<SoundManagerMsgToMgr> m_queue_to_mgr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue