| 68 | } |
| 69 | |
| 70 | static void resumeAudioDevice() |
| 71 | { |
| 72 | AXLOGD("{}", "===> resumeAudioDevice"); |
| 73 | #if AX_USE_ALSOFT |
| 74 | alcDeviceResumeSOFT(s_ALDevice); |
| 75 | #else |
| 76 | if (alcGetCurrentContext()) |
| 77 | alcMakeContextCurrent(nullptr); |
| 78 | alcMakeContextCurrent(s_ALContext); |
| 79 | #endif |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | #if AX_TARGET_PLATFORM == AX_PLATFORM_IOS |
no test coverage detected