Samsung silent mode issue | developer.brewmp.com Samsung silent mode issue | developer.brewmp.com

Developer

Samsung silent mode issue

Forums:

I have silent mode issue with samsung U470 and U410.
Even though the phone is set to silent mode, it plays game music and SFX.
I already use below code but it doesn't work on those device.
// device in silent mode issue
uint32 mode = 0;
int size = sizeof(mode);
int res = ISHELL_GetDeviceInfoEx(getShell(), AEE_DEVICEITEM_MANNER_MODE, &mode, &size);

if (mode == AEE_MANNER_MODE_SILENT)
{
return;
}
//device in silent mode

I check some other games and they don't have issue.
Please, if anyone knows how to fix this issue please let me know.

Thanks,

gysudo wrote:I have silent mode issue with samsung U470 and U410.
Even though the phone is set to silent mode, it plays game music and SFX.
I already use below code but it doesn't work on those device.
// device in silent mode issue
uint32 mode = 0;
int size = sizeof(mode);
int res = ISHELL_GetDeviceInfoEx(getShell(), AEE_DEVICEITEM_MANNER_MODE, &mode, &size);
if (mode == AEE_MANNER_MODE_SILENT)
{
return;
}
//device in silent mode
I check some other games and they don't have issue.
Please, if anyone knows how to fix this issue please let me know.
Thanks,
you should check for AEE_MANNER_MODE_SILENT & AEE_MANNER_MODE_VIBRATE.

gysudo wrote:I have silent mode issue with samsung U470 and U410.
Even though the phone is set to silent mode, it plays game music and SFX.
I already use below code but it doesn't work on those device.
// device in silent mode issue
uint32 mode = 0;
int size = sizeof(mode);
int res = ISHELL_GetDeviceInfoEx(getShell(), AEE_DEVICEITEM_MANNER_MODE, &mode, &size);
if (mode == AEE_MANNER_MODE_SILENT)
{
return;
}
//device in silent mode
I check some other games and they don't have issue.
Please, if anyone knows how to fix this issue please let me know.
Thanks,
you should check for AEE_MANNER_MODE_SILENT & AEE_MANNER_MODE_VIBRATE.