1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 12:12:50 +01:00

cellMic: Wake up upon registering emulated SingStar microphone

When using the emulated SingStar microphone, the device is only
registered when initializing `cellMic`. However, the `mic_context`
thread is only woken up when calling `register_device`. The registration
happens before initializing `cellMic`, so the thread is never woken up
after registering the device.

Add call to `wake_up` in `load_config_and_init` inside the emulated
SingStar microphone specific code to fix this issue, allowing the thread
to detect the device and update the microphone data.

This allows SingStar to receive the microphone data when using the
emulated SingStar microphone that it previously wasn't receiving.
This commit is contained in:
Daniel López Guimaraes 2024-07-25 22:02:09 +01:00 committed by Elad Ashkenazi
parent 27047bb3dc
commit 501e9260b2

View File

@ -149,6 +149,8 @@ void mic_context::load_config_and_init()
{
device.add_device(device_list[1]);
}
wake_up();
}
else
{