IdManager improved, atomic_t improved

Various changes
This commit is contained in:
Nekotekina 2015-05-27 06:11:59 +03:00
parent cdf70e0b77
commit 22b78fec71
69 changed files with 4304 additions and 4098 deletions

View file

@ -760,7 +760,7 @@ void SPUThread::set_ch_value(u32 ch, u32 value)
LV2_LOCK;
const auto ef = Emu.GetIdManager().GetIDData<event_flag_t>(data);
const auto ef = Emu.GetIdManager().get<lv2_event_flag_t>(data);
if (!ef)
{
@ -806,7 +806,7 @@ void SPUThread::set_ch_value(u32 ch, u32 value)
LV2_LOCK;
const auto ef = Emu.GetIdManager().GetIDData<event_flag_t>(data);
const auto ef = Emu.GetIdManager().get<lv2_event_flag_t>(data);
if (!ef)
{
@ -1054,7 +1054,7 @@ void SPUThread::stop_and_signal(u32 code)
LV2_LOCK;
std::shared_ptr<event_queue_t> queue;
std::shared_ptr<lv2_event_queue_t> queue;
for (auto& v : this->spuq)
{