Remove mutex class and use std

This commit is contained in:
Ilusha 2024-01-17 22:42:48 +03:00 committed by Ilya Shurupov
parent b26310439d
commit 0b63045503
5 changed files with 5 additions and 22 deletions

View file

@ -1,6 +1,5 @@
#include "Player.hpp"
#include "Buffer.hpp"
#include "Multithreading.hpp"
#include "portaudio.h"
@ -125,7 +124,7 @@ private:
private:
bool mInitializationStatus = false;
PaStream* mPaStream = nullptr;
tp::Mutex mMutex;
std::mutex mMutex;
const tp::halnf* mBuffer = nullptr;
const tp::ualni* mPointerMax = nullptr;