File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/CSFBAudioEngine/Player Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ void AVAudioSessionInterruptionNotificationCallback(CFNotificationCenterRef cent
298298{
299299 const auto isRunning = engine_.isRunning ;
300300#if DEBUG
301- assert (static_cast <bool >(flags_.load (std::memory_order_acquire) & static_cast <unsigned int >(Flags::engineIsRunning)) == isRunning && " Cached value for mEngine .isRunning invalid" );
301+ assert (static_cast <bool >(flags_.load (std::memory_order_acquire) & static_cast <unsigned int >(Flags::engineIsRunning)) == isRunning && " Cached value for engine_ .isRunning invalid" );
302302#endif /* DEBUG */
303303 return isRunning;
304304}
@@ -525,7 +525,7 @@ void AVAudioSessionInterruptionNotificationCallback(CFNotificationCenterRef cent
525525 // However, Flags::engineIsRunning indicates if the engine was running before the interruption
526526 if (flags_.load (std::memory_order_acquire) & static_cast <unsigned int >(Flags::engineIsRunning)) {
527527 flags_.fetch_and (~static_cast <unsigned int >(Flags::engineIsRunning), std::memory_order_acq_rel);
528- if (NSError *error = nil ; ![mEngine startAndReturnError: &error]) {
528+ if (NSError *error = nil ; ![engine_ startAndReturnError: &error]) {
529529 os_log_error (sLog , " Error starting AVAudioEngine: %{public}@" , error);
530530 return ;
531531 }
You can’t perform that action at this time.
0 commit comments