mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
LV2_LOCK removed
This commit is contained in:
parent
eebd48e51d
commit
bf6854d121
5 changed files with 21 additions and 53 deletions
|
|
@ -274,7 +274,7 @@ void audio_config::on_task()
|
|||
|
||||
// send aftermix event (normal audio event)
|
||||
|
||||
LV2_LOCK;
|
||||
semaphore_lock lock(mutex);
|
||||
|
||||
for (u64 key : keys)
|
||||
{
|
||||
|
|
@ -702,7 +702,7 @@ s32 cellAudioSetNotifyEventQueue(u64 key)
|
|||
return CELL_AUDIO_ERROR_NOT_INIT;
|
||||
}
|
||||
|
||||
LV2_LOCK;
|
||||
semaphore_lock lock(g_audio->mutex);
|
||||
|
||||
for (auto k : g_audio->keys) // check for duplicates
|
||||
{
|
||||
|
|
@ -737,7 +737,7 @@ s32 cellAudioRemoveNotifyEventQueue(u64 key)
|
|||
return CELL_AUDIO_ERROR_NOT_INIT;
|
||||
}
|
||||
|
||||
LV2_LOCK;
|
||||
semaphore_lock lock(g_audio->mutex);
|
||||
|
||||
for (auto i = g_audio->keys.begin(); i != g_audio->keys.end(); i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue